PT-2026-163414

CVE-2026-139373

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci sync: Protect IRK identity reads with RCU
hci le set privacy mode sync() needs the IRK returned by hci find irk by addr() to remain allocated until its identity address and type have been copied into the command. The finder drops its RCU read lock before returning this borrowed pointer, leaving the later field reads unprotected.
When a privacy-capable controller has a pending peer with address resolution and device privacy enabled, accept-list programming can reach this helper while management reloads the IRKs. The request worker holds hdev->req lock, whereas load irks() takes hdev->lock, allowing the following ordering:
Request worker Management / RCU reclaim hci le set privacy mode sync() hci find irk by addr() rcu read lock() find matching IRK rcu read unlock() return borrowed IRK load irks() hci dev lock(hdev) hci smp irks clear() list del rcu() kfree rcu() hci dev unlock(hdev) RCU grace period and IRK free read irk->addr type copy irk->bdaddr
The request then accesses a freed IRK. KASAN reports a one-byte use-after-free read of addr type on this path.
Keep an outer RCU read-side critical section across the lookup and both identity-field copies. The finder's nested unlock then leaves the IRK protected until the caller finishes copying it. Release RCU on a lookup miss and after copying the fields, before the synchronous HCI command can sleep.
KASAN report as below:
================================================================== BUG: KASAN: slab-use-after-free in hci le add accept list sync+0x90f/0x940 Read of size 1 at addr ffff88810aa6072c by task kworker/u17:0/493
Workqueue: hci0 hci cmd sync work Call Trace: dump stack lvl+0x93/0xd0 print report+0xce/0x630 ? hci le add accept list sync+0x90f/0x940 ? srso alias return thunk+0x5/0xfbef5 ? virt addr valid+0x20d/0x410 ? hci le add accept list sync+0x90f/0x940 kasan report+0xe0/0x110 ? hci le add accept list sync+0x90f/0x940 hci le add accept list sync+0x90f/0x940 ? pfx hci le add accept list sync+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? conn params copy+0x3a0/0x650 hci passive scan sync+0x8c9/0x1e80 ? pfx hci passive scan sync+0x10/0x10 ? find held lock+0x2b/0x80 ? hci lookup le connect+0x181/0x3c0 ? srso alias return thunk+0x5/0xfbef5 ? find held lock+0x2b/0x80 ? hci update passive scan sync+0x437/0x950 ? srso alias return thunk+0x5/0xfbef5 ? lock release+0xc8/0x280 hci update passive scan sync+0x461/0x950 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 507: kasan save stack+0x33/0x60 kasan save track+0x14/0x30 kasan kmalloc+0xaa/0xb0 kmalloc cache noprof+0x251/0x610 hci add irk+0xb6/0x220 load irks+0x5ef/0x7e0 hci sock sendmsg+0x128b/0x22e0 sys sendto+0x425/0x470 x64 sys sendto+0xe5/0x1c0 do s ---truncated---
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾