[PATCH 0/4] Bluetooth: L2CAP: part 2 of l2cap_conn::chan_l locking fixes

From: Pauli Virtanen

Date: Tue Sep 01 2026 - 17:12:08 EST


Rebase to fix conflict in remaining commits from series
https://lore.kernel.org/linux-bluetooth/cover.1788013041.git.pav@xxxxxx/

Fixed minor conflict vs. moved mutex_lock + l2cap_chan_lock in diff
context
commit ddaccd985bb0 ("Bluetooth: L2CAP: fix out-of-bounds write in l2cap_ecred_connect")

No other changes than resolving that.

Pauli Virtanen (4):
Bluetooth: L2CAP: take lock for l2cap_chan_del in
l2cap_ecred_rsp_defer
Bluetooth: L2CAP: annotate locking for l2cap_chan_del()
Bluetooth: L2CAP: annotate locking for l2cap_ops callbacks
Bluetooth: L2CAP: refuse __l2cap_chan_add if chan already has conn

include/net/bluetooth/l2cap.h | 65 +++++++++++--------
net/bluetooth/6lowpan.c | 2 +
net/bluetooth/l2cap_core.c | 113 ++++++++++++++++++++++++++++++++--
net/bluetooth/l2cap_sock.c | 2 +
4 files changed, 150 insertions(+), 32 deletions(-)

--
2.55.0