CVE-2024-27398
Linux Kernel vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Mitigation and workarounds

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).

Community reactions

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).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management