Bluetooth: mgmt: fix race in read_unconf_index_list() (Linux Linux)

CVE-2026-98456
HIGH 7.0

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 < fa6f79bb0009406bb11e6912b53ab7c564d6f06b ; affected 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 < 76dc7e0297f6f7ebefc36a69251e3f4a676d9853 ; affected 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 < 9c32455f490b960efccedd041c7aabb1a04c5cc4 ; affected 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 < 524e0450dd9a396f99a81b045219b0e2ea0dab57 ; affected 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 < 8ddf962c76432a10a6cb80042875cbc48a9c056b ; affected 73d1df2a7a1036a1f000e5f0ece6ade3e082b854 < 416546cd6a54e9b68f2b91bc680b1ee17dcd77a1
Linux · Linuxaffected 3.17 ; unaffected 0 < 3.17 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD