]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: ISO: Fix not validating setsockopt user input
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 5 Apr 2024 19:56:50 +0000 (15:56 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 10 Apr 2024 19:03:50 +0000 (15:03 -0400)
commit9e8742cdfc4b0e65266bb4a901a19462bda9285e
tree28623a0be6537a9cbcf22754f6799a81001e44d6
parent4f3951242ace5efc7131932e2e01e6ac6baed846
Bluetooth: ISO: Fix not validating setsockopt user input

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>
net/bluetooth/iso.c