Luiz Augusto von Dentz 4f3951242a Bluetooth: L2CAP: Fix not validating setsockopt user input
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>
2024-04-10 15:03:49 -04:00
..
2024-03-11 18:06:04 -07:00
2024-02-20 15:32:45 +01:00
2024-04-04 11:37:39 -07:00
2024-03-21 14:41:00 -07:00
2024-01-11 10:07:29 -08:00
2024-03-07 21:12:43 -08:00
2024-03-28 14:35:32 -07:00
2024-04-08 19:58:48 -07:00
2023-12-12 14:24:14 +01:00
2024-01-31 16:41:16 -08:00