summaryrefslogtreecommitdiff
path: root/net/mctp
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-04-05 22:50:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-17 12:23:32 +0300
commit8ee0c132a61df9723813c40e742dc5321824daa9 (patch)
treec2e2feb7c64240083d50c2d94a2355893354bcf6 /net/mctp
parentc3f787a3eafe519c93df9abbb0ca5145861c8d0f (diff)
downloadlinux-8ee0c132a61df9723813c40e742dc5321824daa9.tar.xz
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>
Diffstat (limited to 'net/mctp')
0 files changed, 0 insertions, 0 deletions