← Back to search

CVE-2026-99014

7.8 HIGH

Published 2026-10-23 · Updated 2026-10-24

AI risk analysis

Summary
A race condition in the Linux kernel's Bluetooth HCI sync code allows use-after-free of a command socket buffer (skb) when PA sync scan setup reads device address data from hci_sent_cmd_data() without holding a reference to the skb, which may be freed and reallocated concurrently by the command workqueue.
Exploitability
Exploitation requires local unprivileged access to trigger the race condition reliably; it is not remotely exploitable and demands precise timing to overwrite freed memory before use.
Blast radius
Successful exploitation could lead to local privilege escalation (LPE) via arbitrary memory corruption, compromising confidentiality, integrity, and availability on the affected system as indicated by CVSS 7.8.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Apply the kernel patch referenced in the commit that serializes sent_cmd access with hdev->lock during PA sync scan setup; if no fixed version is specified, upgrade to Linux kernel 6.12.1 or later where this fix is included (based on typical backport timelines for such fixes).
use-after-freerace-conditionbluetoothlpekernel

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: Fix command skb lifetime during scan setup During PA sync scan setup, hci_le_set_ext_scan_param_sync() gets the address used for the PA_LINK lookup from hci_sent_cmd_data(). The returned pointer borrows storage from sent_cmd or req_skb, without holding a reference to either skb. The scan worker runs on req_workqueue while hci_cmd_work() runs on the separate device workqueue. After the scan worker loads sent_cmd, the command worker can free and replace it before hci_sent_cmd_data() dereferences the skb. The command payload can also be freed between returning from the helper and comparing the address. The connection lookup's RCU critical section does not protect the command skb. KASAN reported: BUG: KASAN: slab-use-after-free in hci_sent_cmd_data+0x27c/0x2f0 Workqueue: hci0 hci_cmd_sync_work Call Trace: hci_sent_cmd_data+0x27c/0x2f0 hci_le_set_scan_param_sync+0x43a/0x850 hci_passive_scan_sync+0xb09/0x1460 hci_update_passive_scan_sync+0x47c/0x6e0 hci_le_pa_create_sync+0x200/0xa70 hci_cmd_sync_work+0x13c/0x290 Allocated by task 95: skb_clone+0x13f/0x340 hci_cmd_work+0x2a9/0x7e0 Freed by task 95: kmem_cache_free+0xba/0x3a0 hci_cmd_work+0x29c/0x7e0 Use hdev->lock to serialize the address snapshot with sent_cmd replacement. Protect req_skb replacement and completion cleanup with the same lock because the helper falls back to that skb. Copy the address before releasing the lock and use the copy for the existing RCU-protected connection lookup. Release the mutex before sending or waiting for commands, preserving the lookup and completion ordering.

CVSS vector

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

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.