CVE-2025-38352: Linux Kernel Time-of-Check Time-of-Use (TOCTOU) Race Condition
Linux Kernel · listed in the CISA catalog of actively exploited vulnerabilities since 2025-09-04.
- CVSS v3.1 (CVE record)
- 7.8
- high
- EPSS (exploit probability, 30 days)
- 1.4%
- higher than 72.3% of all CVEs
- Added to CISA KEV
- 2025-09-04
- US federal due date 2025-09-25
- Ubuntu priority
- high
What is CVE-2025-38352?
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.
CISA 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.
CISA notes
- This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/…
- source.android.com/docs/security/bulletin/2025-09-01
- nvd.nist.gov/vuln/detail/CVE-2025-38352
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- LinuxAffectedFixed in
- 2.6.36
not stated
| Product | Affected | Fixed in |
|---|---|---|
| Linux |
| not stated |
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 24.04 LTS·linux
Fixed: 6.8.0-87.88
Ubuntu 22.04 LTS·linux
Fixed: 5.15.0-156.166
Ubuntu 20.04 LTS·linux
fix via Ubuntu Pro
Fixed: 5.4.0-223.243
Ubuntu 18.04 LTS·linux
fix via Ubuntu Pro
Fixed: 4.15.0-243.255
Ubuntu 16.04 LTS·linux
fix via Ubuntu Pro
Fixed: 4.4.0-274.308
Ubuntu 14.04 LTS·linux
fix via Ubuntu Pro
Fixed: 3.13.0-210.261
Debian 12 (bookworm)·linux
Fixed: 6.1.147-1
140 more Ubuntu kernel flavours (cloud, HWE, low-latency, real-time …) – 181 release entries
- 25.10 linux-azure-fde: no fixed version published
- 24.04 linux-aws: 6.8.0-1042.44
- 24.04 linux-aws-6.14: 6.14.0-1013.13~24.04.1
- 24.04 linux-azure: 6.8.0-1044.50
- 24.04 linux-azure-6.11: no fixed version published
- 24.04 linux-azure-fde: 6.8.0-1046.53
- 24.04 linux-azure-nvidia: 6.8.0-1029.32
- 24.04 linux-azure-nvidia-6.14: 6.14.0-1007.7
- 24.04 linux-gcp: 6.8.0-1043.46
- 24.04 linux-gcp-6.11: no fixed version published
- 24.04 linux-gcp-6.14: 6.14.0-1016.17~24.04.1
- 24.04 linux-gke: 6.8.0-1039.44
- 24.04 linux-gkeop: 6.8.0-1026.29
- 24.04 linux-hwe-6.11: no fixed version published
- 24.04 linux-ibm: 6.8.0-1040.40
- 24.04 linux-intel: no fixed version published
- 24.04 linux-lowlatency: 6.8.0-87.88.1
- 24.04 linux-lowlatency-hwe-6.11: no fixed version published
- 24.04 linux-nvidia: 6.8.0-1042.45
- 24.04 linux-nvidia-6.11: 6.11.0-1016.16
- 24.04 linux-nvidia-lowlatency: 6.8.0-1042.45.1
- 24.04 linux-nvidia-tegra: 6.8.0-1012.12
- 24.04 linux-oem-6.11: no fixed version published
- 24.04 linux-oem-6.14: 6.14.0-1012.12
- 24.04 linux-oem-6.8: no fixed version published
- 24.04 linux-oracle: 6.8.0-1039.40
- 24.04 linux-oracle-6.14: 6.14.0-1013.13~24.04.1
- 24.04 linux-raspi: 6.8.0-1042.46
- 24.04 linux-riscv: no fixed version published
- 24.04 linux-riscv-6.14: 6.14.0-32.32.1~24.04.1
- 24.04 linux-xilinx: 6.8.0-1019.20
- 24.04 linux-raspi-realtime (Pro): 6.8.0-2033.34
- 24.04 linux-realtime (Pro): 6.8.1-1037.38
- 24.04 linux-realtime-6.14 (Pro): 6.14.0-1012.12~24.04.1
- 22.04 linux-allwinner-5.19: no fixed version published
- 22.04 linux-aws: 5.15.0-1092.99
- 22.04 linux-aws-5.19: no fixed version published
- 22.04 linux-aws-6.2: no fixed version published
- 22.04 linux-aws-6.5: no fixed version published
- 22.04 linux-aws-6.8: 6.8.0-1042.44~22.04.1
- 22.04 linux-azure: 5.15.0-1096.105
- 22.04 linux-azure-5.19: no fixed version published
- 22.04 linux-azure-6.2: no fixed version published
- 22.04 linux-azure-6.5: no fixed version published
- 22.04 linux-azure-6.8: 6.8.0-1044.50~22.04.1
- 22.04 linux-azure-fde: 5.15.0-1096.105.1
- 22.04 linux-azure-fde-5.19: no fixed version published
- 22.04 linux-azure-fde-6.2: no fixed version published
- 22.04 linux-azure-fde-6.8: 6.8.0-1046.53~22.04.1
- 22.04 linux-gcp: 5.15.0-1092.101
- 22.04 linux-gcp-5.19: no fixed version published
- 22.04 linux-gcp-6.2: no fixed version published
- 22.04 linux-gcp-6.5: no fixed version published
- 22.04 linux-gcp-6.8: 6.8.0-1043.46~22.04.1
- 22.04 linux-gke: 5.15.0-1089.95
- 22.04 linux-gkeop: 5.15.0-1075.83
- 22.04 linux-hwe-5.19: no fixed version published
- 22.04 linux-hwe-6.2: no fixed version published
- 22.04 linux-hwe-6.5: no fixed version published
- 22.04 linux-hwe-6.8: 6.8.0-87.88~22.04.1
- 22.04 linux-ibm: 5.15.0-1086.89
- 22.04 linux-ibm-6.8: 6.8.0-1040.40~22.04.1
- 22.04 linux-intel-iotg: 5.15.0-1087.93
- 22.04 linux-kvm: 5.15.0-1088.93
- 22.04 linux-lowlatency: 5.15.0-156.166
- 22.04 linux-lowlatency-hwe-5.19: no fixed version published
- 22.04 linux-lowlatency-hwe-6.2: no fixed version published
- 22.04 linux-lowlatency-hwe-6.5: no fixed version published
- 22.04 linux-lowlatency-hwe-6.8: 6.8.0-87.88.1~22.04.1
- 22.04 linux-nvidia: 5.15.0-1087.88
- 22.04 linux-nvidia-6.2: no fixed version published
- 22.04 linux-nvidia-6.5: no fixed version published
- 22.04 linux-nvidia-6.8: 6.8.0-1042.45~22.04.1
- 22.04 linux-nvidia-tegra: 5.15.0-1045.45
- 22.04 linux-nvidia-tegra-igx: 5.15.0-1034.34
- 22.04 linux-oem-5.17: no fixed version published
- 22.04 linux-oem-6.0: no fixed version published
- 22.04 linux-oem-6.1: no fixed version published
- 22.04 linux-oem-6.5: no fixed version published
- 22.04 linux-oracle: 5.15.0-1090.96
- 22.04 linux-oracle-6.5: no fixed version published
- 22.04 linux-oracle-6.8: 6.8.0-1039.40~22.04.1
- 22.04 linux-raspi: 5.15.0-1086.89
- 22.04 linux-riscv: no fixed version published
- 22.04 linux-riscv-5.19: no fixed version published
- 22.04 linux-riscv-6.5: no fixed version published
- 22.04 linux-riscv-6.8: 6.8.0-87.88~22.04.1
- 22.04 linux-starfive-5.19: no fixed version published
- 22.04 linux-starfive-6.2: no fixed version published
- 22.04 linux-starfive-6.5: no fixed version published
- 22.04 linux-xilinx-zynqmp: 5.15.0-1056.60
- 22.04 linux-intel-iot-realtime (Pro): 5.15.0-1085.87
- 22.04 linux-realtime (Pro): 5.15.0-1092.101
- 22.04 linux-realtime-6.8 (Pro): 6.8.1-1037.38~22.04.1
- 20.04 linux-aws-5.11: no fixed version published
- 20.04 linux-aws-5.13: no fixed version published
- 20.04 linux-aws-5.8: no fixed version published
- 20.04 linux-azure-5.11: no fixed version published
- 20.04 linux-azure-5.13: no fixed version published
- 20.04 linux-azure-5.8: no fixed version published
- 20.04 linux-azure-fde: no fixed version published
- 20.04 linux-gcp-5.11: no fixed version published
- 20.04 linux-gcp-5.13: no fixed version published
- 20.04 linux-gcp-5.8: no fixed version published
- 20.04 linux-gke: no fixed version published
- 20.04 linux-gke-5.15: no fixed version published
- 20.04 linux-gkeop: no fixed version published
- 20.04 linux-gkeop-5.15: no fixed version published
- 20.04 linux-hwe-5.11: no fixed version published
- 20.04 linux-hwe-5.13: no fixed version published
- 20.04 linux-hwe-5.8: no fixed version published
- 20.04 linux-intel-5.13: no fixed version published
- 20.04 linux-oem-5.10: no fixed version published
- 20.04 linux-oem-5.13: no fixed version published
- 20.04 linux-oem-5.14: no fixed version published
- 20.04 linux-oem-5.6: no fixed version published
- 20.04 linux-oracle-5.11: no fixed version published
- 20.04 linux-oracle-5.13: no fixed version published
- 20.04 linux-oracle-5.8: no fixed version published
- 20.04 linux-raspi2: no fixed version published
- 20.04 linux-riscv: no fixed version published
- 20.04 linux-riscv-5.11: no fixed version published
- 20.04 linux-riscv-5.8: no fixed version published
- 20.04 linux-aws (Pro): 5.4.0-1152.162
- 20.04 linux-aws-5.15 (Pro): 5.15.0-1092.99~20.04.1
- 20.04 linux-azure (Pro): 5.4.0-1156.163
- 20.04 linux-azure-5.15 (Pro): 5.15.0-1096.105~20.04.1
- 20.04 linux-bluefield (Pro): 5.4.0-1111.118
- 20.04 linux-gcp (Pro): 5.4.0-1155.164
- 20.04 linux-gcp-5.15 (Pro): 5.15.0-1092.101~20.04.1
- 20.04 linux-hwe-5.15 (Pro): 5.15.0-156.166~20.04.1
- 20.04 linux-ibm (Pro): 5.4.0-1098.103
- 20.04 linux-ibm-5.15 (Pro): 5.15.0-1086.89~20.04.1
- 20.04 linux-intel-iotg-5.15 (Pro): 5.15.0-1087.93~20.04.1
- 20.04 linux-iot (Pro): 5.4.0-1056.59
- 20.04 linux-kvm (Pro): 5.4.0-1139.148
- 20.04 linux-lowlatency-hwe-5.15 (Pro): 5.15.0-156.166~20.04.1
- 20.04 linux-nvidia-tegra-5.15 (Pro): 5.15.0-1045.45~20.04.1
- 20.04 linux-oracle (Pro): 5.4.0-1150.160
- 20.04 linux-oracle-5.15 (Pro): 5.15.0-1090.96~20.04.1
- 20.04 linux-raspi (Pro): 5.4.0-1135.148
- 20.04 linux-riscv-5.15 (Pro): 5.15.0-1087.91~20.04.1
- 20.04 linux-xilinx-zynqmp (Pro): 5.4.0-1070.74
- 18.04 linux-aws-5.0: no fixed version published
- 18.04 linux-aws-5.3: no fixed version published
- 18.04 linux-azure: no fixed version published
- 18.04 linux-azure-5.3: no fixed version published
- 18.04 linux-azure-edge: no fixed version published
- 18.04 linux-gcp: no fixed version published
- 18.04 linux-gcp-5.3: no fixed version published
- 18.04 linux-gke-4.15: no fixed version published
- 18.04 linux-gke-5.4: no fixed version published
- 18.04 linux-gkeop-5.4: no fixed version published
- 18.04 linux-hwe: no fixed version published
- 18.04 linux-hwe-edge: no fixed version published
- 18.04 linux-oem: no fixed version published
- 18.04 linux-oracle-5.0: no fixed version published
- 18.04 linux-oracle-5.3: no fixed version published
- 18.04 linux-aws (Pro): 4.15.0-1186.199
- 18.04 linux-aws-5.4 (Pro): 5.4.0-1152.162~18.04.1
- 18.04 linux-azure-4.15 (Pro): 4.15.0-1194.209
- 18.04 linux-azure-5.4 (Pro): 5.4.0-1156.163~18.04.1
- 18.04 linux-gcp-4.15 (Pro): 4.15.0-1179.196
- 18.04 linux-gcp-5.4 (Pro): 5.4.0-1155.164~18.04.1
- 18.04 linux-hwe-5.4 (Pro): 5.4.0-223.243~18.04.1
- 18.04 linux-ibm-5.4 (Pro): 5.4.0-1098.103~18.04.1
- 18.04 linux-kvm (Pro): 4.15.0-1168.173
- 18.04 linux-oracle (Pro): 4.15.0-1148.159
- 18.04 linux-oracle-5.4 (Pro): 5.4.0-1150.160~18.04.1
- 18.04 linux-raspi-5.4 (Pro): 5.4.0-1135.148~18.04.1
- 16.04 linux-hwe-edge: no fixed version published
- 16.04 linux-aws (Pro): 4.4.0-1187.202
- 16.04 linux-aws-hwe (Pro): 4.15.0-1186.199~16.04.1
- 16.04 linux-azure (Pro): 4.15.0-1194.209~16.04.1
- 16.04 linux-gcp (Pro): 4.15.0-1179.196~16.04.1
- 16.04 linux-hwe (Pro): 4.15.0-243.255~16.04.1
- 16.04 linux-kvm (Pro): 4.4.0-1150.161
- 16.04 linux-oracle (Pro): 4.15.0-1148.159~16.04.1
- 14.04 linux-aws (Pro): 4.4.0-1149.155
- 14.04 linux-azure (Pro): 4.15.0-1194.209~14.04.1
- 14.04 linux-lts-xenial (Pro): 4.4.0-274.308~14.04.1
Check and fix on a server
Kernel fixes arrive as a new kernel package (new ABI) through the metapackages, so upgrade the whole system and boot into the new kernel.
1. Show the running kernel and the version of its package
uname -r && dpkg-query -W -f='${Version}\n' "linux-image-$(uname -r)"2. Compare with the fixed version for your release and kernel flavour from the table
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the new kernel, then reboot (or apply a livepatch)
sudo apt update && sudo apt full-upgrade && sudo rebootOn Debian, signed kernel images come from the linux-signed-* source packages; the version to compare is the same.
Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
Vendor
Other advisories
Trackers and catalogs
- Ubuntu CVE tracker
- Debian security tracker
- Ubuntu USN-7769-1
- Ubuntu USN-7769-2
- Ubuntu USN-7769-3
- Ubuntu USN-7770-1
- Ubuntu USN-7771-1
- Ubuntu USN-7774-1
- Ubuntu USN-7774-2
- Ubuntu USN-7774-3
- Ubuntu USN-7774-4
- Ubuntu USN-7774-5
- Ubuntu USN-7775-1
- Ubuntu USN-7775-2
- Ubuntu USN-7775-3
- Ubuntu USN-7776-1
- Ubuntu USN-7789-1
- Ubuntu USN-7789-2
- Ubuntu USN-7853-1
- Ubuntu USN-7853-2
- Ubuntu USN-7853-3
- Ubuntu USN-7854-1
- Ubuntu USN-7861-1
- Ubuntu USN-7861-2
- Ubuntu USN-7861-3
- Ubuntu USN-7861-5
- Ubuntu USN-7863-1
- Ubuntu USN-7864-1
- Ubuntu USN-7865-1
- Ubuntu USN-7874-1
- Ubuntu USN-7874-2
- Ubuntu USN-7874-3
- Ubuntu USN-7935-1
- Ubuntu USN-7937-1
- Ubuntu USN-7939-1
- Ubuntu USN-7939-2
- Ubuntu USN-7940-1
- Ubuntu USN-7940-2
- Ubuntu USN-7986-1
- CVE record (cve.org)
- NVD
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.