
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-27398 affects the Linux kernel's Bluetooth subsystem, specifically in the SCO (Synchronous Connection-Oriented) socket implementation. The vulnerability was introduced on April 11, 2023, and affects Linux kernel versions prior to 6.9. When the SCO connection is established and then the SCO socket is released, a timeout_work is scheduled to check for SCO disconnection timeout. However, the socket can be deallocated before the timeout handler executes, leading to a use-after-free condition (NVD, Openwall).
The vulnerability occurs in net/bluetooth/sco.c where the sco_sock_timeout function attempts to access a freed socket structure. The issue stems from a race condition between the cleanup thread and worker thread, where: 1) The cleanup thread releases the socket through sco_sock_release, and 2) The worker thread later attempts to access the freed socket in sco_sock_timeout. The bug was fixed by adding a check protected by sco_conn_lock to verify whether conn->hcon is null, as conn->hcon is set to null when the socket is released (Kernel Commit).
Successful exploitation of this vulnerability could lead to use-after-free conditions, potentially resulting in privilege escalation, denial of service, or unauthorized data modification. The vulnerability has been assigned a CVSS v3.1 score of 7.4 (HIGH) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H (NetApp Advisory).
The vulnerability requires local access to the system and the ability to interact with the Bluetooth subsystem. A proof-of-concept exploit has been developed and demonstrated on Linux kernel version 6.8.0, showing that the issue can be triggered through specific socket operations (Openwall).
The vulnerability has been fixed in Linux kernel 6.9 and backported to various stable kernel versions. The fix involves adding a check in sco_sock_timeout to verify conn->hcon before accessing the socket structure. Users should update their kernel to a patched version. Multiple Linux distributions have released security updates addressing this vulnerability, including Fedora and Debian (Fedora Update, Debian Update).
The vulnerability was initially reported to the Linux kernel security team and has been acknowledged by major Linux distributions and hardware vendors. NetApp has classified it as a high-severity issue and is actively working on providing patches for affected products (NetApp Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."