diff options
| author | Pauli Virtanen <pav@iki.fi> | 2026-08-29 17:19:59 +0300 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-10-14 13:24:53 -0400 |
| commit | a69dd52612ea6c763f76553e355ee03b981b4ed4 (patch) | |
| tree | e3551075c1e46c6b7b7e2985de6d7742a56ef43f /include | |
| parent | 79ff49a72c06abdf76872dccc687e2a83c4f407f (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 'include')
0 files changed, 0 insertions, 0 deletions
