Skip to content
Commit 1bf4470a authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz
Browse files

Bluetooth: SCO: Fix UAF on sco_sock_timeout



conn->sk maybe have been unlinked/freed while waiting for sco_conn_lock
so this checks if the conn->sk is still valid by checking if it part of
sco_sk_list.

Reported-by: default avatar <syzbot+4c0d0c4cde787116d465@syzkaller.appspotmail.com>
Tested-by: default avatar <syzbot+4c0d0c4cde787116d465@syzkaller.appspotmail.com>
Closes: https://syzkaller.appspot.com/bug?extid=4c0d0c4cde787116d465


Fixes: ba316be1 ("Bluetooth: schedule SCO timeouts with delayed_work")
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 989fa517
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment