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

CVE-2026-80571
Not available

At a glance

Source
NVD
EPSS
EPSS 0.15 % · percentile 5 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 86900ab620a42396a749b506d4a187820fc3fabe < 828a8d1a9107aec6353d896882df8383accf7e80
affected : ≥ 86900ab620a42396a749b506d4a187820fc3fabe < ed98ce338f9a65c90cb930b088f1eb36de7181af
affected : ≥ 86900ab620a42396a749b506d4a187820fc3fabe < 5b17f3f34391372faf03e79d947e0c50ab6dd258
Other versions : unaffected
Linux · Linux
affected : 6.16
unaffected : ≥ 0 < 6.16
unaffected : ≥ 6.18.46 ≤ 6.18.*
unaffected : ≥ 7.1.10 ≤ 7.1.*
unaffected : ≥ 7.2 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD