diff options
| author | 2026-08-29 17:19:59 +0300 | |
|---|---|---|
| committer | 2026-10-14 13:24:53 -0400 | |
| commit | a69dd52612ea6c763f76553e355ee03b981b4ed4 (patch) | |
| tree | e3551075c1e46c6b7b7e2985de6d7742a56ef43f /scripts/Makefile.thinlto | |
| parent | Bluetooth: L2CAP: fix race condition in l2cap_sock_shutdown() (diff) | |
Bluetooth: 6lowpan: use l2cap_chan_close_unlocked()
6lowpan.c is using l2cap_chan_close() without taking chan->conn->lock,
so it may modify conn->chan_l without holding the guarding lock.
Fix the locking by using the l2cap_chan_close_unlocked() helper that
acquires the necessary locks.
Fixes: 15f32cabf426 ("Bluetooth: 6lowpan: add missing l2cap_chan_lock()")
Link: https://syzkaller.appspot.com/bug?extid=0e4ebcc970728e056324
Signed-off-by: Pauli Virtanen <pav@iki.fi>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
