Skip to contentSkip to conversation

Bluetooth: prefetch channel before killing sock

PATCH Marcel Holtmann 1 participant 1 message Feb 5, 2020 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Marcel Holtmann

author maintainer
#1 lore raw

Hi Hillf,

Quoted 10 lines

Prefetch channel before killing sock in order to fix UAF like

BUG: KASAN: use-after-free in l2cap_sock_release+0x24c/0x290 net/bluetooth/l2cap_sock.c:1212
Read of size 8 at addr ffff8880944904a0 by task syz-fuzzer/9751
Reported-by [email protected]
Fixes 6c08fc896b60 ("Bluetooth: Fix refcount use-after-free issue")
Cc Manish Mandlik <[email protected]>

---

patch has been applied to bluetooth-next tree.

Regards

Marcel