CVE-2024-35967: Vulnerability in Linux Linux
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
AI Analysis
Technical Summary
CVE-2024-35967 is a vulnerability identified in the Linux kernel's Bluetooth subsystem, specifically within the SCO (Synchronous Connection-Oriented) socket implementation. The issue arises in the function sco_sock_setsockopt(), which is responsible for handling setsockopt system calls related to SCO sockets. The vulnerability is due to the function copying user-supplied data without properly validating the length of the input. This lack of input validation can lead to out-of-bounds memory access, as demonstrated by the Kernel Address Sanitizer (KASAN) detecting slab-out-of-bounds reads in the affected code paths (copy_from_sockptr_offset and copy_from_sockptr). The bug manifests as a read of 4 bytes from an invalid memory address, which could potentially lead to kernel memory corruption or crashes. The vulnerability was reported by syzbot, an automated kernel fuzzing tool, indicating it was discovered through rigorous testing rather than active exploitation. The affected Linux kernel versions are identified by specific commit hashes, implying the flaw exists in certain recent kernel builds prior to the patch. No known exploits are currently reported in the wild, and no CVSS score has been assigned yet. The vulnerability affects the core Linux kernel Bluetooth stack, which is widely used across numerous Linux distributions and devices that support Bluetooth SCO connections, such as audio headsets and telephony applications.
Potential Impact
For European organizations, the impact of CVE-2024-35967 can be significant, especially for those relying heavily on Linux-based infrastructure and Bluetooth-enabled devices. The vulnerability could allow local attackers or malicious applications with the ability to invoke setsockopt on SCO sockets to trigger out-of-bounds memory reads, potentially leading to kernel crashes (denial of service) or memory corruption. While there is no evidence of remote exploitation or privilege escalation yet, the flaw could be leveraged as part of a multi-stage attack to compromise system integrity or stability. Organizations in sectors such as telecommunications, manufacturing, healthcare, and critical infrastructure that use Linux systems with Bluetooth capabilities may face operational disruptions. Additionally, embedded Linux devices and IoT equipment prevalent in European industrial environments could be vulnerable, increasing the attack surface. The absence of known exploits reduces immediate risk, but the potential for future exploitation necessitates proactive mitigation to maintain confidentiality, integrity, and availability of systems.
Mitigation Recommendations
To mitigate CVE-2024-35967, European organizations should: 1) Apply the latest Linux kernel patches as soon as they become available from trusted sources or distribution vendors to ensure the vulnerability is remediated. 2) Audit and restrict access to Bluetooth SCO socket interfaces, limiting which users or processes can invoke setsockopt calls on SCO sockets, thereby reducing the attack surface. 3) Employ kernel hardening features such as Kernel Address Sanitizer (KASAN) and other memory protection mechanisms during development and testing phases to detect similar issues early. 4) Monitor system logs and kernel crash reports for signs of exploitation attempts or abnormal Bluetooth subsystem behavior. 5) For embedded and IoT devices, coordinate with vendors to obtain patched firmware or kernel updates, or consider network segmentation to isolate vulnerable devices. 6) Educate system administrators and security teams about the vulnerability to ensure timely response and patch management. These steps go beyond generic advice by focusing on access control to vulnerable interfaces and proactive monitoring specific to the Bluetooth SCO subsystem.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Italy, Spain
CVE-2024-35967: Vulnerability in Linux Linux
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
AI-Powered Analysis
Technical Analysis
CVE-2024-35967 is a vulnerability identified in the Linux kernel's Bluetooth subsystem, specifically within the SCO (Synchronous Connection-Oriented) socket implementation. The issue arises in the function sco_sock_setsockopt(), which is responsible for handling setsockopt system calls related to SCO sockets. The vulnerability is due to the function copying user-supplied data without properly validating the length of the input. This lack of input validation can lead to out-of-bounds memory access, as demonstrated by the Kernel Address Sanitizer (KASAN) detecting slab-out-of-bounds reads in the affected code paths (copy_from_sockptr_offset and copy_from_sockptr). The bug manifests as a read of 4 bytes from an invalid memory address, which could potentially lead to kernel memory corruption or crashes. The vulnerability was reported by syzbot, an automated kernel fuzzing tool, indicating it was discovered through rigorous testing rather than active exploitation. The affected Linux kernel versions are identified by specific commit hashes, implying the flaw exists in certain recent kernel builds prior to the patch. No known exploits are currently reported in the wild, and no CVSS score has been assigned yet. The vulnerability affects the core Linux kernel Bluetooth stack, which is widely used across numerous Linux distributions and devices that support Bluetooth SCO connections, such as audio headsets and telephony applications.
Potential Impact
For European organizations, the impact of CVE-2024-35967 can be significant, especially for those relying heavily on Linux-based infrastructure and Bluetooth-enabled devices. The vulnerability could allow local attackers or malicious applications with the ability to invoke setsockopt on SCO sockets to trigger out-of-bounds memory reads, potentially leading to kernel crashes (denial of service) or memory corruption. While there is no evidence of remote exploitation or privilege escalation yet, the flaw could be leveraged as part of a multi-stage attack to compromise system integrity or stability. Organizations in sectors such as telecommunications, manufacturing, healthcare, and critical infrastructure that use Linux systems with Bluetooth capabilities may face operational disruptions. Additionally, embedded Linux devices and IoT equipment prevalent in European industrial environments could be vulnerable, increasing the attack surface. The absence of known exploits reduces immediate risk, but the potential for future exploitation necessitates proactive mitigation to maintain confidentiality, integrity, and availability of systems.
Mitigation Recommendations
To mitigate CVE-2024-35967, European organizations should: 1) Apply the latest Linux kernel patches as soon as they become available from trusted sources or distribution vendors to ensure the vulnerability is remediated. 2) Audit and restrict access to Bluetooth SCO socket interfaces, limiting which users or processes can invoke setsockopt calls on SCO sockets, thereby reducing the attack surface. 3) Employ kernel hardening features such as Kernel Address Sanitizer (KASAN) and other memory protection mechanisms during development and testing phases to detect similar issues early. 4) Monitor system logs and kernel crash reports for signs of exploitation attempts or abnormal Bluetooth subsystem behavior. 5) For embedded and IoT devices, coordinate with vendors to obtain patched firmware or kernel updates, or consider network segmentation to isolate vulnerable devices. 6) Educate system administrators and security teams about the vulnerability to ensure timely response and patch management. These steps go beyond generic advice by focusing on access control to vulnerable interfaces and proactive monitoring specific to the Bluetooth SCO subsystem.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Linux
- Date Reserved
- 2024-05-17T13:50:33.140Z
- Cisa Enriched
- true
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 682d9828c4522896dcbe2309
Added to database: 5/21/2025, 9:08:56 AM
Last enriched: 6/29/2025, 8:40:54 AM
Last updated: 12/4/2025, 9:49:22 AM
Views: 33
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-12826: CWE-862 Missing Authorization in webdevstudios Custom Post Type UI
MediumCVE-2025-12782: CWE-862 Missing Authorization in beaverbuilder Beaver Builder Page Builder – Drag and Drop Website Builder
MediumCVE-2025-13513: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in codejunkie Clik stats
MediumCVE-2025-11727: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in codisto Omnichannel for WooCommerce: Google, Amazon, eBay & Walmart Integration – Powered by Codisto
HighCVE-2025-11379: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in roselldk WebP Express
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.