CVE-2025-38352
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-38352 is a race condition (use-after-free) vulnerability in the Linux kernel's POSIX CPU timers subsystem, specifically between the handle_posix_cpu_timers() and posix_cpu_timer_del() functions. It affects Linux kernel versions from 2.6.36 through multiple stable branches, with fixed versions at 5.4.295, 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, and 6.15.3. The vulnerability was published on July 22, 2025, and was included in Google's Android September 2025 Security Bulletin, affecting Android devices running vulnerable kernel versions. It carries a CVSS v3.1 base score of 7.4 (High) (Red Hat Advisory, Android Bulletin).

Technical details

The root cause is a TOCTOU (Time-of-Check Time-of-Use) race condition (CWE-362, CWE-367) in the Linux kernel's posix-cpu-timers implementation. When an exiting non-autoreaping task has passed exit_notify() and calls handle_posix_cpu_timers() from an IRQ context, it can be reaped by its parent or debugger immediately after unlock_task_sighand(). A concurrent posix_cpu_timer_del() executing at that moment fails to detect timer->it.cpu.firing != 0 because cpu_timer_task_rcu() and/or lock_task_sighand() operations fail on the already-reaped task, leading to a use-after-free condition. The fix adds a tsk->exit_state check into run_posix_cpu_timers() to prevent this race. A public PoC exploit named "chronomaly" was released in January 2026 (GitHub chronomaly, Security Online).

Impact

Successful exploitation allows an unauthenticated local user to execute arbitrary code with kernel privileges or crash the kernel, resulting in high confidentiality, integrity, and availability impact. On Android devices, this translates to a local privilege escalation to root, enabling full device compromise, data exfiltration, and persistent access. The vulnerability affects a broad range of Linux-based systems including Android smartphones, servers running unpatched kernels, and embedded devices, with the potential for lateral movement once kernel-level access is achieved (Red Hat Advisory, BleepingComputer).

Exploitability

CVE-2025-38352 has been confirmed as actively exploited in the wild and was added to CISA's Known Exploited Vulnerabilities (KEV) catalog on September 4, 2025 (CISA KEV). A functional public PoC exploit named "chronomaly" was released in January 2026 by researcher farazsth98, demonstrating root access on vulnerable Linux kernels (GitHub chronomaly, CyberPress). Google's Threat Intelligence Group included this CVE in its 2025 zero-day review, and Lookout confirmed targeted exploitation against Android devices (Google TI Blog, Lookout). The EPSS score is approximately 0.024% (0.000240), though active exploitation has been confirmed independently of this score.

Exploitation steps

  1. Reconnaissance: Identify target systems running vulnerable Linux kernel versions (2.6.36 through pre-patch versions: <5.4.295, <5.10.239, <5.15.186, <6.1.142, <6.6.94, <6.12.34, or <6.15.3), including Android devices or Linux servers.
  2. Gain local access: Obtain unprivileged local code execution on the target system (e.g., via a shell, app sandbox escape, or existing low-privilege account).
  3. Trigger the race condition: Use the "chronomaly" PoC or a custom exploit to create a non-autoreaping process that sets up POSIX CPU timers, then causes the process to exit while simultaneously triggering posix_cpu_timer_del() from a concurrent thread, racing against handle_posix_cpu_timers() being called from IRQ context after exit_notify().
  4. Exploit use-after-free: The race causes posix_cpu_timer_del() to operate on a freed task structure, enabling controlled kernel memory corruption via the use-after-free primitive.
  5. Achieve kernel code execution: Leverage the memory corruption to overwrite kernel function pointers or credentials structures, escalating privileges to root (UID 0) and gaining full kernel-level code execution (GitHub chronomaly, Security Online).

Indicators of compromise

  • Process: Unusual processes spawning with UID 0 (root) from non-privileged parent processes; unexpected sh or shell processes with elevated privileges; processes rapidly forking and exiting in tight loops.
  • Logs: Kernel oops or BUG messages in dmesg or /var/log/kern.log referencing posix_cpu_timer_del, run_posix_cpu_timers, or handle_posix_cpu_timers; use-after-free KASAN reports if kernel debugging is enabled.
  • File System: Unexpected SUID binaries or new files created in /tmp, /dev/shm, or world-writable directories; modifications to /etc/passwd or /etc/sudoers by non-root processes.
  • Network: Unexpected outbound connections from processes running as root that were previously unprivileged; reverse shell connections originating from kernel-spawned processes.
  • Behavioral: Sudden privilege escalation of a process observable via auditd logs (syscall setuid/setgid to 0 from non-root context); exploitation tools matching the "chronomaly" binary signature (GitHub chronomaly, CISA KEV).

Mitigation and workarounds

Apply kernel updates immediately to patched versions: 5.4.295, 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, or 6.15.3 depending on your kernel branch. For Android devices, apply the September 2025 Android Security Bulletin patch or later (Android Bulletin). Major Linux distributions including Red Hat (RHSA-2025:15472 and related), Ubuntu (USN-7769-1 and related), SUSE, AlmaLinux, and Debian have all released patched kernel packages. IBM Netezza Appliance users should refer to IBM advisory node/7270538. No configuration-based workaround is available; patching is the only remediation. Systems with CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y are less exposed but should still be patched (Red Hat Advisory, IBM Advisory).

Community reactions

Google confirmed active exploitation of CVE-2025-38352 in targeted attacks in its September 2025 Android Security Bulletin, and the vulnerability received significant media coverage from BleepingComputer, SecurityWeek, The Register, Forbes, and Help Net Security (BleepingComputer, SecurityWeek). Forbes noted that over 1 billion Android phones running older kernel versions may lack an immediate fix (Forbes). CISA added the vulnerability to its KEV catalog on September 4, 2025, mandating federal agency remediation. When the "chronomaly" PoC was released in January 2026, it generated renewed community discussion on social media platforms including Bluesky and Mastodon, with security researchers highlighting the practical exploitability of the race condition (Security Online, Google TI Blog).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management