Bluetooth: L2CAP: signalling response fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Bluetooth: L2CAP: Reject signalling responses in invalid statesnet/ | +36 | 0 replies | |
| 2/3 | Bluetooth: L2CAP: Only accept connection responses to outstanding requestsinclude/ net/ net/ +1 more | +77 | 2 replies | |
| 3/3 | Bluetooth: L2CAP: Ignore connection responses with wrong identnet/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 5.15.y 0/3] Bluetooth: L2CAP: signalling response fixes
Backports of
6320736af7dc ("Bluetooth: L2CAP: Reject signalling responses in invalid states") a518b9a9ef6e ("Bluetooth: L2CAP: Only accept connection responses to outstanding requests")
which failed to apply to the 5.15-stable tree:
https://lore.kernel.org/stable/[email protected]/
https://lore.kernel.org/stable/[email protected]/
Patch 3 is a9f9eeb5344f ("Bluetooth: L2CAP: Ignore connection responses with wrong ident"), which tightens the check added by patch 2 and only applies on top of it.
The series goes on top of the three L2CAP patches already queued for 5.15.y:
c1398cf11b31 ("Bluetooth: L2CAP: Reject mode changes on connected channels") c5ebb0245fe9 ("Bluetooth: L2CAP: Reject invalid TxWindow in configuration requests") 226fa3b676cb ("Bluetooth: L2CAP: Use default TxWindow for zero socket option")
5.15.y still has AMP and A2MP, which upstream removed in e7b02296fb40 ("Bluetooth: Remove BT_HS"). Patches 1 to 3 also close the same holes in the AMP paths; the changes are described at the top of each commit message.
Jinwang Li (1):
Bluetooth: L2CAP: Ignore connection responses with wrong ident
Siwei Zhang (2):
Bluetooth: L2CAP: Reject signalling responses in invalid states
Bluetooth: L2CAP: Only accept connection responses to outstanding
requests
include/net/bluetooth/l2cap.h | 2 +- net/bluetooth/a2mp.c | 10 +-- net/bluetooth/a2mp.h | 1 + net/bluetooth/l2cap_core.c | 126 ++++++++++++++++++++++++++++++---- 4 files changed, 122 insertions(+), 17 deletions(-)
Signature · 1 line
2.56.0