CVE-2025-38352: Local Privilege Escalation in Linux Kernel POSIX CPU Timer Handling
- Vendors
- Debian ProjectLinux
CVE-2025-38352 is a race condition in Linux kernel POSIX CPU timer handling between handle_posix_cpu_timers() and posix_cpu_timer_del(). An exiting, non-autoreaping task that has passed exit_notify() can invoke timer handling from interrupt context and then be reaped by its parent or debugger immediately after unlock_task_sighand(). Concurrent timer deletion may fail to detect that the timer is firing because cpu_timer_task_rcu() or lock_task_sighand() fails, potentially resulting in use-after-free. A local attacker can exploit the flaw to escalate privileges or crash the system. The vulnerability was introduced in Linux 2.6.36. The fix adds a tsk->exit_state check to run_posix_cpu_timers(). Kernels built with CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y avoid this specific race because exit_task_work() precedes exit_notify().
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause local privilege escalation or a kernel crash and denial of service. Elevated privileges can compromise system confidentiality and integrity, including access to protected data and unauthorized modification of system resources. Targeted exploitation has been reported on Android, where malicious applications have used the vulnerability to expand their permissions. Affected HP Workpath devices also have a vendor-documented denial-of-service impact.
Mitigation
If you can’t patch tonight, do this now.
No general runtime workaround is established; Red Hat reports no mitigation meeting its product-security criteria. Until patched, restrict untrusted local code execution and installation of untrusted applications to reduce exposure. CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y prevents the specific vulnerable ordering, but it is a kernel build configuration rather than a runtime toggle. On affected HP printers, disable the Workpath Platform through the Embedded Web Server or a fleet-management tool until updated firmware is installed.
Remediation
Patch, then assume compromise.
Install the latest vendor-supported kernel or device update containing the exit-state check in run_posix_cpu_timers(), and reboot as required to activate it. Upstream fixed releases include 5.4.295, 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3, and 6.16-rc2; use a current supported release rather than cherry-picking the individual fix. Distribution kernels may contain backported fixes under different version numbers. For Google Container-Optimized OS, update csql-kernel-6_1 and lakitu-kernel-6_1 packages to 18244.448.6 or later. For Android, install vendor updates providing security patch level 2025-09-05 or later. For affected HP Workpath devices, install the exact model-specific FS 5.10.0.7 firmware build or a later supported release.
Exploits
7 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-38352 exploited in the wild?
- Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 4, 2025.
- Is there a public exploit for CVE-2025-38352?
- Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2025-38352, the earliest disclosed Dec 16, 2024.
- Is there a patch for CVE-2025-38352?
- Install the latest vendor-supported kernel or device update containing the exit-state check in run_posix_cpu_timers(), and reboot as required to activate it. Upstream fixed releases include 5.4.295, 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3, and 6.16-rc2; use a current supported release rather than cherry-picking the individual fix.
- What products are affected by CVE-2025-38352?
- Linux Kernel and Debian Project Debian Linux.
- How severe is CVE-2025-38352?
- CVE-2025-38352 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.67% (47th percentile) as of Nov 19, 2026.
Recent activity
172 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.