summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/rfcomm
diff options
context:
space:
mode:
authorHillf Danton <hdanton@sina.com>2020-02-05 10:31:59 +0800
committerMarcel Holtmann <marcel@holtmann.org>2020-02-05 09:05:04 +0100
commit2a154903cec20fb64ff4d7d617ca53c16f8fd53a (patch)
tree7c1dfbe14f16ab556ffec7dccfd946816ca51415 /net/bluetooth/rfcomm
parent89bd6147964ea3d72708ee30ba309ac675a5b997 (diff)
downloadlinux-2a154903cec20fb64ff4d7d617ca53c16f8fd53a.tar.gz
linux-2a154903cec20fb64ff4d7d617ca53c16f8fd53a.tar.bz2
linux-2a154903cec20fb64ff4d7d617ca53c16f8fd53a.zip
Bluetooth: prefetch channel before killing sock
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 <mmandlik@google.com> Signed-off-by: Hillf Danton <hdanton@sina.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/rfcomm')
0 files changed, 0 insertions, 0 deletions