diff options
| author | 2024-10-22 12:31:08 -0400 | |
|---|---|---|
| committer | 2024-10-23 10:20:29 -0400 | |
| commit | 1bf4470a3939c678fb822073e9ea77a0560bc6bb (patch) | |
| tree | 4e3b5bfbbaf5f90fa8cc5bfed68e30405229f41e /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | Bluetooth: hci_core: Disable works on hci_unregister_dev (diff) | |
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: syzbot+4c0d0c4cde787116d465@syzkaller.appspotmail.com
Tested-by: syzbot+4c0d0c4cde787116d465@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=4c0d0c4cde787116d465
Fixes: ba316be1b6a0 ("Bluetooth: schedule SCO timeouts with delayed_work")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
