Bug 2524458 (CVE-2026-80571) - CVE-2026-80571 kernel: powerpc/pseries: papr-phy-attest - validate cmd.length, plug mem leak
Summary: CVE-2026-80571 kernel: powerpc/pseries: papr-phy-attest - validate cmd.length...
Keywords:
Status: NEW
Alias: CVE-2026-80571
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-26 14:57 UTC by OSIDB Bzimport
Modified: 2026-08-27 09:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-26 14:57:09 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.