LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2025-38352: Linux Kernel Time-of-Check Time-of-Use (TOCTOU) Race Condition Vulnerability

RBRecent Breaches Vulnerability Intelligence·Sep 4, 2025
CVSS 7.8 · High⚠ Actively exploited (CISA KEV)
7.8
CVSS score
High
Severity
Active
CISA KEV
No
Ransomware use
Sep 25, 2025
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2025-38352 to its Known Exploited Vulnerabilities catalog on Sep 4, 2025, with a federal patch deadline of Sep 25, 2025 — meaning attackers are actively using it. If you run the affected software, patch it immediately.

In the Linux kernel, the following vulnerability has been resolved: posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del() If an exiting non-autoreaping task has already passed exit_notify() and calls handle_posix_cpu_timers() from IRQ, it can be reaped by its parent or debugger right after unlock_task_sighand(). If a concurrent posix_cpu_timer_del() runs at that moment, it won't be able to detect timer->it.cpu.firing != 0: cpu_timer_task_rcu() and/or lock_task_sighand() will fail. Add the tsk->exit_state check into run_posix_cpu_timers() to fix this. This fix is not needed if CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y, because exit_task_work() is called before exit_notify(). But the check still makes sense, task_work_add(&tsk->posix_cputimers_work.work) will fail anyway in this case.

CVE-2025-38352 is a time-of-check time-of-use (TOCTOU) race condition in the Linux kernel. CISA notes that this flaw has a high impact on confidentiality, integrity, and availability. For IT and security teams, it matters because successful exploitation of kernel race conditions can let an attacker escalate privileges or disrupt system stability on hosts that run the affected kernel.

Public detail is limited to the CWE-367 classification and the CISA summary; exact trigger conditions, affected subsystems, and fixed versions must be confirmed against the vendor advisory before any environment-specific decisions.

How it works

CWE-367 describes a classic TOCTOU race: the kernel checks a condition (for example, a permission, file state, or resource attribute) and later uses that result, but an attacker can change the underlying state in the window between the check and the use. In a kernel context this often involves concurrent threads, processes, or user-controlled objects that race against privileged code paths.

An attacker who can influence the raced object may cause the kernel to act on stale or attacker-controlled data. Outcomes can include privilege escalation, information disclosure, or denial of service, consistent with the high impact CISA attributes to confidentiality, integrity, and availability. No public exploit mechanics or proof-of-concept details are supplied in the available facts, so defenders should treat any claimed exploit code as unverified until the vendor advisory is reviewed.

Am I affected? How to find it in your systems

The vulnerability resides in the Linux kernel, so any system running a Linux kernel—physical servers, virtual machines, containers that share the host kernel, cloud instances, and embedded devices—is potentially in scope. Inventory steps include:

Cloud and managed Kubernetes environments should also check the provider’s kernel image versions and any BOD 22-01 guidance that applies to the service.

How to remediate

The primary remediation is to apply the vendor-supplied kernel update that addresses CVE-2025-38352. Follow the distribution or upstream instructions exactly; rebuild or reboot as required so that the patched kernel is running. After patching:

Hardening measures that reduce the attack surface for kernel race conditions include restricting unprivileged user namespaces, limiting CAP_SYS_ADMIN and similar capabilities, and ensuring that only trusted code runs with elevated privileges. These steps complement, but do not replace, the vendor patch.

If you can't patch immediately

Until the patched kernel can be deployed, reduce risk with compensating controls:

Document the residual risk and the planned patch timeline so that leadership understands the exposure.

If your data may have been exposed

Actively exploited kernel vulnerabilities can lead to full host compromise and subsequent data exposure. Known ransomware use of this CVE is not documented, but any successful privilege escalation should be treated as a potential breach. Review access logs, check for unauthorized accounts or persistence mechanisms, and rotate credentials that may have been accessible from the affected host. As an additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether related credentials have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedLinux · Kernel
WeaknessCWE-367
CVSS base score7.8 (High)
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PublishedJul 22, 2025
Added to CISA KEVSep 4, 2025
Federal patch deadlineSep 25, 2025
Known ransomware useNot documented
Check if your data is exposed →

References

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities