Thread (1 message) 1 message, 1 author, 2020-02-05

Re: [PATCH] Bluetooth: prefetch channel before killing sock

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2020-02-05 08:06:05
Also in: linux-bluetooth, lkml

Hi Hillf,
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: syzbot+c3c5bdea7863886115dc@syzkaller.appspotmail.com
Fixes: 6c08fc896b60 ("Bluetooth: Fix refcount use-after-free issue")
Cc: Manish Mandlik <redacted>
Signed-off-by: Hillf Danton <redacted>
---
patch has been applied to bluetooth-next tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help