draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

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

Exploited in attacks

Yes. CVE-2025-38352 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 4 September 2025. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 1.4%.

Exploited in real attacks
Yes. On CISA's exploited list since 4 September 2025
Used in ransomware
Not known
Public exploit code
None found in Exploit-DB, Metasploit or Nuclei
Chance of exploitation (EPSS)
1.4% in the next 30 days, higher than 73.3% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
7.8 High (version 3.1)
Affects
Linux Kernel
Type of flaw
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
Published
22 July 2025
US federal patch deadline
25 September 2025

What it is

Linux kernel contains a time-of-check time-of-use (TOCTOU) race condition vulnerability that has a high impact on confidentiality, integrity, and availability.

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.

Description from the CVE record.

Is CVE-2025-38352 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2025-38352 on 4 September 2025.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Linux Kernel runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Kernel. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in Linux products

CVEWhat it affectsStatusEPSSPublished
CVE-2026-46300Linux KernelPublic exploit23.6%23 May 2026
CVE-2025-39682Linux KernelNo public exploit found3.0%5 September 2025
CVE-2025-39964Linux KernelNo public exploit found1.6%13 October 2025
CVE-2026-53266Linux KernelNo public exploit found0.93%25 June 2026
CVE-2026-53362Linux KernelNo public exploit found1.3%4 July 2026
CVE-2022-0995Linux KernelPublic exploit8.9%25 March 2022

Sources

Machine-readable: /api/cve/CVE-2025-38352.json