CVE-2025-38352
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.
Weakness
- CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Linux Kernel Time-of-Check Time-of-Use (TOCTOU) Race Condition Vulnerability |
|---|---|
| Vendor / product | Linux / Kernel |
| Date added | 2025-09-04 |
| Federal remediation due date | 2025-09-25 |
| 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. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2025-09-05 |
Timeline
- 2025-07-22Published by the CNA08:04 UTC
- 2025-09-04Added to the CISA KEV catalog44 days after publication
- 2025-09-05CISA SSVC decision recorded45 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | from 2.6.36 before 5.10.239fixed in 5.10.239from 5.5 before 5.10.239fixed in 5.10.239from 2.6.36 before 5.15.186fixed in 5.15.186from 5.11 before 5.15.186fixed in 5.15.186from 2.6.36 before 5.4.295fixed in 5.4.295(+10 more) | 5.10.2395.10.2395.15.1865.15.1865.4.295 |
| debian debian_linux | 11.0no fix listed | not listed |
References
- https://git.kernel.org/stable/c/2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff
- https://git.kernel.org/stable/c/2f3daa04a9328220de46f0d5c919a6c0073a9f0b
- https://git.kernel.org/stable/c/460188bc042a3f40f72d34b9f7fc6ee66b0b757b
- https://git.kernel.org/stable/c/764a7a5dfda23f69919441f2eac2a83e7db6e5bb
- https://git.kernel.org/stable/c/78a4b8e3795b31dae58762bc091bb0f4f74a2200
- https://git.kernel.org/stable/c/c076635b3a42771ace7d276de8dc3bc76ee2ba1b
- https://git.kernel.org/stable/c/c29d5318708e67ac13c1b6fc1007d179fb65b4d7
- https://git.kernel.org/stable/c/f90fff1e152dedf52b932240ebbd670d83330eca
- https://github.com/farazsth98/chronomaly
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-38352
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-38352'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-38352'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-38352'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-38352'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2025-38352'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).