What’s Vulnerable › Vulnerabilities

CVE-2024-42132: bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX

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

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

Get alerted when CVE-2024-42132 or the next vulnerability affects your stack