CVE-2024-35965·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix not validating setsockopt user input Check user input length before copying data.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.7
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — in the bottom 1% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2024-35965 scores 7.1 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.7
Until: 6.8.7
Fixed in: 6.8.7
How to fix this CVE
Update your Linux kernel to version 6.8.7 or later to patch an input validation flaw in the Bluetooth L2CAP subsystem. This vulnerability allows local attackers with limited privileges to cause denial of service or access sensitive kernel memory through improper socket option handling. Apply the kernel update immediately and reboot your system to activate the patched version.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — confirm version is 6.8.7 or later
- Verify Bluetooth and L2CAP modules are loaded: lsmod | grep -E 'bluetooth|l2cap' — if output shows modules, the vulnerable component is present
- Search kernel logs for Bluetooth socket option errors: journalctl -u kernel | grep -i 'l2cap\|setsockopt' — look for repeated failures or memory access warnings
- After patching, reboot and verify new kernel version: uname -r — confirm patch level is 6.8.7 or higher
FAQ
What is CVE-2024-35965?
This vulnerability exists in the Linux Bluetooth L2CAP (Logical Link Control and Adaptation Protocol) implementation where socket option parameters are not properly validated before copying user-supplied data into kernel memory. A local user with limited privileges can exploit this by sending malformed socket options to trigger information disclosure or system instability.
Is CVE-2024-35965 being actively exploited?
No, this vulnerability is not currently being actively exploited in the wild according to CISA data, and no public exploits are available. However, the local privilege requirement and high severity rating make it important to patch promptly.
What versions of Kernel are affected by CVE-2024-35965?
Linux kernel versions 6.7 through 6.8.6 are vulnerable. Version 6.8.7 and all later versions include the fix.
How do I check if my server is vulnerable to CVE-2024-35965?
Run 'uname -r' and compare the output to your kernel version. If it shows 6.7.x through 6.8.6, your system is vulnerable. Verify Bluetooth is active with 'systemctl status bluetooth' or check if l2cap module is loaded with 'lsmod | grep l2cap'.
Does Defensia detect CVE-2024-35965?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2024-35965 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/28234f8ab69c522ba447f3e041bbfbb284c5959a
- https://git.kernel.org/stable/c/4f3951242ace5efc7131932e2e01e6ac6baed846
- https://git.kernel.org/stable/c/8ee0c132a61df9723813c40e742dc5321824daa9
- https://git.kernel.org/stable/c/9d42f373391211c7c8af66a3a316533a32b8a607
- https://git.kernel.org/stable/c/f13b04cf65a86507ff15a9bbf37969d25be3e2a0
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-35965. Free for 1 server.
Get started free