Skip to main content

Linux Kernel CVE-2024-27052

HIGH
Use After Free (CWE-416)
2024-05-01 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege OS access
  2. Delivery
    Attach or activate RTL8xxx USB WiFi adapter
  3. Exploit
    Trigger rtl8xxxu_stop() during active C2H workqueue processing
  4. Execution
    Win race condition window
  5. Persist
    Access freed kernel memory (use-after-free)
  6. Impact
    Corrupt kernel heap to escalate privileges

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a Linux system where the rtl8xxxu kernel module is loaded and an RTL8xxx series USB WiFi adapter is actively connected and operational. The attacker must hold at minimum a low-privilege local account (PR:L per CVSS vector) to trigger driver stop operations. The vulnerability manifests as a race condition - the workqueue must be mid-execution when rtl8xxxu_stop() frees driver memory - which introduces a timing dependency that limits exploitation reliability. Remote exploitation is not possible. Systems without RTL8xxx USB WiFi hardware or where the rtl8xxxu module is blacklisted are entirely unexposed. Non-default configuration is not required; any default Linux installation using this hardware class is affected if the module is loaded.

Impact

The NVD CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) reflects high theoretical impact but local-only attack surface. The AC:L assignment warrants scrutiny: the vulnerability is fundamentally a race condition between workqueue execution and driver stop, which typically implies timing dependency (arguably AC:H). EPSS at 0.01% places this in the 1st percentile - consistent with a kernel driver bug requiring specific hardware (RTL8xxx USB adapter) and local access, with no KEV listing and no known public exploit code. Real-world risk is low: the attack surface is constrained to systems actively running the rtl8xxxu module with connected hardware, and exploitation requires reliable race-window timing in a kernel context. This is a patch-when-convenient issue rather than an emergency response priority for most environments.

Exploit ScenarioDerived

A local attacker with a standard user account on a Linux host equipped with a Realtek RTL8xxx USB WiFi adapter repeatedly triggers driver stop events (for example, by toggling the wireless interface or physically re-inserting the USB adapter) while the c2hcmd_work workqueue is processing C2H commands. Winning the race between workqueue execution and driver memory teardown produces a use-after-free, enabling the attacker to potentially corrupt kernel heap memory and escalate to root or destabilize the kernel. No public proof-of-concept exists at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – Aug 04, 2026

Use-after-free in the Linux kernel's rtl8xxxu WiFi driver allows a local attacker with low privileges to corrupt freed kernel memory by racing driver shutdown against an in-flight workqueue. The rtl8xxxu_stop() function failed to call cancel_work_sync() before teardown, leaving c2hcmd_work potentially executing against already-freed driver state - a textbook CWE-416 condition. No public exploit has been identified and EPSS at 0.01% (1st percentile) indicates negligible opportunistic exploitation likelihood; this is not listed in CISA KEV.

Earlier versions of this analysis (2)
v2 Aug 04, 2026 - 12:58 cvss changed CVSS 7.8

Use-after-free in the Linux kernel's rtl8xxxu Realtek USB WiFi driver allows a local low-privileged user to corrupt kernel memory when a race condition is triggered between driver shutdown and an in-flight workqueue item. The c2hcmd_work workqueue, which processes firmware command-to-host events, could continue executing after rtl8xxxu_stop() freed associated driver structures due to a missing cancel_work_sync() call. No public exploit exists and EPSS at 0.01% (1st percentile) reflects very low real-world exploitation probability, though the CVSS 7.8 score correctly captures worst-case memory corruption impact on an affected host.

v1 Aug 04, 2026 - 12:58 cvss changed CVSS 7.8

Use-after-free in the Linux kernel's rtl8xxxu WiFi driver exposes systems with Realtek RTL8xxx USB WiFi adapters to local memory corruption when the driver is stopped while the c2hcmd_work workqueue is still active. Exploitation requires local low-privileged access and a compatible Realtek USB WiFi device, limiting the real-world attack surface despite the CVSS 7.8 rating. No public exploit identified at time of analysis, and EPSS of 0.01% (1st percentile) confirms negligible exploitation pressure.

RemediationAI

Apply the upstream kernel patches from the Linux stable tree; patch commits are available at https://git.kernel.org/stable/c/1213acb478a7181cd73eeaf00db430f1e45b1361 and six additional related commits (see NVD references). Debian Buster users should apply the LTS update announced at https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html. Exact fixed package version numbers for specific distributions are not independently confirmed from available data and should be verified through distribution changelogs. As a compensating control for systems not requiring RTL8xxx USB WiFi functionality, blacklisting the rtl8xxxu module via /etc/modprobe.d/blacklist.conf eliminates the attack surface entirely with the trade-off of disabling RTL8xxx USB WiFi hardware on that system.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The rtl8xxxu driver manages Realtek RTL8xxx series USB WiFi adapters in the Linux kernel. It uses a kernel work item (c2hcmd_work) to process command-to-host (C2H) events asynchronously via the kernel workqueue subsystem. The defect is the absence of cancel_work_sync() in rtl8xxxu_stop(), meaning driver teardown could free underlying data structures while the workqueue was still dispatching against them. This produces a dangling pointer dereference - CWE-416 (Use After Free) - which in a kernel context can be leveraged for memory corruption, privilege escalation, or kernel panic. The CPE confirms Linux kernel broadly (cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*) and Debian Linux 10.0 as a confirmed downstream. Seven distinct stable-tree patch commits address the issue across multiple kernel branches.

Know when Debian Linux gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Race condition requires timing control during driver stop, warranting AC:H over NVD's AC:L; local low-privilege access (PR:L) sufficient to trigger driver operations.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Aug 04, 2026 - 13:00 vuln.today
v3 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:58 vuln.today
v2 - CVSS changed
Analysis Updated
Aug 04, 2026 - 12:58 vuln.today
v1 - CVSS changed
CVSS changed
Aug 04, 2026 - 11:23 NVD
7.4 (HIGH) 7.8 (HIGH)
CVE Published
May 01, 2024 - 13:15 cve.org
HIGH 7.4

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

wifi: rtl8xxxu: add cancel_work_sync() for c2hcmd_work

The workqueue might still be running, when the driver is stopped. To avoid a use-after-free, call cancel_work_sync() in rtl8xxxu_stop().

Executive ViewAI

Why It Matters

CVE-2024-27052 affects the rtl8xxxu WiFi driver in Linux systems, creating a privilege escalation risk for local users with low system privileges to gain elevated access. No public exploit has been identified at time of analysis, but the technical severity suggests organizations should treat this as a standard remediation priority. With patches available from the vendor, this vulnerability should be addressed through normal kernel update procedures, with priority given to systems supporting untrusted local users.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Prevalence
High
Linux kernel ubiquitous, but rtl8xxxu driver scope narrows real exposure
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2017-7494 CRITICAL POC
9.8 May 30

Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2022-30333 HIGH POC
7.5 May 09

RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2018-7602 CRITICAL POC
9.8 Jul 19

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy