# CVE-2026-64370: posix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() error path

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 4% of CVEs (2026-11-30)
- Published: 2026-07-25T08:50:23.257Z
- Modified: 2026-11-10T13:19:30.280Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

posix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() error path

In do_cpu_nanosleep(), posix_cpu_timer_create() takes a pid reference
via get_pid() and stores it in timer.it.cpu.pid. If the subsequent
posix_cpu_timer_set() call fails, the function returns immediately
without calling posix_cpu_timer_del() to release the pid reference,
causing a leak.

Fix it by calling posix_cpu_timer_del() before the unlock-and-return
on the error path, consistent with the other exit paths in the same
function.

(As written by CVE List.)

## Affected

- Linux Linux: from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before afed3cdc1cca133f804fcf57ff228974f424b23a; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8a270b1258797f61b61da44f8bfd41a581b5c85b; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d605d00085adc3fddf67de01dc2a44aebf1a3fb5; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e5ffc638faf5dc7d9dc85c9a95e10bf97442e0c0; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before eb4cec29a78334d09bcfb41c0660cdd62ba05843; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7776f9226e99eb49d97492b0b445027cfcb189da; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 8f06363446c5d043c9a7c008b250040e9de98cf9; from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 87bd2ad568e15b90d5f7d4bcd70342d05dad649c; 2.6.12 (not affected: before 2.6.12; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 2.6.12.1 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 2.6.12

## References

- <https://git.kernel.org/stable/c/afed3cdc1cca133f804fcf57ff228974f424b23a> (patch)
- <https://git.kernel.org/stable/c/8a270b1258797f61b61da44f8bfd41a581b5c85b> (patch)
- <https://git.kernel.org/stable/c/d605d00085adc3fddf67de01dc2a44aebf1a3fb5> (patch)
- <https://git.kernel.org/stable/c/e5ffc638faf5dc7d9dc85c9a95e10bf97442e0c0> (patch)
- <https://git.kernel.org/stable/c/eb4cec29a78334d09bcfb41c0660cdd62ba05843> (patch)
- <https://git.kernel.org/stable/c/7776f9226e99eb49d97492b0b445027cfcb189da> (patch)
- <https://git.kernel.org/stable/c/8f06363446c5d043c9a7c008b250040e9de98cf9> (patch)
- <https://git.kernel.org/stable/c/87bd2ad568e15b90d5f7d4bcd70342d05dad649c> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2026-64370](https://www.cve.org/CVERecord?id=CVE-2026-64370), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-64370](https://nvd.nist.gov/vuln/detail/CVE-2026-64370), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-64370 · Whole record: https://cve.day/CVE-2026-64370.json · Rebuilt by cve.day 2026-11-25T22:59:30.089Z
