CVE-2025-38352
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- v3.1•HIGH•Score: 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 1.25%• Percentile: 68%
Techniques & Countermeasures
- CWE-367•Time-of-check Time-of-use (TOCTOU) Race Condition
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
Affected Systems
- debian•linux
< 5.10.244-1 | < 6.1.147-1 | < 6.12.35-1 | < 6.12.35-1
- debian•linux-6.1
< 6.1.153-1~deb11u1
- ubuntu•linux
< 3.13.0-210.261 | < 4.4.0-274.308 | < 4.15.0-243.255 | < 5.4.0-223.243 | < 5.15.0-156.166 | < 6.8.0-87.88
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.4.0-1149.155 | < 4.4.0-1187.202 | < 4.15.0-1186.199 | < 5.4.0-1152.162 | < 5.15.0-1092.99 | < 6.8.0-1042.44
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1092.99~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1152.162~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.14
< 6.14.0-1013.13~24.04.1
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-6.8
< 6.8.0-1042.44~22.04.1
- ubuntu•linux-aws-fips
< 4.15.0-2124.130 | all | < 5.4.0-1152.162+fips1 | < 5.15.0-1092.99+fips1 | < 6.8.0-1042.44+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1186.199~16.04.1
- ubuntu•linux-azure
< 4.15.0-1194.209~14.04.1 | < 4.15.0-1194.209~16.04.1 | all | < 5.4.0-1156.163 | < 5.15.0-1096.105 | < 6.8.0-1044.50
- ubuntu•linux-azure-4.15
< 4.15.0-1194.209
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1096.105~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1156.163~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.11
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-6.8
< 6.8.0-1044.50~22.04.1
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all | all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fde-6.8
all
- ubuntu•linux-azure-fips
< 4.15.0-2104.110 | all | < 5.4.0-1157.164+fips1 | < 5.15.0-1096.105+fips1 | < 6.8.0-1044.50+fips1
- ubuntu•linux-azure-nvidia
< 6.8.0-1029.32
- ubuntu•linux-azure-nvidia-6.14
< 6.14.0-1007.7
- ubuntu•linux-bluefield
all | < 5.4.0-1111.118 | < 5.15.0-1076.78 | < 6.8.0-1013.17
- ubuntu•linux-fips
< 4.4.0-1119.126 | all | < 4.15.0-1141.153 | < 5.4.0-1126.136 | < 5.15.0-156.166+fips1 | < 6.8.0-87.88+fips1
- ubuntu•linux-gcp
< 4.15.0-1179.196~16.04.1 | all | < 5.4.0-1155.164 | < 5.15.0-1092.101 | < 6.8.0-1043.46
- ubuntu•linux-gcp-4.15
< 4.15.0-1179.196
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1092.101~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1155.164~18.04.1
Showing first 50 affected entries in server-rendered view.
References (61)
- https://git.kernel.org/stable/c/78a4b8e3795b31dae58762bc091bb0f4f74a2200
- https://git.kernel.org/stable/c/c076635b3a42771ace7d276de8dc3bc76ee2ba1b
- https://git.kernel.org/stable/c/2f3daa04a9328220de46f0d5c919a6c0073a9f0b
- https://git.kernel.org/stable/c/764a7a5dfda23f69919441f2eac2a83e7db6e5bb
- https://git.kernel.org/stable/c/2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff
- https://git.kernel.org/stable/c/c29d5318708e67ac13c1b6fc1007d179fb65b4d7
- https://git.kernel.org/stable/c/460188bc042a3f40f72d34b9f7fc6ee66b0b757b
- https://git.kernel.org/stable/c/f90fff1e152dedf52b932240ebbd670d83330eca
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-38352
- https://github.com/farazsth98/chronomaly
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://access.redhat.com/errata/RHSA-2025:15662
- https://access.redhat.com/security/updates/classification/#important
- https://bugzilla.redhat.com/show_bug.cgi?id=2382581
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_15662.json
- https://access.redhat.com/security/cve/CVE-2025-38352
- https://www.cve.org/CVERecord?id=CVE-2025-38352
- https://nvd.nist.gov/vuln/detail/CVE-2025-38352
- https://lore.kernel.org/linux-cve-announce/2025072229-CVE-2025-38352-f1de@gregkh/T
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://ubuntu.com/security/CVE-2025-38352
- https://git.kernel.org/linus/f90fff1e152dedf52b932240ebbd670d83330eca
- https://ubuntu.com/security/notices/USN-7769-1
- https://ubuntu.com/security/notices/USN-7770-1
- https://ubuntu.com/security/notices/USN-7771-1
- https://ubuntu.com/security/notices/USN-7769-2
- https://ubuntu.com/security/notices/USN-7774-1
- https://ubuntu.com/security/notices/USN-7774-2
- https://ubuntu.com/security/notices/USN-7774-3
- https://ubuntu.com/security/notices/USN-7775-1
- https://ubuntu.com/security/notices/USN-7776-1
- https://ubuntu.com/security/notices/USN-7769-3
- https://ubuntu.com/security/notices/USN-7775-2
- https://ubuntu.com/security/notices/USN-7775-3
- https://ubuntu.com/security/notices/USN-7789-1
- https://ubuntu.com/security/notices/USN-7774-4
- https://ubuntu.com/security/notices/USN-7774-5
- https://ubuntu.com/security/notices/USN-7789-2
- https://ubuntu.com/security/notices/USN-7853-1
- https://ubuntu.com/security/notices/USN-7853-2
- https://ubuntu.com/security/notices/USN-7854-1
- https://ubuntu.com/security/notices/USN-7861-1
- https://ubuntu.com/security/notices/USN-7863-1
- https://ubuntu.com/security/notices/USN-7861-2
- https://ubuntu.com/security/notices/USN-7864-1
- https://ubuntu.com/security/notices/USN-7853-3
- https://ubuntu.com/security/notices/USN-7865-1
- https://ubuntu.com/security/notices/USN-7861-3
- https://ubuntu.com/security/notices/USN-7874-1
- https://ubuntu.com/security/notices/USN-7874-2
- https://ubuntu.com/security/notices/USN-7861-5
- https://ubuntu.com/security/notices/USN-7874-3
- https://ubuntu.com/security/notices/USN-7935-1
- https://ubuntu.com/security/notices/USN-7937-1
- https://ubuntu.com/security/notices/USN-7939-1
- https://ubuntu.com/security/notices/USN-7939-2
- https://ubuntu.com/security/notices/USN-7940-1
- https://ubuntu.com/security/notices/USN-7940-2
- https://ubuntu.com/security/notices/USN-7986-1
- https://security-tracker.debian.org/tracker/CVE-2025-38352