CVE-2024-35967·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: SCO: Fix not validating setsockopt user input syzbot reported sco_sock_setsockopt() is copying data without checking user input length. BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in sco_sock_setsockopt+0xc0b/0xf90 net/bluetooth/sco.c:893 Read of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.7
- Published
- 2024-05-20
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 the Bluetooth SCO socket option validation flaw. This vulnerability allows local users with socket privileges to trigger out-of-bounds memory reads by passing improperly sized data to setsockopt() calls. Immediate patching is recommended for systems where unprivileged users can access Bluetooth socket interfaces.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check kernel version with `uname -r` — vulnerable if output shows 6.7.x through 6.8.6
- Step 2: Verify Bluetooth subsystem is loaded with `lsmod | grep -i bluetooth` — if output is empty, vulnerability is not exposed
- Step 3: Search kernel logs for KASAN errors using `sudo dmesg | grep -i 'slab-out-of-bounds\|sco_sock_setsockopt'` — exploitation attempts may trigger memory sanitizer warnings
- Step 4: After patching, confirm new kernel version with `uname -r` and verify it shows 6.8.7 or later; reboot if necessary
FAQ
What is CVE-2024-35967?
CVE-2024-35967 is a local privilege escalation flaw in the Linux kernel's Bluetooth SCO (Synchronous Connection Oriented) socket handler where user input length validation is missing during setsockopt() operations, enabling out-of-bounds memory access.
Is CVE-2024-35967 being actively exploited?
No, CVE-2024-35967 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploit code is currently available.
What versions of Kernel are affected by CVE-2024-35967?
Linux kernel versions 6.7.0 through 6.8.6 are vulnerable; version 6.8.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-35967?
Run `uname -r` and check if output is between 6.7 and 6.8.6; additionally verify Bluetooth is enabled with `lsmod | grep bluetooth` — if either condition is false, your system is not vulnerable.
Does Defensia detect CVE-2024-35967?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-35967 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2c2dc87cdebef3fe3b9d7a711a984c70e376e32e
- https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7
- https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01
- https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c
- https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-35967. Free for 1 server.
Get started free