Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2025-38352

posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()
Back to all
CVE

CVE-2025-38352

posix-cpu-timers: fix race between handle_posix_cpu_timers() and posix_cpu_timer_del()

In the Linux kernel, the following vulnerability has been resolved:

posix-cpu-timers: fix race between handleposixcputimers() and posixcputimerdel()

If an exiting non-autoreaping task has already passed exit_notify() and

calls handleposixcpu_timers() from IRQ, it can be reaped by its parent

or debugger right after unlocktasksighand().

If a concurrent posixcputimer_del() runs at that moment, it won't be

able to detect timer->it.cpu.firing != 0: cputimertask_rcu() and/or

locktasksighand() will fail.

Add the tsk->exitstate check into runposixcputimers() to fix this.

This fix is not needed if CONFIGPOSIXCPUTIMERSTASK_WORK=y, because

exittaskwork() is called before exit_notify(). But the check still

makes sense, taskworkadd(&tsk->posixcputimerswork.work) will fail

anyway in this case.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.4
-
3.1
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git, https://git.kernel.org/stable/c/2c72fe18cc5f9f1750f5bc148cf1c94c29e106ff, https://git.kernel.org/stable/c/2f3daa04a9328220de46f0d5c919a6c0073a9f0b, https://git.kernel.org/stable/c/460188bc042a3f40f72d34b9f7fc6ee66b0b757b, https://git.kernel.org/stable/c/764a7a5dfda23f69919441f2eac2a83e7db6e5bb, https://git.kernel.org/stable/c/78a4b8e3795b31dae58762bc091bb0f4f74a2200, https://git.kernel.org/stable/c/c076635b3a42771ace7d276de8dc3bc76ee2ba1b, https://git.kernel.org/stable/c/c29d5318708e67ac13c1b6fc1007d179fb65b4d7, https://git.kernel.org/stable/c/f90fff1e152dedf52b932240ebbd670d83330eca, https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38352.json, https://github.com/farazsth98/chronomaly, https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html, https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html, https://nvd.nist.gov/vuln/detail/CVE-2025-38352, https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-38352

Severity

7.4

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.4
EPSS Probability
0.00247%
EPSS Percentile
0.47775%
Introduced Version
0bdd2ed4138ec04e09b4f8165981efc99e439f55,2.6.36,5.5.0,5.11.0,5.16.0,6.2.0,6.7.0,6.13.0,0
Fix Available
f90fff1e152dedf52b932240ebbd670d83330eca,5.4.295,5.10.239,5.15.186,6.1.142,6.6.94,6.12.34,6.15.3,0:4.18.0-553.74.1.rt7.415.el8_10,0:1-8.el8_10,0:1-7.el8_10,0:1-5.el8_10,0:1-3.el8_10,0:1-1.el8_10,0:4.18.0-553.74.1.el8_10,0:1-8.el9_6,0:1-1.el9_6,0:5.14.0-570.42.2.el9_6,6.1.147-1,5.10.244-1,6.1.153-1~deb11u1,6.12.35-1,0:6.8.0-87.88,0:6.8.0-1042.44,0:6.14.0-1013.13~24.04.1,0:6.8.0-1044.50,0:6.8.0-1043.46,0:6.8.0-1039.44,0:6.8.0-1026.29,0:6.8.0-1040.40,0:6.8.0-87.88.1,0:6.8.0-1042.45,0:6.8.0-1042.45.1,0:6.8.0-1012.12,0:6.8.0-1039.40,0:6.14.0-1012.12,0:6.8.0-1042.46,0:6.14.0-1016.17~24.04.1,0:6.14.0-32.32~24.04.1,0:6.11.0-1016.16,0:6.14.0-1007.7,0:6.8.0-1019.20,0:4.15.0-243.255,0:5.4.0-223.243~18.04.1,0:4.15.0-1168.173,0:4.15.0-1186.199,0:5.4.0-1152.162~18.04.1,0:4.15.0-1194.209,0:5.4.0-1156.163~18.04.1,0:4.15.0-1179.196,0:5.4.0-1155.164~18.04.1,0:5.4.0-1098.103~18.04.1,0:4.15.0-1148.159,0:5.4.0-1150.160~18.04.1,0:5.4.0-1135.148~18.04.1,0:5.4.0-223.243,0:5.15.0-156.166~20.04.1,0:5.4.0-1139.148,0:5.4.0-1152.162,0:5.15.0-1092.99~20.04.1,0:5.4.0-1156.163,0:5.15.0-1096.105~20.04.1,0:5.4.0-1155.164,0:5.15.0-1092.101~20.04.1,0:5.4.0-1098.103,0:5.15.0-1086.89~20.04.1,0:5.15.0-1087.93~20.04.1,0:5.4.0-1056.59,0:5.15.0-1045.45~20.04.1,0:5.4.0-1150.160,0:5.15.0-1090.96~20.04.1,0:5.4.0-1135.148,0:5.4.0-1070.74,0:5.15.0-156.166,0:6.8.0-87.88~22.04.1,0:5.15.0-1088.93,0:5.15.0-1092.99,0:6.8.0-1042.44~22.04.1,0:5.15.0-1096.105,0:6.8.0-1044.50~22.04.1,0:5.15.0-1092.101,0:6.8.0-1043.46~22.04.1,0:5.15.0-1089.95,0:5.15.0-1075.83,0:5.15.0-1086.89,0:6.8.0-1040.40~22.04.1,0:5.15.0-1087.93,0:6.8.0-87.88.1~22.04.1,0:5.15.0-1087.88,0:6.8.0-1042.45~22.04.1,0:5.15.0-1045.45,0:5.15.0-1034.34,0:5.15.0-1090.96,0:6.8.0-1039.40~22.04.1,0:5.15.0-1056.60,0:5.4.17-2136.347.6.el8uek,0:5.15.0-312.187.5.el8uek,0:5.4.17-2136.347.6.el7uek,0:3.10.0-1160.119.1.0.12.el7,0:5.15.0-312.187.5.el9uek,0:6.12.0-103.40.4.1.el9uek,0:5.14.0-570.42.2.0.1.el9_6,0:4.14.355-280.679.amzn2,0:1.0-0.amzn2,0:5.4.295-216.421.amzn2,0:5.10.239-236.958.amzn2,0:5.15.186-128.192.amzn2,0:6.12.35-55.103.amzn2023,0:1.0-0.amzn2023,1:6.1.144-170.251.amzn2023,1:1.0-0.amzn2023

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading