Menu

Star on GitHub · 3.4k

CVE-2024-35894

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: mptcp: prevent BPF accessing lowat from a subflow socket.

Published May 19, 2024EPSS 0.22%

Overview

CVE-2024-35894 is a high-severity vulnerability. It was published on May 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

In the Linux kernel, the following vulnerability has been resolved:

mptcp: prevent BPF accessing lowat from a subflow socket.

Alexei reported the following splat:

WARNING: CPU: 32 PID: 3276 at net/mptcp/subflow.c:1430 subflow_data_ready+0x147/0x1c0

Modules linked in: dummy bpf_testmod(O) [last unloaded: bpf_test_no_cfi(O)]

CPU: 32 PID: 3276 Comm: test_progs Tainted: GO 6.8.0-12873-g2c43c33bfd23

Call Trace:

<TASK>

mptcp_set_rcvlowat+0x79/0x1d0

sk_setsockopt+0x6c0/0x1540

__bpf_setsockopt+0x6f/0x90

bpf_sock_ops_setsockopt+0x3c/0x90

bpf_prog_509ce5db2c7f9981_bpf_test_sockopt_int+0xb4/0x11b

bpf_prog_dce07e362d941d2b_bpf_test_socket_sockopt+0x12b/0x132

bpf_prog_348c9b5faaf10092_skops_sockopt+0x954/0xe86

__cgroup_bpf_run_filter_sock_ops+0xbc/0x250

tcp_connect+0x879/0x1160

tcp_v6_connect+0x50c/0x870

mptcp_connect+0x129/0x280

__inet_stream_connect+0xce/0x370

inet_stream_connect+0x36/0x50

bpf_trampoline_6442491565+0x49/0xef

inet_stream_connect+0x5/0x5

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-35894?

CVE-2024-35894 is a high-severity vulnerability. It was published on May 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-35894?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-35894?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-35894?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-35894 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all
LiveWatch live →