KernelScan.io

HIGH Introduced in 3.17

bluetooth mgmt OOB

CVE-2026-98456

CVSS 7.0 / 10.0 NVD

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.0HIGH

01

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.

02

Engine v0.9.0

Risk summary

A local user with access to the Bluetooth management socket can trigger an out-of-bounds write in the kernel by racing a controller's asynchronous setup state transition. This can lead to kernel memory corruption, enabling privilege escalation or denial of service. The vulnerability is reachable from unprivileged user namespaces where CAP_NET_ADMIN is available.

Affectednet/bluetooth/mgmt.c (Bluetooth mgmt subsystem)

Vulnerability analysis

The read_unconf_index_list() function in the Bluetooth management interface counts unconfigured controllers while holding a lock, then allocates a response buffer based on that count, and finally iterates the list again to fill the buffer. The lock protects list membership but not per-device flags. During the window between the two passes, a controller's setup worker can change its flags from configured to unconfigured, making it eligible for the fill pass even though it was not counted. This causes the fill loop to write past the end of the allocated buffer. The fix allocates space for every controller on the list, which is stable under the lock, ensuring the buffer is always large enough regardless of flag transitions. The reported count and response length still reflect only eligible unconfigured controllers. An attacker with local access and CAP_NET_ADMIN (obtainable in a user namespace) can trigger this by opening a management socket and issuing the Read Unconfigured Index List command while racing controller setup.

03

BranchIntroducedFixed inPatch commit
5.103.175.10.273fa6f79bb0009
5.153.175.15.22476dc7e0297f6
6.13.176.1.1919c32455f490b
6.123.176.12.1128ddf962c7643
6.183.176.18.55416546cd6a54
6.63.176.6.158524e0450dd9a
7.23.177.2.92e8bba0360d1
mainline3.177.3b5dbb41b212c
cip/6.123.176.12.112-cip338ddf962c7643

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip136)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)