diff options
author | 2020-02-05 10:31:59 +0800 | |
---|---|---|
committer | 2020-02-05 09:05:04 +0100 | |
commit | 2a154903cec20fb64ff4d7d617ca53c16f8fd53a (patch) | |
tree | 7c1dfbe14f16ab556ffec7dccfd946816ca51415 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dt-bindings: net: bluetooth: Add device tree bindings for QTI chip WCN3991 (diff) | |
download | wireguard-linux-2a154903cec20fb64ff4d7d617ca53c16f8fd53a.tar.xz wireguard-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions