CVE-2026-98456
JSON

7.0high

Bluetooth: mgmt: fix race in read_unconf_index_list()

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

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: mgmt: fix race in read_unconf_index_list() read_unconf_index_list() counts unconfigured controllers before allocating its response, then checks the device flags again while filling it. hci_dev_list_lock stabilizes list membership, but it does not serialize the per-device flags. During asynchronous controller setup, the worker can set HCI_UNCONFIGURED and clear HCI_SETUP between the two passes. A controller omitted from the allocation count can then become eligible for the fill pass, causing an out-of-bounds write to rp->index[]. Allocate space for every device on hci_dev_list. Since list membership cannot change while hci_dev_list_lock is held, the response remains large enough regardless of flag transitions. The reported count and response length still include only eligible unconfigured controllers.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 before fa6f79bb0009406bb11e6912b53ab7c564d6f06b, from 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 before 76dc7e0297f6f7ebefc36a69251e3f4a676d9853, from 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 before 9c32455f490b960efccedd041c7aabb1a04c5cc4, from 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 before 524e0450dd9a396f99a81b045219b0e2ea0dab57, from 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 before 8ddf962c76432a10a6cb80042875cbc48a9c056b, from 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 before 416546cd6a54e9b68f2b91bc680b1ee17dcd77a1, from 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 before 2e8bba0360d1379bfa8da47c8f5dadbb10a3fba1, from 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 before b5dbb41b212c50c095a4dbee3017a84fe94f033b and 1 more
Not affected: before 3.17, from 5.10.273 up to 5.10.*, from 5.15.224 up to 5.15.*, from 6.1.191 up to 6.1.*, from 6.6.158 up to 6.6.*, from 6.12.112 up to 6.12.*
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-98456 changed 2026-10-30CVE Terms of Use
NVDCVE-2026-98456 changed 2026-10-30Public domain