diff options
author | 2023-04-17 10:27:54 +0800 | |
---|---|---|
committer | 2023-04-23 22:05:23 -0700 | |
commit | 25e97f7b1866e6b8503be349eeea44bb52d661ce (patch) | |
tree | 2e8901a8126a28777e499945ae8bc378834c6941 /scripts/generate_rust_analyzer.py | |
parent | bluetooth: Add cmd validity checks at the start of hci_sock_ioctl() (diff) | |
download | linux-rng-25e97f7b1866e6b8503be349eeea44bb52d661ce.tar.xz linux-rng-25e97f7b1866e6b8503be349eeea44bb52d661ce.zip |
Bluetooth: L2CAP: fix "bad unlock balance" in l2cap_disconnect_rsp
conn->chan_lock isn't acquired before l2cap_get_chan_by_scid,
if l2cap_get_chan_by_scid returns NULL, then 'bad unlock balance'
is triggered.
Reported-by: syzbot+9519d6b5b79cf7787cf3@syzkaller.appspotmail.com
Link: https://lore.kernel.org/all/000000000000894f5f05f95e9f4d@google.com/
Signed-off-by: Min Li <lm0963hack@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions