CVE-2024-35967: Bluetooth: SCO: Fix not validating setsockopt user input
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: SCO: Fix not validating setsockopt user input
syzbot reported scosocksetsockopt() is copying data without checking user input length.
BUG: KASAN: slab-out-of-bounds in copyfromsockptroffset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copyfromsockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in scosocksetsockopt+0xc0b/0xf90 net/bluetooth/sco.c:893 Read of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578
Other sources
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: SCO: Fix not validating setsockopt user input
The Linux kernel CVE team has assigned CVE-2024-35967 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052022-CVE-2024-35967-d111@gregkh/T
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 5.10.216 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.1.87 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.6.28 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.8.7 - Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 6.9 - Upgrade
Upgrade
Linux kernel (Bluetooth SCO: sco_sock_setsockopt)to a version that resolves this vulnerability.Patch CVE-2024-35967
Event History
Frequently Asked Questions
What is the severity of CVE-2024-35967?
CVE-2024-35967 is classified as a high-severity vulnerability due to its potential impact on system security.
How do I fix CVE-2024-35967?
To fix CVE-2024-35967, update the Linux kernel to one of the patched versions: 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.10-1, or 6.12.11-1.
Which Linux kernel versions are affected by CVE-2024-35967?
CVE-2024-35967 affects multiple Linux kernel versions prior to the updates provided for 5.10.x and 6.x branches.
What components are impacted by CVE-2024-35967?
CVE-2024-35967 specifically impacts the Bluetooth subsystem within the Linux kernel.
Is CVE-2024-35967 being actively exploited?
As of now, there have been no public reports indicating active exploitation of CVE-2024-35967.