Description
In the Linux kernel, the following vulnerability has been resolved:

powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak

In papr_phy_attest_create_handle(), the params->cmd.length is not
validated before use, which can result in a buffer overlow. Check it and
return -EINVAL if it is either 0 or exceeds sizeof(params->cmd).

Also, params is freed on the success path but not error. Free it on
errors after memory allocation. And free it on negative fd.
Published: 2026-08-26
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

In the Linux kernel on powerpc/pseries, the function papr_phy_attest_create_handle() fails to validate the cmd.length field before using it, which can lead to a buffer overflow. The overflow could allow an attacker to overwrite kernel memory and execute arbitrary code with elevated privileges. Additionally, the function forgets to free the params structure on error paths, leading to a memory leak. The identified weakness is reflected in CWE‑805. The likely attack vector is local exploitation via a privileged or userland interface that triggers papr_phy_attest, as the bug resides in kernel code. This inference is made because the function is only reachable through kernel‑level operations and the CVE description does not specify an external interface.

Affected Systems

The flaw affects the Linux kernel on all powerpc/pseries builds that include the papr_phy_attest code path. Because the vendor list identifies the Linux kernel as the affected product, any kernel image compiled for powerpc/pseries that has not incorporated the upstream fix is potentially vulnerable. No specific version numbers are listed, so the attack surface extends across all releases until the patch is applied.

Risk and Exploitability

The CVSS score of 7.0 suggests a high impact vulnerability. Given the EPSS score is less than 1%, public exploitation is unlikely at present, and the vulnerability is not in CISA’s KEV catalog. The likely attack vector is local exploitation via a privileged or userland interface that triggers papr_phy_attest; it is inferred that an attacker would need local access or a previously authenticated process to invoke this code. If the code is reachable from a user process, the overflow could lead to privilege escalation to root. Proper defensive coding or disabling the feature mitigates the risk.

Generated by OpenCVE AI on August 28, 2026 at 17:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply an updated Linux kernel that includes the upstream fix for papr_phy_attest validation and memory deallocation.
  • If patching is not immediately possible, manually apply the patch changes from the referenced Git commits to the kernel source to add cmd.length validation and ensure params are freed on error paths.
  • Disable the papr_phy_attest feature or restrict its usage to privileged processes to prevent accidental exploitation.

Generated by OpenCVE AI on August 28, 2026 at 17:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120

Thu, 27 Aug 2026 18:00:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Wed, 26 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120

Wed, 26 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak In papr_phy_attest_create_handle(), the params->cmd.length is not validated before use, which can result in a buffer overlow. Check it and return -EINVAL if it is either 0 or exceeds sizeof(params->cmd). Also, params is freed on the success path but not error. Free it on errors after memory allocation. And free it on negative fd.
Title powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak
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-26T14:37:32.541Z

Reserved: 2026-08-26T14:34:25.768Z

Link: CVE-2026-80571

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T15:17:13.020

Modified: 2026-08-26T15:17:13.020

Link: CVE-2026-80571

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-26T00:00:00Z

Links: CVE-2026-80571 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T17:45:04Z

Weaknesses
  • CWE-805

    Buffer Access with Incorrect Length Value