PT-2026-167172

CVE-2026-143314

·

Publicado

2026-12-03

·

Atualizado

2026-12-03

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci sync: Protect resolving-list lookups
The host resolving list is updated under hdev->lock, and each bdaddr list with irk entry must remain alive throughout a lookup. hci le del resolve list sync() and hci le add resolve list sync() traverse that list without taking the lock.
On an LE privacy-capable controller with a programmed entry, passive scan reconciliation can reach hci le del resolve list sync() while a privileged HCI RAW client sends LE Clear Resolving List. The raw command does not take req lock, and its successful completion runs on the controller workqueue independently of request work:
Request work Raw HCI / event work hci le del resolve list sync() lookup loads a list node hci sock sendmsg() queue LE Clear Resolving List hci cc le clear resolv list() take hdev->lock unlink and free the node release hdev->lock read the node's address/type
The clear can free the node after the lookup loads it and before its address/type read, causing a use-after-free. The report below shows this access with the delete helper on the faulting stack. The add helper uses the same unprotected lookup.
Take hdev->lock around each resolving-list membership lookup and retain only a boolean result. This serializes traversal with clear completion and keeps entry pointers inside the protected section. Release the lock before issuing a synchronous HCI command, whose completion also needs the lock.
KASAN report as below:
================================================================== BUG: KASAN: slab-use-after-free in hci bdaddr list lookup with irk+0x106/0x120 Read of size 1 at addr ffff88810b036e16 by task kworker/u17:0/495
CPU: 2 UID: 0 PID: 495 Comm: kworker/u17:0 Not tainted 7.2.0-rc6-pmb-bt-functional-v1+ #3 PREEMPT(lazy) Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Workqueue: hci0 hci cmd sync work Call Trace: dump stack lvl+0x93/0xd0 print report+0xce/0x630 ? hci bdaddr list lookup with irk+0x106/0x120 ? srso alias return thunk+0x5/0xfbef5 ? virt addr valid+0x20d/0x410 ? hci bdaddr list lookup with irk+0x106/0x120 kasan report+0xe0/0x110 ? hci bdaddr list lookup with irk+0x106/0x120 hci bdaddr list lookup with irk+0x106/0x120 hci le del resolve list sync.isra.0+0xd6/0x3f0 ? pfx hci le del resolve list sync.isra.0+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 hci le del accept list sync.isra.0+0x11c/0x290 ? pfx hci le del accept list sync.isra.0+0x10/0x10 ? hci passive scan sync+0x551/0x1e80 ? srso alias return thunk+0x5/0xfbef5 ? lock release+0xc8/0x280 hci passive scan sync+0x71c/0x1e80 ? pfx hci passive scan sync+0x10/0x10 ? find held lock+0x2b/0x80 ? hci lookup le connect+0xe1/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 t ---truncated---
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾