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

Medium 5.5 Published Updated

A refcount leak in the Linux kernel's posix-cpu-timers can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-64370?

CVE-2026-64370 is a medium-severity memory corruption vulnerability in Linux kernel, published on 25 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2026-64370?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-64370?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-64370 being exploited?

There is no known exploitation of CVE-2026-64370 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-93861, BELL-CVE-2026-64370, DEBIAN-CVE-2026-64370, GHSA-cp5v-2q38-79vc, ROOT-OS-UBUNTU-2204-CVE-2026-64370, UBUNTU-CVE-2026-64370.

Is CVE-2026-64370 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free