Skip to content

Bluetooth: L2CAP: Follow-up fixes for b66774b48dd9 (v6.1-v5.10)

Lee Jones linux-bluetooth lkml netdev stable 1 version Applied

Status from this message: Queued the series for 6.1, 5.15 and 5.10, thanks. Patch 2/2 was also

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Bluetooth: L2CAP: access chan->conn safely in get/setsockoptnet/bluetooth/l2cap_sock.c+46 -111 reply
2/2Bluetooth: L2CAP: refuse __l2cap_chan_add if chan already has connnet/bluetooth/l2cap_core.c net/bluetooth/l2cap_sock.c+8 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [STABLE v6.1-v5.10 0/2] Bluetooth: L2CAP: Follow-up fixes for b66774b48dd9 (v6.1-v5.10)

Backport the two follow-up Fixes: commits for b66774b48dd9 ("Bluetooth:
L2CAP: Fix UAF in channel timeout by holding conn ref") that did not apply cleanly to v6.1.y, v5.15.y, and v5.10.y.

Cc "David S. Miller" <[email protected]>
Cc Eric Dumazet <[email protected]>
Cc "Gustavo F. Padovan" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Johan Hedberg <[email protected]>
Cc Luiz Augusto von Dentz <[email protected]>
Cc Luiz Augusto von Dentz <[email protected]>
Cc Marcel Holtmann <[email protected]>
Cc Marco Elver <[email protected]>
Cc Maxim Krasnyansky <[email protected]>
Cc Paolo Abeni <[email protected]>
Cc Pauli Virtanen <[email protected]>
Cc Sasha Levin <[email protected]>

Pauli Virtanen (2):
Bluetooth: L2CAP: access chan->conn safely in get/setsockopt
Bluetooth: L2CAP: refuse __l2cap_chan_add if chan already has conn

 net/bluetooth/l2cap_core.c |  7 ++++-
 net/bluetooth/l2cap_sock.c | 59 +++++++++++++++++++++++++++++++-------
 2 files changed, 54 insertions(+), 12 deletions(-)
Signature · 1 line
2.56.0.307.g5fe7bd680c-goog