---
id: CVE-2026-64370
title: |-
  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…
summary: |-
  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…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 2.6.12.1, < 5.10.261'
  - 'linux_kernel >= 5.11, < 5.15.212'
  - 'linux_kernel >= 5.16, < 6.1.178'
  - 'linux_kernel >= 6.2, < 6.6.145'
  - 'linux_kernel >= 6.7, < 6.12.96'
  - 'linux_kernel >= 6.13, < 6.18.39'
  - 'linux_kernel >= 6.19, < 7.1.4'
  - linux_kernel = 2.6.12
patched:
  - linux_kernel 7.1.4
published: '2026-07-25'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T15:23:56.573'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-64370'
references:
  - url: 'https://git.kernel.org/stable/c/7776f9226e99eb49d97492b0b445027cfcb189da'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/87bd2ad568e15b90d5f7d4bcd70342d05dad649c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8a270b1258797f61b61da44f8bfd41a581b5c85b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8f06363446c5d043c9a7c008b250040e9de98cf9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/afed3cdc1cca133f804fcf57ff228974f424b23a'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d605d00085adc3fddf67de01dc2a44aebf1a3fb5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e5ffc638faf5dc7d9dc85c9a95e10bf97442e0c0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/eb4cec29a78334d09bcfb41c0660cdd62ba05843'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64370.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-64370'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2507060'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-64370'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-64370'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2026072522-CVE-2026-64370-85cf@gregkh/T
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00125
epssPercentile: 0.01891
ingestedAt: '2026-09-08T15:33:26.948Z'
cwe:
  - CWE-911
---

## Overview

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.

## Affected

- `linux_kernel >= 2.6.12.1, < 5.10.261`
- `linux_kernel >= 5.11, < 5.15.212`
- `linux_kernel >= 5.16, < 6.1.178`
- `linux_kernel >= 6.2, < 6.6.145`
- `linux_kernel >= 6.7, < 6.12.96`
- `linux_kernel >= 6.13, < 6.18.39`
- `linux_kernel >= 6.19, < 7.1.4`
- `linux_kernel = 2.6.12`

## Remediation

Upgrade past the affected range:

- `linux_kernel 7.1.4`

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-09-08 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64370.json)
