Commit 6a6baa1e authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Greg Kroah-Hartman
Browse files

Bluetooth: ISO: Fix not validating setsockopt user input



[ Upstream commit 9e8742cd ]

Check user input length before copying data.

Fixes: ccf74f23 ("Bluetooth: Add BTPROTO_ISO socket type")
Fixes: 0731c5ab ("Bluetooth: ISO: Add support for BT_PKT_STATUS")
Fixes: f764a6c2 ("Bluetooth: ISO: Add broadcast support")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent dea46e24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment