CVE-2026-99942
publishedposix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() signal path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe26d70d271ee1a68a925796b411cb0239394c7a1 to < 89277a7472fca2ca55579bb390e067d790b280d6 · e26d70d271ee1a68a925796b411cb0239394c7a1 to < 1042aa5909f05c0e4dfe824776461ef8811c5a3a · e26d70d271ee1a68a925796b411cb0239394c7a1 to < f6dc4b140864e564f7f339909a0bc6ecacd8ad63 · e26d70d271ee1a68a925796b411cb0239394c7a1 to < 5ca4fd63b7adb8c4fd148480274578f031cf66cb · e26d70d271ee1a68a925796b411cb0239394c7a1 to < 221d4fc53dc6403ace5487e6d18b757766131108 · e26d70d271ee1a68a925796b411cb0239394c7a1 to < a1028ed2d71d28395c58af1ab73abd0e42cc9909 · e26d70d271ee1a68a925796b411cb0239394c7a1 to < 5f80c43b1eee4635493a308c0805fb2a1a24ad51 · e26d70d271ee1a68a925796b411cb0239394c7a1 to < 8ccd731b63a0183ca2b0e18f3ca15864b3f37eda · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.14 (affected) · 0 to < 3.14 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e26d70d271ee1a68a925796b411cb0239394c7a1 to < 89277a7472fca2ca55579bb390e067d790b280d6 (affected · git)e26d70d271ee1a68a925796b411cb0239394c7a1 to < 1042aa5909f05c0e4dfe824776461ef8811c5a3a (affected · git)e26d70d271ee1a68a925796b411cb0239394c7a1 to < f6dc4b140864e564f7f339909a0bc6ecacd8ad63 (affected · git)e26d70d271ee1a68a925796b411cb0239394c7a1 to < 5ca4fd63b7adb8c4fd148480274578f031cf66cb (affected · git)e26d70d271ee1a68a925796b411cb0239394c7a1 to < 221d4fc53dc6403ace5487e6d18b757766131108 (affected · git)e26d70d271ee1a68a925796b411cb0239394c7a1 to < a1028ed2d71d28395c58af1ab73abd0e42cc9909 (affected · git)e26d70d271ee1a68a925796b411cb0239394c7a1 to < 5f80c43b1eee4635493a308c0805fb2a1a24ad51 (affected · git)e26d70d271ee1a68a925796b411cb0239394c7a1 to < 8ccd731b63a0183ca2b0e18f3ca15864b3f37eda (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.14 (affected)0 to < 3.14 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1042aa5909f05c0e4dfe824776461ef8811c5a3a
- https://git.kernel.org/stable/c/221d4fc53dc6403ace5487e6d18b757766131108
- https://git.kernel.org/stable/c/5ca4fd63b7adb8c4fd148480274578f031cf66cb
- https://git.kernel.org/stable/c/5f80c43b1eee4635493a308c0805fb2a1a24ad51
- https://git.kernel.org/stable/c/89277a7472fca2ca55579bb390e067d790b280d6
- https://git.kernel.org/stable/c/8ccd731b63a0183ca2b0e18f3ca15864b3f37eda
- https://git.kernel.org/stable/c/a1028ed2d71d28395c58af1ab73abd0e42cc9909
- https://git.kernel.org/stable/c/f6dc4b140864e564f7f339909a0bc6ecacd8ad63
Provider assertions
1Linux · cna
posix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() signal path
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- dd4207c03d37c2b9dbcad991890e37f605cd240b1a39bf0471783777352d3f52
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record