CVE-2026-99942
posix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() signal path
Check your servers for CVE-2026-99942
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99942 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
posix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() signal path
do_cpu_nanosleep() sleeps on a temporary k_itimer whose reference on the target's struct pid is taken by posix_cpu_timer_create() and dropped by posix_cpu_timer_del(). When a signal ends the sleep, the timer is disarmed with posix_cpu_timer_set(), but posix_cpu_timer_del() is only called for a result of 0 or TIMER_RETRY. If the target thread or process has exited in the meantime, timer_lock_sighand() finds no task, posix_cpu_timer_set() returns -ESRCH and the pid reference is leaked.
An unprivileged user can trigger this: sleep on the CPU clock of a thread, let that thread exit, then signal the sleeper. Each round leaks one struct pid. Repeating it exhausts unreclaimable slab memory within minutes:
Out of memory: Killed process 150 (poc) total-vm:789292kB, anon-rss:484kB Kernel panic - not syncing: System is deadlocked on memory
Fix this by also calling posix_cpu_timer_del() on -ESRCH. With the target gone, the deletion is safe. It finds no task either and only drops the pid reference.
Exploitation
EPSS 0.33%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 27.6% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e26d70d271ee1a68a925796b411cb0239394c7a1, before 89277a7472fca2ca55579bb390e067d790b280d6 affected from e26d70d271ee1a68a925796b411cb0239394c7a1, before 1042aa5909f05c0e4dfe824776461ef8811c5a3a affected from e26d70d271ee1a68a925796b411cb0239394c7a1, before f6dc4b140864e564f7f339909a0bc6ecacd8ad63 affected from e26d70d271ee1a68a925796b411cb0239394c7a1, before 5ca4fd63b7adb8c4fd148480274578f031cf66cb affected from e26d70d271ee1a68a925796b411cb0239394c7a1, before 221d4fc53dc6403ace5487e6d18b757766131108 affected from e26d70d271ee1a68a925796b411cb0239394c7a1, before a1028ed2d71d28395c58af1ab73abd0e42cc9909 affected from e26d70d271ee1a68a925796b411cb0239394c7a1, before 5f80c43b1eee4635493a308c0805fb2a1a24ad51 affected from e26d70d271ee1a68a925796b411cb0239394c7a1, before 8ccd731b63a0183ca2b0e18f3ca15864b3f37eda
Other versions: unaffected
|
| Linux |
affected 3.14 unaffected before 3.14 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99942 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99942
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99942
trivy image --scanners vuln IMAGE | grep CVE-2026-99942
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/89277a7472fca2ca55579bb390e067d790b280d6 git.kernel.org
- https://git.kernel.org/stable/c/1042aa5909f05c0e4dfe824776461ef8811c5a3a git.kernel.org
- https://git.kernel.org/stable/c/f6dc4b140864e564f7f339909a0bc6ecacd8ad63 git.kernel.org
- https://git.kernel.org/stable/c/5ca4fd63b7adb8c4fd148480274578f031cf66cb git.kernel.org
- https://git.kernel.org/stable/c/221d4fc53dc6403ace5487e6d18b757766131108 git.kernel.org
- https://git.kernel.org/stable/c/a1028ed2d71d28395c58af1ab73abd0e42cc9909 git.kernel.org
- https://git.kernel.org/stable/c/5f80c43b1eee4635493a308c0805fb2a1a24ad51 git.kernel.org
- https://git.kernel.org/stable/c/8ccd731b63a0183ca2b0e18f3ca15864b3f37eda git.kernel.org
Source: the record CVE-2026-99942 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse