Skip to content
RedCVE

CVE-2025-38352Linux kernel POSIX CPU timers race condition

ExploitedLinuxDebianPublished:

CVSS score

7.8

High

CVSS 3.1 from 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Exploit probability (EPSS)

1.36%

1.36% chance of exploitation in the next 30 days, higher than 72.4% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 4 Sept 2025.

US federal deadline to fix: 25 Sept 2025.

In plain words

A local user with low privileges can exploit a race in the Linux kernel's POSIX CPU timer code, where an exiting task can be reaped while its timers are still being handled, potentially leading to privilege escalation. The flaw affects several stable kernel branches, including Debian 11, and CISA reports active exploitation. Install the kernel fixes from your distribution or vendor advisory and reboot, as the vendor's patched versions are the only reliable fix.

Official description

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.

Source: NVD · CNA: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 4 Sept 2025.

    US federal agencies must fix it by 25 Sept 2025. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
  2. Check whether you're affected

    Find every system running Linux Kernel, Debian Linux and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Linux Kernel to 5.4.295, 5.10.239, 5.15.186, 6.1.142 or later, on the branch you run.
  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  5. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
Linux Linux Kernel≥ 2.6.36, < 5.4.295 · ≥ 5.5, < 5.10.239 · ≥ 5.11, < 5.15.186 · ≥ 5.16, < 6.1.142 · ≥ 6.2, < 6.6.94 · ≥ 6.7, < 6.12.34
Debian Debian Linux11.0
Linux Linux≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < 78a4b8e3795b31dae58762bc091bb0f4f74a2200 · ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < c076635b3a42771ace7d276de8dc3bc76ee2ba1b · ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < 2f3daa04a9328220de46f0d5c919a6c0073a9f0b · ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < 764a7a5dfda23f69919441f2eac2a83e7db6e5bb · ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < 2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff · ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < c29d5318708e67ac13c1b6fc1007d179fb65b4d7

Weakness

  • CWE-367 time-of-check time-of-use race condition

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2025-38352 being exploited?

Yes. CISA added CVE-2025-38352 to its Known Exploited Vulnerabilities catalog on 4 Sept 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 1.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-38352?

CVE-2025-38352 has a CVSS 3.1 base score of 7.8 (high).

Which versions are affected?

Linux Linux Kernel (≥ 2.6.36, < 5.4.295; ≥ 5.5, < 5.10.239; ≥ 5.11, < 5.15.186; ≥ 5.16, < 6.1.142; ≥ 6.2, < 6.6.94; ≥ 6.7, < 6.12.34), Debian Debian Linux (11.0), Linux Linux (≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < 78a4b8e3795b31dae58762bc091bb0f4f74a2200; ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < c076635b3a42771ace7d276de8dc3bc76ee2ba1b; ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < 2f3daa04a9328220de46f0d5c919a6c0073a9f0b; ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < 764a7a5dfda23f69919441f2eac2a83e7db6e5bb; ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < 2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff; ≥ 0bdd2ed4138ec04e09b4f8165981efc99e439f55, < c29d5318708e67ac13c1b6fc1007d179fb65b4d7)

Is there a patch for CVE-2025-38352?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.