CVE-2024-35963·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sock: Fix not validating setsockopt user input Check user input length before copying data.
- 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 an input validation flaw in the Bluetooth HCI socket implementation. This vulnerability allows local attackers with socket privileges to trigger a denial of service or information disclosure by sending crafted setsockopt requests without proper length validation. Apply the kernel update through your distribution's package manager and reboot the system.
sudo dnf update kernel kernel-headers && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version and confirm if it falls within the 6.7 to 6.8.6 range
- Verify Bluetooth functionality is enabled with 'systemctl status bluetooth' to determine if the vulnerable hci_sock component is in active use
- Search kernel logs for Bluetooth-related errors using 'dmesg | grep -i bluetooth' or 'journalctl -u bluetooth' to identify potential exploitation attempts
- After patching, run 'uname -r' again to confirm the kernel has been updated to 6.8.7 or later, then verify with 'cat /proc/version'
FAQ
What is CVE-2024-35963?
CVE-2024-35963 is a kernel vulnerability in the Bluetooth HCI socket handler that fails to validate the length of user-supplied data in setsockopt operations, allowing local attackers to cause denial of service or leak kernel memory.
Is CVE-2024-35963 being actively exploited?
No, according to CISA's Known Exploited Vulnerabilities catalog, CVE-2024-35963 is not currently being actively exploited in the wild, and no public exploit code has been released.
What versions of Kernel are affected by CVE-2024-35963?
Kernel versions 6.7 through 6.8.6 are vulnerable. Version 6.8.7 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2024-35963?
Run 'uname -r' and check if your kernel version is between 6.7 and 6.8.6; if so, your system is vulnerable. The fix requires a kernel update to 6.8.7 or later.
Does Defensia detect CVE-2024-35963?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-35963 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0c18a64039aa3f1c16f208d197c65076da798137
- https://git.kernel.org/stable/c/50173882bb187e70e37bac01385b9b114019bee2
- https://git.kernel.org/stable/c/781f3a97a38a338bc893b6db7f9f9670bf1a9e37
- https://git.kernel.org/stable/c/b2186061d6043d6345a97100460363e990af0d46
- https://git.kernel.org/stable/c/50173882bb187e70e37bac01385b9b114019bee2
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-35963. Free for 1 server.
Get started free