Critical Vulnerability in Linux Kernel: Improper Handling of MPTCP Options
Summary
CVE-2024-35840: 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... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It supports various functionalities, including process management, memory management, and networking. The kernel's Modular TCP (MPTCP) feature allows for multiple paths to be used for a single TCP connection, enhancing performance and reliability. However, a recent vulnerability has been identified that affects the handling of MPTCP options, potentially leading to security risks.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the subflow_finish_connect() function, which improperly uses four fields (backup, join_id, thmac, none) that may contain garbage values unless the OPTION_MPTCP_MPJ_SYNACK has been set in the mptcp_parse_option() function. This oversight can lead to unpredictable behavior, including potential data corruption or unauthorized access, as the kernel may operate on invalid data.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, no specific workaround is provided for this vulnerability. The best course of action is to apply the recommended updates as soon as they are available.
Conclusion
The CVE-2024-35840 vulnerability in the Linux kernel poses significant risks due to improper handling of MPTCP options. Users are strongly advised to update their systems to the latest kernel version to mitigate these risks. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for linux →
FAQ
CVE-2024-35840 is a vulnerability in the Linux kernel related to improper handling of MPTCP options, which can lead to unpredictable behavior.
You can use Vulert, which monitors and alerts for open-source vulnerabilities. By uploading your manifest file like package-lock.json, you can check if your application is affected by this vulnerability.
The risks include data corruption, unauthorized access, and system instability due to the kernel operating on invalid data.
Yes, patches have been released for Debian 11, 12, and 13. Users should update their systems to the latest kernel version to mitigate the risk.
While there are no specific workarounds, it is crucial to prioritize updating your kernel as soon as possible to protect against this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for linux.