CVE-2024-35840 mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()
A logic error in the Linux kernel MPTCP implementation could lead to undefined behavior when processing SYNACK options, requiring a kernel patch.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-35840?
CVE-2024-35840 is a medium-severity vulnerability in Linux kernel, published on 17 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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()
Which versions are affected by CVE-2024-35840?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-35840?
Apply the vendor's patch.
Is CVE-2024-35840 being exploited?
There is no known exploitation of CVE-2024-35840 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-35840, DEBIAN-CVE-2024-35840, GHSA-9268-35c3-9w2w, ROOT-OS-DEBIAN-11-CVE-2024-35840, UBUNTU-CVE-2024-35840.