]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: LE L2CAP: Disconnect if received packet's SDU exceeds IMTU
authorChristian Eggers <ceggers@arri.de>
Wed, 25 Feb 2026 17:07:25 +0000 (18:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2026 10:08:52 +0000 (11:08 +0100)
commitab0b2de04d8de160c43eab65c49deb6aca650778
tree2ceaee251d7ae858656ad54fb7d6ff0f6dbfb892
parent158802642a695739ccb4c1a8c32ee3d74d393694
Bluetooth: LE L2CAP: Disconnect if received packet's SDU exceeds IMTU

[ Upstream commit e1d9a66889867c232657a9b6f25d451d7c3ab96f ]

Core 6.0, Vol 3, Part A, 3.4.3:
"If the SDU length field value exceeds the receiver's MTU, the receiver
shall disconnect the channel..."

This fixes L2CAP/LE/CFC/BV-26-C (running together with 'l2test -r -P
0x0027 -V le_public -I 100').

Fixes: aac23bf63659 ("Bluetooth: Implement LE L2CAP reassembly")
Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/l2cap_core.c