What’s Vulnerable › Vulnerabilities
CVE-2024-42132: bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-07-30 · updated 2026-08-04
- Weakness: CWE-763
Description
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.
Affected products
- Linux kernel: from 6.5.12 before 6.6; from 6.6.2 before 6.6.39; from 6.7 before 6.9.9; 6.10-rc1, 6.10-rc2, 6.10-rc3, 6.10-rc4, 6.10-rc5, 6.10-rc6 — fixed in 6.6, 6.6.39, 6.9.9
How to fix
Upgrade to a fixed version: Linux kernel 6.6, 6.6.39, 6.9.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23
- https://git.kernel.org/stable/c/2ae8d7742a09c275872e670c53337b3dcedaa11c
- 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
- https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5
Get alerted when CVE-2024-42132 or the next vulnerability affects your stack