CVE-2024-42132
JSON

7.6high

bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX

Severity
7.6high CVSS:3.1 by Linux
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom f7e83f2278f06b577e3c92ea2f4e8e8c6fc72a8f before 2ae8d7742a09c275872e670c53337b3dcedaa11c, from 84cb0143fb8a03bf941c7aaedd56c938c99dafad before 4970e48f83dbd21d2a6a7cdaaafc2a71f7f45dc4, from 181a42edddf51d5d9697ecdf365d72ebeab5afb0 before d311036696fed778301d08a71a4bef737b86d8c5, from 181a42edddf51d5d9697ecdf365d72ebeab5afb0 before 1cc18c2ab2e8c54c355ea7c0423a636e415a0c23, e9f708beada55426c8d678e2f46af659eb5bf4f0, from 6.6.2 before 6.6.39, from 6.5.12 before 6.6, 6.7
Not affected: before 6.7, from 6.6.39 up to 6.6.*, from 6.9.9 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelfrom 6.5.12 before 6.6, from 6.6.2 before 6.6.39, from 6.7 before 6.9.9, 6.10NVD

All scores

Linux7.6high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Classification

CWE-763

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bluetooth/hci: no permitir configuración de identificador mayor que HCI_CONN_HANDLE_MAX Advertencia de activación de Syzbot en hci_conn_del() causada por la liberación del identificador que no se asignó mediante el asignador de ida. Esto se debe a un identificador mayor que HCI_CONN_HANDLE_MAX pasado por hci_le_big_sync_establecido_evt(), lo que hace que el código piense que es una conexión no configurada. Agregue la misma verificación para el límite superior del controlador que en hci_conn_set_handle() para evitar advertencias.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42132 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-42132 changed 2026-08-04Public domain