This one can’t be reached from the internet, but it’s exactly the kind of bug attackers reach for once they’re already on your box.
At a glance
- CVE: CVE-2025-38352 — a race condition (leading to a use-after-free) in the Linux kernel’s POSIX CPU timer code.
- Severity: 7.8 (High) from the kernel’s CVE team. Red Hat’s own score is lower (4.7), but its advisory still calls out the privilege-escalation risk.
- Affected: Linux kernels from 2.6.36 up to (but not including) 5.4.295, 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34 and 6.15.3. Mainline is fixed from 6.16.
- Known exploited: Yes — it’s been on CISA’s KEV list since 2025-09-04. Google’s September 2025 Android bulletin said it may be under limited, targeted exploitation, and a public exploit called Chronomaly has since been published alongside a write-up series that started in December 2025.
What’s going on
Programs can set timers that fire after they’ve burned through a certain amount of CPU time. The bug is a race: if one of those timers fires just as a thread is exiting and being cleaned up, and at that exact moment another thread deletes the timer, the kernel can lose track and keep using memory it has already freed. That’s a use-after-free, and in the kernel it’s a well-worn path to full control of the machine.
The kernel’s CVE team points out that the attacker controls every side of the race from their own processes, no special permissions are needed, and real-world exploitation shows it can be won reliably. One wrinkle: the kernel’s own description says this race can’t happen on kernels built with CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y, and the Chronomaly author had to switch that option off to test the exploit. You can see your setting with grep POSIX_CPU_TIMERS_TASK_WORK /boot/config-$(uname -r), but treat that as background, not a reason to skip the update — distros have shipped the fix regardless.
What does that mean for a web server? This is a local privilege escalation. Nobody can trigger it with an HTTP request. But think about how servers usually get broken into: an outdated plugin, a sloppy upload form or a leaked password lets someone run code as www-data or your app’s user. On a patched kernel, they’re stuck as that low-privileged user. With a bug like this, they can climb to root — and then read every site’s files and database passwords, plant a backdoor and tidy up the logs. Shared hosting, CI runners and Docker or Kubernetes nodes running other people’s code are the setups to patch first, since containers share the host’s kernel.
Timeline
- Fix committed upstream: 2025-06-13 (commit
f90fff1e152d, released in 6.16-rc2) - Disclosed (CVE published): 2025-07-22
- Android bulletin flags targeted exploitation: 2025-09-02
- Added to CISA KEV: 2025-09-04
- Red Hat kernel updates: RHEL 8 on 2025-09-08, RHEL 9 and 10 on 2025-09-11
- Public exploit write-ups begin: 2025-12-22
== UPDATE ==
Fixed kernels have been out for over a year. The job is making sure you’re running one.
- Patch available: Yep.
- Fixed in: upstream 5.4.295, 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3 and 6.16. Distro packages: Debian 11
linux5.10.244-1 (orlinux-6.16.1.153-1~deb11u1), Debian 12 6.1.147-1; Ubuntu 20.04linux5.4.0-223.243, 22.04 5.15.0-156.166, 24.04 6.8.0-87.88; RHEL 8kernel-4.18.0-553.74.1.el8_10, RHEL 9kernel-5.14.0-570.42.2.el9_6, RHEL 10kernel-6.12.0-55.32.1.el10_0. - How to apply: install your distro’s kernel update and reboot — the old kernel keeps running until you do. On Debian/Ubuntu:
sudo apt update && sudo apt upgrade; on RHEL, Alma, Rocky or Fedora:sudo dnf upgrade --refresh. Thensudo rebootand checkuname -r. Your distro’s security tracker (linked below) lists the exact package for your release. - If you can’t patch yet: there’s no real workaround — Red Hat says no mitigation meets its bar. Until you can reboot into a fixed kernel, focus on keeping attackers from getting that first foothold: patch your web apps and plugins, run them as unprivileged users, and limit who has shell access.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-38352
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-38352
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f90fff1e152dedf52b932240ebbd670d83330eca
- https://source.android.com/docs/security/bulletin/2025-09-01
- https://github.com/farazsth98/chronomaly
- https://security-tracker.debian.org/tracker/CVE-2025-38352
- https://ubuntu.com/security/CVE-2025-38352
- https://access.redhat.com/security/cve/CVE-2025-38352