{"id":"CVE-2024-42132","summary":"bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX\n\nSyzbot hit warning in hci_conn_del() caused by freeing handle that was\nnot allocated using ida allocator.\n\nThis is caused by handle bigger than HCI_CONN_HANDLE_MAX passed by\nhci_le_big_sync_established_evt(), which makes code think it's unset\nconnection.\n\nAdd same check for handle upper bound as in hci_conn_set_handle() to\nprevent warning.","modified":"2026-04-16T04:35:07.486054763Z","published":"2024-07-30T07:46:27.684Z","related":["SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42132.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1cc18c2ab2e8c54c355ea7c0423a636e415a0c23"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d311036696fed778301d08a71a4bef737b86d8c5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42132.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42132"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"84cb0143fb8a03bf941c7aaedd56c938c99dafad"},{"fixed":"4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"181a42edddf51d5d9697ecdf365d72ebeab5afb0"},{"fixed":"d311036696fed778301d08a71a4bef737b86d8c5"},{"fixed":"1cc18c2ab2e8c54c355ea7c0423a636e415a0c23"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"e9f708beada55426c8d678e2f46af659eb5bf4f0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-42132.json"}}],"schema_version":"1.7.5"}