CVE-2026-64372 cpufreq: pcc: fix use-after-free and double free in _OSC evaluation

High 7.8 Published Updated

A use-after-free and double free vulnerability in the Linux kernel cpufreq driver allows attackers to potentially execute code or escalate privileges.

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-64372?

CVE-2026-64372 is a high-severity use after free 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:

cpufreq: pcc: fix use-after-free and double free in _OSC evaluation

pcc_cpufreq_do_osc() calls acpi_evaluate_object() twice for the two-phase _OSC negotiation. Between the two calls it freed output.pointer but left output.length unchanged. Since acpi_evaluate_object() treats a non-zero length with a non-NULL pointer as an existing buffer to write into, the second call wrote into freed memory (use-after-free). The subsequent kfree(output.pointer) at out_free then freed the same pointer a second time (double free).

Reset output.pointer to NULL and output.length to ACPI_ALLOCATE_BUFFER after freeing the first result, so ACPICA allocates a fresh buffer for each phase independently.

Weakness: CWE-416

Which versions are affected by CVE-2026-64372?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-64372?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-64372 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-93914, BELL-CVE-2026-64372, DEBIAN-CVE-2026-64372, GHSA-987r-r7fx-f5cm, ROOT-OS-DEBIAN-12-CVE-2026-64372, ROOT-OS-UBUNTU-2204-CVE-2026-64372 and 1 more.

Is CVE-2026-64372 in your software?

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

Check your SBOMs for free