diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-04-05 15:50:47 -0400 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-04-10 15:03:49 -0400 |
commit | 4f3951242ace5efc7131932e2e01e6ac6baed846 (patch) | |
tree | 4ab10473a1717eccf9223d6187a170b207482464 /net/unix/af_unix.c | |
parent | a97de7bff13b1cc825c1b1344eaed8d6c2d3e695 (diff) | |
download | linux-4f3951242ace5efc7131932e2e01e6ac6baed846.tar.gz linux-4f3951242ace5efc7131932e2e01e6ac6baed846.tar.bz2 linux-4f3951242ace5efc7131932e2e01e6ac6baed846.zip |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions