CVE-2024-42132·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX Syzbot hit warning in hci_conn_del() caused by freeing handle that was not allocated using ida allocator. This is caused by handle bigger than HCI_CONN_HANDLE_MAX passed by hci_le_big_sync_established_evt(), which makes code think it's unset connection. Add same check for handle upper bound as in hci_conn_set_handle() to prevent warning.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.9.9
- Published
- 2024-07-30
Affected versions
From: 6.7
Until: 6.9.9
Fixed in: 6.9.9
How to fix this CVE
Update your Linux kernel to version 6.9.9 or later to resolve this Bluetooth HCI handle validation issue. The vulnerability allows invalid connection handles to bypass validation checks, potentially causing kernel warnings and stability issues. Apply the kernel update using your distribution's package manager and reboot the system to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check current kernel version: uname -r — verify it is NOT between 6.7 and 6.9.8
- Inspect Bluetooth subsystem status: systemctl status bluetooth and dmesg | grep -i bluetooth to identify any HCI-related errors
- Search kernel logs for HCI handle warnings: dmesg | grep -i 'hci_conn_del\|HCI_CONN_HANDLE' — presence of these messages indicates exploitation attempts or triggering of the vulnerable code path
- Verify the fix by checking if kernel version is 6.9.9 or higher: uname -r && if output shows 6.9.9+, the patch is applied
FAQ
What is CVE-2024-42132?
This is a Linux kernel Bluetooth subsystem vulnerability where the HCI (Host Controller Interface) layer fails to properly validate connection handle boundaries, allowing out-of-range handles to bypass allocation checks and trigger kernel warnings or memory corruption.
Is CVE-2024-42132 being actively exploited?
No, this vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog and no public exploits are currently available. However, the issue can be triggered via malformed Bluetooth events.
What versions of Kernel are affected by CVE-2024-42132?
Linux kernel versions 6.7 through 6.9.8 are vulnerable. Kernel 6.9.9 and later releases contain the fix.
How do I check if my server is vulnerable to CVE-2024-42132?
Run: uname -r — if the output is between 6.7 and 6.9.8 (inclusive), your system is vulnerable. Cross-reference against your distribution's kernel version mapping for precise patched releases.
Does Defensia detect CVE-2024-42132?
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-42132 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23
- https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4
- https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5
- https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23
- https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-42132. Free for 1 server.
Get started free