diff options
| author | Pauli Virtanen <pav@iki.fi> | 2026-07-24 23:20:26 +0300 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-07-28 16:13:11 -0400 |
| commit | 4311fd6f429065a8ba208660360a895627a00cf3 (patch) | |
| tree | f359924285ca7d9054edf1b844b2863eff443fea /include/linux/timerqueue_types.h | |
| parent | 89cf154d7c18e6e94a3da83051f3cf2bac317ae2 (diff) | |
Bluetooth: ISO: lock sk in iso_connect_ind
Accessing iso_pi(sk)->conn requires lock_sock, which is not taken in the
"ev3" part of iso_connect_ind. It may also be NULL if socket has
transitioned away from the LISTEN/CONNECT states before locking.
Fix by adding lock/release. Recheck hcon is valid after lock acquire
where needed.
Fixes: 168d9bf9c7f0 ("Bluetooth: ISO: Reassemble PA data for bcast sink")
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
