diff options
| author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-10-22 15:35:49 -0400 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-10-23 10:21:14 -0400 |
| commit | 246b435ad668596aa0e2bbb9d491b6413861211a (patch) | |
| tree | 8582bba5fa0274ee5772f7072283e3adc9cd62b6 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | Bluetooth: SCO: Fix UAF on sco_sock_timeout (diff) | |
| download | linux-246b435ad668596aa0e2bbb9d491b6413861211a.tar.gz linux-246b435ad668596aa0e2bbb9d491b6413861211a.zip | |
Bluetooth: ISO: Fix UAF on iso_sock_timeout
conn->sk maybe have been unlinked/freed while waiting for iso_conn_lock
so this checks if the conn->sk is still valid by checking if it part of
iso_sk_list.
Fixes: ccf74f2390d6 ("Bluetooth: Add BTPROTO_ISO socket type")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
