diff options
| author | 2026-10-13 11:36:33 -0400 | |
|---|---|---|
| committer | 2026-10-14 14:38:27 -0400 | |
| commit | c1398cf11b31a94c27ed810ba69515e0df5ce379 (patch) | |
| tree | e82d47271cc89a23ce16b962428a29a5a5ca1dc7 /scripts/Makefile.thinlto | |
| parent | Bluetooth: hci_event: Fix LE link drop on remote features command status (diff) | |
Bluetooth: L2CAP: Reject mode changes on connected channels
A peer can send a configuration response with an RFC
option for another mode to a connected channel, for
example to switch it from Streaming to ERTM mode.
l2cap_parse_conf_rsp() then changes chan->mode, but
l2cap_ertm_init() is not called again, so the ERTM
sequence lists are never allocated. The next
out-of-sequence I-frame makes l2cap_seq_list_clear()
write through the NULL srej_list.list.
Refuse the channel when a response tries to change
the mode of a connected channel.
Fixes: f2fcfcd67025 ("Bluetooth: Add configuration support for ERTM and Streaming mode")
Cc: stable@vger.kernel.org
Closes: https://sashiko.dev/#/patchset/20261007144717.3832330-1-oss%40fourdim.xyz
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Siwei Zhang <oss@fourdim.xyz>
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
