CVE-2024-35840
mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f296234c98a8fcec94eec80304a873f635d350ea, < 413b913507326972135d2977975dbff8b7f2c453; >= f296234c98a8fcec94eec80304a873f635d350ea, < 51e4cb032d49ce094605f27e45eabebc0408893c; >= f296234c98a8fcec94eec80304a873f635d350ea, < ad3e8f5c3d5c53841046ef7a947c04ad45a20721; >= f296234c98a8fcec94eec80304a873f635d350ea, < 76e8de7273a22a00d27e9b8b7d4d043d6433416a; >= f296234c98a8fcec94eec80304a873f635d350ea, < be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb
- Anyone running Linux 5.7
Vulnerability facts
- Affected
- Linux >= f296234c98a8fcec94eec80304a873f635d350ea, < 413b913507326972135d2977975dbff8b7f2c453; >= f296234c98a8fcec94eec80304a873f635d350ea, < 51e4cb032d49ce094605f27e45eabebc0408893c; >= f296234c98a8fcec94eec80304a873f635d350ea, < ad3e8f5c3d5c53841046ef7a947c04ad45a20721; >= f296234c98a8fcec94eec80304a873f635d350ea, < 76e8de7273a22a00d27e9b8b7d4d043d6433416a; >= f296234c98a8fcec94eec80304a873f635d350ea, < be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb; Linux 5.7
- Fixed in
- Linux 413b913507326972135d2977975dbff8b7f2c453, Linux 51e4cb032d49ce094605f27e45eabebc0408893c, Linux 76e8de7273a22a00d27e9b8b7d4d043d6433416a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect() subflow_finish_connect() uses four fields (backup, join_id, thmac, none) that may contain garbage unless OPTION_MPTCP_MPJ_SYNACK has been set in mptcp_parse_option()
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f296234c98a8fcec94eec80304a873f635d350ea, < 413b913507326972135d2977975dbff8b7f2c453; >= f296234c98a8fcec94eec80304a873f635d350ea, < 51e4cb032d49ce094605f27e45eabebc0408893c; >= f296234c98a8fcec94eec80304a873f635d350ea, < ad3e8f5c3d5c53841046ef7a947c04ad45a20721; >= f296234c98a8fcec94eec80304a873f635d350ea, < 76e8de7273a22a00d27e9b8b7d4d043d6433416a; >= f296234c98a8fcec94eec80304a873f635d350ea, < be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb | — | cvelist |
| Linux | 5.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-35840. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-35840.md Affected: Linux >= f296234c98a8fcec94eec80304a873f635d350ea, < 413b913507326972135d2977975dbff8b7f2c453; >= f296234c98a8fcec94eec80304a873f635d350ea, < 51e4cb032d49ce094605f27e45eabebc0408893c; >= f296234c98a8fcec94eec80304a873f635d350ea, < ad3e8f5c3d5c53841046ef7a947c04ad45a20721; >= f296234c98a8fcec94eec80… Fixed in: Linux 413b913507326972135d2977975dbff8b7f2c453, Linux 51e4cb032d49ce094605f27e45eabebc0408893c, Linux 76e8de7273a22a00d27e9b8b7d4d043d6433416a Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/413b913507326972135d2977975dbff8b7f2c453
- https://git.kernel.org/stable/c/51e4cb032d49ce094605f27e45eabebc0408893c
- https://git.kernel.org/stable/c/ad3e8f5c3d5c53841046ef7a947c04ad45a20721
- https://git.kernel.org/stable/c/76e8de7273a22a00d27e9b8b7d4d043d6433416a
- https://git.kernel.org/stable/c/be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb
FAQ
Is CVE-2024-35840 being exploited?
There is no confirmed exploitation: CVE-2024-35840 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-35840?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-35840?
Linux >= f296234c98a8fcec94eec80304a873f635d350ea, < 413b913507326972135d2977975dbff8b7f2c453; >= f296234c98a8fcec94eec80304a873f635d350ea, < 51e4cb032d49ce094605f27e45eabebc0408893c; >= f296234c98a8fcec94eec80304a873f635d350ea, < ad3e8f5c3d5c53841046ef7a947c04ad45a20721; >= f296234c98a8fcec94eec80304a873f635d350ea, < 76e8de7273a22a00d27e9b8b7d4d043d6433416a; >= f296234c98a8fcec94eec80304a873f635d350ea, < be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb; Linux 5.7.
Is there a fix for CVE-2024-35840?
Yes. Fixed in Linux 413b913507326972135d2977975dbff8b7f2c453, Linux 51e4cb032d49ce094605f27e45eabebc0408893c, Linux 76e8de7273a22a00d27e9b8b7d4d043d6433416a. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-35840?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.