CVE-2025-38352

HIGH KEV

Linux Kernel < 5.4.295 - TOCTOU Race Condition

Title source: rule

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.

Exploits (7)

nomisec WORKING POC 273 stars
by farazsth98 · local
https://github.com/farazsth98/chronomaly
nomisec WORKING POC 91 stars
by farazsth98 · local
https://github.com/farazsth98/poc-CVE-2025-38352
github WORKING POC 2 stars
by adminlove520 · pythonpoc
https://github.com/adminlove520/CVE-Poc_All_in_One/tree/main/2025/CVE-2025-38352
nomisec WORKING POC 1 stars
by Soikoth3010 · poc
https://github.com/Soikoth3010/chronomaly
nomisec WORKING POC
by jordelmir · poc
https://github.com/jordelmir/Elysium-Vanguard-Sentinel-Audit
nomisec SUSPICIOUS
by Soikoth3010 · poc
https://github.com/Soikoth3010/soikoth3010.github.io
nomisec WORKING POC
by Crime2 · poc
https://github.com/Crime2/poc-CVE-2025-38352

Scores

CVSS v3 7.4
EPSS 0.0010
EPSS Percentile 27.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CISA KEV 2025-09-04
VulnCheck KEV 2025-09-01
ENISA EUVD EUVD-2025-22297
CWE
CWE-367
Status published
Products (10)
debian/debian_linux 11.0
linux/Kernel 2.6.36 - 5.4.295linux
linux/Kernel 5.11.0 - 5.15.186linux
linux/Kernel 5.16.0 - 6.1.142linux
linux/Kernel 5.5.0 - 5.10.239linux
linux/Kernel 6.13.0 - 6.15.3linux
linux/Kernel 6.2.0 - 6.6.94linux
linux/Kernel 6.7.0 - 6.12.34linux
linux/linux_kernel 6.16 rc1
linux/linux_kernel 2.6.36 - 5.4.295
Published Jul 22, 2025
KEV Added Sep 04, 2025
Tracked Since Feb 18, 2026