PT-2026-167173

CVE-2026-143315

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci sync: Copy the LE accept list under hdev->lock
The LE accept-list mirror consists of bdaddr list entries that are added, removed and freed under hdev->lock. The ordinary branch of hci update accept list sync() traverses this list without that lock. The request worker's req lock does not serialize raw HCI completions, and the RCU sections protect connection and pending-action lookups, not the accept-list nodes.
Changing connectability can reach this iterator through set connectable sync(), hci update connectable sync(), hci update passive scan sync() and hci passive scan sync(). With a populated mirror, a privileged raw HCI sender can issue HCI OP LE CLEAR ACCEPT LIST while request work is reconciling it:
Request work HCI event work select b and successor t hci cc le clear accept list() hci dev lock(hdev) hci bdaddr list clear() unlink nodes and kfree(b) hci dev unlock(hdev) read b->bdaddr type
The clear completion can therefore free the selected node before its field read, or the saved successor before the iterator advances. KASAN reported a one-byte read of bdaddr type from the freed node.
Copy each entry's address and type under hdev->lock and reconcile the private array instead. Release the mutex before issuing synchronous commands, since their completion handlers also acquire it. Free the copy after iteration and use the existing error path to disable accept-list filtering if allocation fails.
This change has not been runtime-tested.
KASAN report as below:
================================================================== BUG: KASAN: slab-use-after-free in hci passive scan sync+0x1cc4/0x1f80 Read of size 1 at addr ffff888105ee6c56 by task kworker/u17:1/499
Workqueue: hci0 hci cmd sync work Call Trace: dump stack lvl+0x93/0xd0 print report+0xce/0x630 ? hci passive scan sync+0x1cc4/0x1f80 ? srso alias return thunk+0x5/0xfbef5 ? virt addr valid+0x20d/0x410 ? hci passive scan sync+0x1cc4/0x1f80 kasan report+0xe0/0x110 ? hci passive scan sync+0x1cc4/0x1f80 hci passive scan sync+0x1cc4/0x1f80 ? pmbd gate site armed+0x31/0x1c0 ? pfx hci passive scan sync+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? pmbd probe hit cookie+0x10/0x1c0 ? pfx pmbd probe hit cookie+0x10/0x10 ? hci update passive scan sync+0x43f/0x9e0 ? srso alias return thunk+0x5/0xfbef5 ? lock release+0xc8/0x280 hci update passive scan sync+0x473/0x9e0 hci update connectable sync+0x13c/0x250 set connectable sync+0x39/0xb0 hci cmd sync work+0x1b3/0x450 ? srso alias return thunk+0x5/0xfbef5 process one work+0x908/0x19c0 ? pfx process one work+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? lock is held type+0x8f/0x100 ? srso alias return thunk+0x5/0xfbef5 worker thread+0x65c/0xe40 ? pfx worker thread+0x10/0x10 kthread+0x34f/0x460 ? srso alias return thunk+0x5/0xfbef5 ? pfx kthread+0x10/0x10 ret from fork+0x659/0x940 ? pfx ret from fork+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? switch to+0x74f/0xf80 ? pfx kthread+0x10/0x10 ret from fork asm+0x1a/0x30
Allocated by task 511: kasan save stack+0x33/0x60 kasan save track+0x14/0x30 kasan kmalloc+0xaa/0xb0 kmalloc cache noprof+0x251/0x610 hci bdaddr list add+0x179/0x390 hci cc le add to accept list+0x189/0x2d0 hci cmd complete evt+0x373/0xab0 hci event packet+0x4e8/0xc70 hci rx work+0x367/0xf00 process one work+0x908/0x19c0 worker thread+0x65c/0xe40 kthread+0x34f/0x460 ret from fork+ ---truncated---
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾