PT-2026-167170

CVE-2026-143312

·

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: SMP: Protect link keys during LTK derivation
sc generate ltk() reads the type and value of the peer link key after hci find link key() has returned. The finder ends its RCU read-side section before returning the borrowed entry, and the SMP receive path does not hold hdev->lock: l2cap recv acldata() releases it before the PDU is dispatched. The L2CAP connection and channel locks held by SMP do not serialize with management link-key removal.
When BR/EDR Secure Connections pairing derives an LTK from the stored link key, MGMT OP LOAD LINK KEYS can free that key mid-derivation:
HCI RX worker (SMP) Management / RCU reclamation sc generate ltk() key = hci find link key() load link keys() hci dev lock(hdev) hci link keys clear(hdev) list del rcu(), kfree rcu() hci dev unlock(hdev) grace period ends, key is freed read key->type smp h6() or smp h7() reads key->val
Hold an RCU read-side section from the lookup until the type and value have been consumed. smp h6() and smp h7() only run the synchronous AES-CMAC library code, which neither sleeps nor allocates. Release the section before sc add ltk(), which allocates with GFP KERNEL.
KASAN reported this on a test kernel whose scheduling hook paused the receive worker after the lookup; the hook frames appear in the trace.
KASAN report as below:
================================================================== BUG: KASAN: slab-use-after-free in smp distribute keys+0x2983/0x2b70 Read of size 1 at addr ffff88810618e9a6 by task kworker/u17:0/500
CPU: 0 UID: 0 PID: 500 Comm: kworker/u17:0 Not tainted 7.2.0-rc6-pmb-bt-functional-v1+ #1 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: hci1 hci rx work Call Trace: dump stack lvl+0x93/0xd0 print report+0xce/0x630 ? smp distribute keys+0x2983/0x2b70 ? srso alias return thunk+0x5/0xfbef5 ? virt addr valid+0x20d/0x410 ? smp distribute keys+0x2983/0x2b70 kasan report+0xe0/0x110 ? smp distribute keys+0x2983/0x2b70 smp distribute keys+0x2983/0x2b70 ? pfx smp distribute keys+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? pmbd gate maybe+0x47/0x60 ? srso alias return thunk+0x5/0xfbef5 ? pmbd probe hit cookie+0xe7/0x1c0 ? srso alias return thunk+0x5/0xfbef5 ? pmbd probe hit cookie+0xee/0x1c0 ? pfx pmbd probe hit cookie+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? asan memset+0x23/0x50 ? smp recv cb+0x12e2/0x8f30 ? srso alias return thunk+0x5/0xfbef5 smp recv cb+0x12e2/0x8f30 ? pfx smp recv cb+0x10/0x10 ? pfx might resched+0x10/0x10 ? pfx sched balance find src group+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? mutex lock+0x182c/0x2590 ? l2cap recv frame+0x9ef/0x8830 ? pfx mutex lock+0x10/0x10 ? lock acquire+0x466/0x2260 ? pfx l2cap chan hold unless zero+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? l2cap recv frame+0x13cc/0x8830 ? pfx smp recv cb+0x10/0x10 l2cap recv frame+0x13cc/0x8830 ? srso alias return thunk+0x5/0xfbef5 ? mutex lock+0x182c/0x2590 ? pfx l2cap recv frame+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? find held lock+0x2b/0x80 ? l2cap recv acldata+0x1eb/0x10e0 ? pfx mutex lock+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? mutex unlock slowpath+0x147/0x920 ? pfx l2cap conn hold unless zero+0x10/0x10 ? pfx hci conn enter active mode+0x10/0x10 ? l2cap recv acldata+0x13d/ ---truncated---
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾