Home
last modified time | relevance | path

Searched hist:d30803f6a972b5b9e26d1d43b583c7ec151de04b (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/net/bluetooth/
H A Dbluetooth.hdiff d30803f6a972b5b9e26d1d43b583c7ec151de04b Tue Oct 22 11:31:08 CDT 2024 Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Bluetooth: SCO: Fix UAF on sco_sock_timeout

[ Upstream commit 1bf4470a3939c678fb822073e9ea77a0560bc6bb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
/openbmc/linux/net/bluetooth/
H A Daf_bluetooth.cdiff d30803f6a972b5b9e26d1d43b583c7ec151de04b Tue Oct 22 11:31:08 CDT 2024 Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Bluetooth: SCO: Fix UAF on sco_sock_timeout

[ Upstream commit 1bf4470a3939c678fb822073e9ea77a0560bc6bb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
H A Dsco.cdiff d30803f6a972b5b9e26d1d43b583c7ec151de04b Tue Oct 22 11:31:08 CDT 2024 Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Bluetooth: SCO: Fix UAF on sco_sock_timeout

[ Upstream commit 1bf4470a3939c678fb822073e9ea77a0560bc6bb ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>