Linux Kernel
CVE-2024-27052
HIGH
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).
CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Lifecycle Timeline
6DescriptionCVE.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().
AnalysisAI
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.
Technical ContextAI
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.
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.
More in Debian Linux
View allApache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c
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
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
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
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
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o
The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
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
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (
Same weakness CWE-416 – Use After Free
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today