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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-08-26T14:37:32.541Z
- Modified: 2026-08-26T15:17:13.020Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 86900ab620a42396a749b506d4a187820fc3fabe before 828a8d1a9107aec6353d896882df8383accf7e80; from 86900ab620a42396a749b506d4a187820fc3fabe before ed98ce338f9a65c90cb930b088f1eb36de7181af; from 86900ab620a42396a749b506d4a187820fc3fabe before 5b17f3f34391372faf03e79d947e0c50ab6dd258; 6.16 (not affected: before 6.16; from 6.18.46 up to 6.18.*; from 7.1.10 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/828a8d1a9107aec6353d896882df8383accf7e80>
- <https://git.kernel.org/stable/c/ed98ce338f9a65c90cb930b088f1eb36de7181af>
- <https://git.kernel.org/stable/c/5b17f3f34391372faf03e79d947e0c50ab6dd258>

## Sources

- CVE List: [CVE-2026-80571](https://www.cve.org/CVERecord?id=CVE-2026-80571), CVE Terms of Use, modified 2026-08-26
- NVD: [CVE-2026-80571](https://nvd.nist.gov/vuln/detail/CVE-2026-80571), Public domain, modified 2026-08-26

---

Page: https://cve.day/CVE-2026-80571 · Whole record: https://cve.day/CVE-2026-80571.json · Rebuilt by cve.day 2026-11-25T22:59:35.400Z
