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

Impact

The Linux kernel suffers a use‑after‑free and double‑free in the pcc_cpufreq_do_osc() function during the ACPI _OSC two‑phase negotiation. After the first acpi_evaluate_object() call, the kernel frees the output.pointer buffer while leaving output.length unchanged, and the second call mistakenly re‑writes to this freed memory, followed by a second kfree of the same pointer. These memory corruption bugs can be leveraged to overwrite kernel data structures, potentially allowing an attacker to execute arbitrary code in kernel mode or crash the system.

Affected Systems

This flaw exists in the Linux kernel and therefore affects all Linux distributions using kernel versions that contain the buggy pcc_cpufreq_do_osc() implementation. Versions prior to the patch commits referenced in the provided git patches are vulnerable; the issue spans current and older releases until the kernel is updated.

Risk and Exploitability

EPSS is very low at less than 1%, and the vulnerability is not listed in CISA’s KEV catalogue, indicating limited current exploitation. The CVSS score of 7.8 reflects high severity, underscoring the risk of kernel memory corruption that could enable an attacker to execute arbitrary code in kernel mode. The likely attack vector involves invoking the ACPI _OSC negotiation through firmware interactions, which may be performed locally or via malicious firmware modifications. The combination of low EPSS, absence of known exploitation, and the memory corruption risk warrants prompt patching, though the immediate risk is mitigated by the low exploit probability.

Generated by OpenCVE AI on August 4, 2026 at 14:35 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version containing the patch commits referenced in the provided git patches.
  • If an immediate kernel upgrade is not feasible, disable the pcc CPU frequency driver or ACPI _OSC negotiation by setting appropriate kernel command‑line options.
  • If ACPI is unnecessary, consider disabling ACPI in the BIOS/UEFI or restricting ACPI access to trusted firmware to mitigate potential exploits.

Generated by OpenCVE AI on August 4, 2026 at 14:35 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

Mon, 03 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-590

Wed, 29 Jul 2026 12:15:00 +0000

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

None

threat_severity

Moderate


Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
CWE-590

Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


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

Type Values Removed Values Added
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.
Title cpufreq: pcc: fix use-after-free and double free in _OSC evaluation
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-08-05T12:41:10.816Z

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

Link: CVE-2026-64372

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

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

Link: CVE-2026-64372

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-64372 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T14:45:03Z

Weaknesses
  • CWE-763

    Release of Invalid Pointer or Reference