Bug 2507060 (CVE-2026-64370) - CVE-2026-64370 kernel: posix-cpu-timers: Fix pid refcount leak in do_cpu_nanosleep() error path
Summary: CVE-2026-64370 kernel: posix-cpu-timers: Fix pid refcount leak in do_cpu_nano...
Keywords:
Status: NEW
Alias: CVE-2026-64370
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-25 10:02 UTC by OSIDB Bzimport
Modified: 2026-07-29 22:17 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-25 10:02:56 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-07-29 22:15:08 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026072522-CVE-2026-64370-85cf@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.