In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: SCO: Fix not validating setsockopt user input
syzbot reported sco_sock_setsockopt() is copying data without checking user input length.
BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in sco_sock_setsockopt+0xc0b/0xf90 net/bluetooth/sco.c:893 Read of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 3.8 | 5.10.216 |
| linux / linux_kernel | 5.11 | 5.15.178 |
| linux / linux_kernel | 5.16 | 6.1.87 |
| linux / linux_kernel | 6.2 | 6.6.28 |
| linux / linux_kernel | 6.7 | 6.8.7 |
| linux / linux_kernel | 6.9-rc1 | 6.9-rc1.x |
| linux / linux_kernel | 6.9-rc2 | 6.9-rc2.x |
| linux / linux_kernel | 6.9-rc3 | 6.9-rc3.x |
| debian / debian_linux | 10.0 | 10.0.x |