Bluetooth: prefetch channel before killing sock
Subsystems (3)
Marcel Holtmann
maintainerHi 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/9751Reported-by [email protected]Fixes 6c08fc896b60 ("Bluetooth: Fix refcount use-after-free issue")Cc Manish Mandlik <[email protected]>Signed-off-by Hillf Danton <[email protected]>---
patch has been applied to bluetooth-next tree.
Regards
Marcel