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.
Published: 2026-07-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, a reference count leak was discovered in the posix_cpu_timer_create path used by the do_cpu_nanosleep() function. When posix_cpu_timer_set fails, the code fails to release the PID reference that was obtained via get_pid(), causing the reference count to remain incremented. This leak can accumulate over time, leading to increased memory consumption and potentially exhausting kernel resources. The vulnerability does not grant immediate control of arbitrary code but offers a low‑impact denial of service path by degrading system stability through refcount accumulation.

Affected Systems

All Linux kernel installations prior to the inclusion of the fix – specifically kernel versions containing the posix_cpu_timer_create and do_cpu_nanosleep functions – are affected. The vulnerability applies to the standard Linux kernel as distributed by the Linux Kernel Community. No specific vendor versions are listed, so any deployment of a pre‑patched kernel must be considered at risk.

Risk and Exploitability

The EPSS score of less than 1% indicates a very low probability of exploitation in the wild at the time of this analysis. The vulnerability is not referenced in CISA’s KEV catalog, suggesting no publicly known exploits. An attacker would need to invoke the posix CPU timer API from user space and force an error in posix_cpu_timer_set to exercise the leak; thus the attack vector is local control of a process with the capability to create CPU timers, inferred from the need to invoke the API from user space. Because the leak is silent, detection requires monitoring of PID reference counts or observing gradual resource exhaustion.

Generated by OpenCVE AI on August 2, 2026 at 13:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the commit correcting the pid refcount leak.
  • Reboot into the updated kernel to ensure the fix takes effect.
  • In environments where immediate kernel upgrades are infeasible, reduce the use of posix CPU timers by enforcing stricter permission controls or disabling the feature through kernel configuration settings.

Generated by OpenCVE AI on August 2, 2026 at 13:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Sat, 01 Aug 2026 02:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Thu, 30 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Mon, 27 Jul 2026 06:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title posix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() error path
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:50:23.257Z

Reserved: 2026-07-19T15:36:31.783Z

Link: CVE-2026-64370

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-25T10:17:19.880

Modified: 2026-08-11T15:01:50.637

Link: CVE-2026-64370

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64370 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T13:15:03Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count