linux/net/bluetooth
Luiz Augusto von Dentz 9d42f37339 Bluetooth: L2CAP: Fix not validating setsockopt user input
[ Upstream commit 4f3951242ace5efc7131932e2e01e6ac6baed846 ]

Check user input length before copying data.

Fixes: 33575df7be67 ("Bluetooth: move l2cap_sock_setsockopt() to l2cap_sock.c")
Fixes: 3ee7b7cd8390 ("Bluetooth: Add BT_MODE socket option")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-17 11:18:25 +02:00
..
2022-03-07 11:40:41 +00:00
2021-04-27 17:05:53 -07:00
2024-03-26 18:20:42 -04:00
2024-03-26 18:20:42 -04:00
2021-06-26 07:12:37 +02:00