A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/5b17f3f34391372faf03e79d947e0c50ab6dd258
- git.kernel.org /stable/c/828a8d1a9107aec6353d896882df8383accf7e80
- git.kernel.org /stable/c/ed98ce338f9a65c90cb930b088f1eb36de7181af
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning