CVE-2024-35894: mptcp: prevent BPF accessing lowat from a subflow socket.
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/0x50
__sys_connect+0x63/0x90
__x64_sys_connect+0x14/0x20
The root cause of the issue is that bpf allows accessing mptcp-level
proto_ops from a tcp subflow scope.
Fix the issue detecting the problematic call and preventing any action.
Security readout for executives and security teams
Plain-English summary
A Linux kernel flaw allows low-privileged local code to trigger an invalid interaction between BPF socket operations and MPTCP subflows. It is not described as remotely reachable. Although scored 7.8 with potentially high impacts, the supplied evidence demonstrates a kernel warning rather than confirmed compromise.
Executive priority
Treat this as a high-priority local privilege-boundary issue, especially on shared or multi-tenant Linux infrastructure. Patch through supported vendor channels promptly. It does not warrant the same emergency response as an actively exploited, unauthenticated internet-facing vulnerability based on current evidence.
Technical view
BPF can access MPTCP-level protocol operations while operating within a TCP subflow scope. A receive low-water-mark operation can reach an invalid MPTCP path and produce a kernel warning. The referenced kernel changes detect this problematic call and prevent the action.
Likely exposure
Most relevant to Linux hosts running affected kernels where low-privileged local users or workloads can exercise applicable BPF socket operations with MPTCP. The supplied metadata names versions 6.7, 6.8.5, and 6.9, but precise affected ranges are ambiguous. Confirm distributor backports rather than relying only on version numbers.
Exploitation context
The CVSS vector describes a local, low-complexity attack requiring low privileges and no user interaction. The CVE is not listed as KEV, and the supplied sources do not report active exploitation or a public weaponized exploit. Practical confidentiality, integrity, and availability impact is not demonstrated in the bundle.
Researcher notes
The evidence shows a kernel warning path during a BPF socket-option operation on an MPTCP connection. It does not explain how the scored high confidentiality, integrity, and availability impacts are achieved, and no CWE is supplied. Treat exploitation mechanics and practical impact as unproven from this bundle; use the referenced commits for code-level validation.
Mitigation direction
Update to a vendor-supported kernel containing the applicable referenced stable fix.
Check Linux distributor guidance because security fixes may be backported without changing the apparent upstream version.
Prioritize untrusted-user, shared-hosting, container, and multi-tenant systems until their patch status is confirmed.
Review the NetApp advisory separately for applicability to managed NetApp products.
Validation and detection
Inventory running kernel versions across Linux hosts and appliances.
Verify package changelogs or vendor advisories explicitly resolve CVE-2024-35894 or include an applicable fix commit.
Confirm the corrected kernel is running after update and any required restart.
Identify unpatched systems permitting local workloads to use relevant BPF and MPTCP functionality.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-35894 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.