diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-04-05 22:56:50 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-17 12:23:32 +0300 |
commit | 0c4a89f4690478969729c7ba5f69d53d8516aa12 (patch) | |
tree | 1fada8c0b65f3616a1f204b66d87a0e25c960696 /net/batman-adv/hard-interface.c | |
parent | 8ee0c132a61df9723813c40e742dc5321824daa9 (diff) | |
download | linux-0c4a89f4690478969729c7ba5f69d53d8516aa12.tar.xz |
Bluetooth: ISO: Fix not validating setsockopt user input
[ Upstream commit 9e8742cdfc4b0e65266bb4a901a19462bda9285e ]
Check user input length before copying data.
Fixes: ccf74f2390d6 ("Bluetooth: Add BTPROTO_ISO socket type")
Fixes: 0731c5ab4d51 ("Bluetooth: ISO: Add support for BT_PKT_STATUS")
Fixes: f764a6c2c1e4 ("Bluetooth: ISO: Add broadcast support")
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/batman-adv/hard-interface.c')
0 files changed, 0 insertions, 0 deletions