Files
twx-linux/include/net
Luiz Augusto von Dentz 74a466a157 Bluetooth: SCO: Fix UAF on sco_sock_timeout
commit 1bf4470a39 upstream.

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: ba316be1b6 ("Bluetooth: schedule SCO timeouts with delayed_work")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-02 07:44:25 +02:00
..
2021-07-01 13:19:48 -07:00
2025-03-13 12:50:43 +01:00
2024-12-19 18:07:20 +01:00
2023-06-14 11:13:02 +02:00
2025-05-02 07:44:20 +02:00
2021-08-03 13:05:26 +01:00
2023-08-11 15:13:54 +02:00