High · published May 20, 2024
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
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 3.8, < 5.10.216 | 5.10.216 |
| linux/linux_kernel | ≥ 5.11, < 5.15.178 | 5.15.178 |
| linux/linux_kernel | ≥ 5.16, < 6.1.87 | 6.1.87 |
| linux/linux_kernel | ≥ 6.2, < 6.6.28 | 6.6.28 |
| linux/linux_kernel | ≥ 6.7, < 6.8.7 | 6.8.7 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| debian/debian_linux | all versions | — |