What’s Vulnerable › Vulnerabilities

CVE-2024-35967: Bluetooth: SCO: Fix not validating setsockopt user input

Description

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.216, 5.15.178, 6.1.87, 6.6.28. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35967 or the next vulnerability affects your stack