CVE-2025-38352

posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()

HIGH
7.8
CVSS Score
Published: July 22, 2025 at 08:04 AM UTC
Updated: September 8, 2026 at 06:29 PM UTC
10 products affected across 3 vendorsLinux KernelEnterprise LinuxDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploitation
CISA KEV
Exploit prediction
EPSS 1%
SSVC
Active

Actively Exploited

CISA Known Exploited Vulnerabilities (KEV) Catalog

EPSS Score1.4%

EPSS (Exploit Prediction Scoring System) estimates a 1.4% chance this CVE is exploited in the wild within the next 30 days — higher than 72% of all CVEs. It complements CVSS: a high EPSS on a mid-severity CVE can still be urgent.

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

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.
Ransomware Use
Unknown
Added to KEV
Sep 4, 2025
Remediation Due
Sep 25, 2025
423 days overdue

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.36 ≤ v < 5.10.2392.6.36 ≤ v < 5.15.1862.6.36 ≤ v < 5.4.2952.6.36 ≤ v < 6.1.1422.6.36 ≤ v < 6.12.342.6.36 ≤ v < 6.15.32.6.36 ≤ v < 6.162.6.36 ≤ v < 6.6.945.11 ≤ v < 5.15.1865.16 ≤ v < 6.1.1425.5 ≤ v < 5.10.2396.13 ≤ v < 6.15.36.2 ≤ v < 6.6.946.7 ≤ v < 6.12.340bdd2ed4138ec04e09b4f8165981efc99e439f556.16 rc1

Fix versions

  • 2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff (fixed)
  • 2f3daa04a9328220de46f0d5c919a6c0073a9f0b (fixed)
  • 460188bc042a3f40f72d34b9f7fc6ee66b0b757b (fixed)
  • 764a7a5dfda23f69919441f2eac2a83e7db6e5bb (fixed)
  • 78a4b8e3795b31dae58762bc091bb0f4f74a2200 (fixed)

Fix versions

Fix versions

Fix versions

Fix versions

  • kernel 3.10.0-1160.139.1.el7Red Hat Enterprise Linux Server (v. 7 ELS)
  • kernel-debug-devel 3.10.0-1160.139.1.el7Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • kernel-debuginfo-common-ppc64 3.10.0-1160.139.1.el7Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • kernel-debuginfo-common-ppc64le 3.10.0-1160.139.1.el7Red Hat Enterprise Linux Server Optional (v. 7 ELS)
  • kernel-debuginfo-common-x86_64 3.10.0-1160.139.1.el7Red Hat Enterprise Linux Server Optional (v. 7 ELS)

Fix versions

Fix versions

Fix versions

Fix versions

References (12)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2f3daa04a9328220de46f0d5c919a6c0073a9f0b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/460188bc042a3f40f72d34b9f7fc6ee66b0b757b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/764a7a5dfda23f69919441f2eac2a83e7db6e5bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/78a4b8e3795b31dae58762bc091bb0f4f74a2200
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c076635b3a42771ace7d276de8dc3bc76ee2ba1b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c29d5318708e67ac13c1b6fc1007d179fb65b4d7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f90fff1e152dedf52b932240ebbd670d83330eca

SSVC — Action Prioritization

SSVCActiveNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusANALYZED
CWE
CWE-367

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card

This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE records are from the CVE Program (CVE.org).