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:
cxl/features: Reject Set Features output buffer smaller than the header
cxlctl_set_feature() sizes its output buffer from the user's fwctl_rpc.out_len but never checks it is large enough to hold even the fwctl_rpc_cxl_out header. With out_len == 0 , kvzalloc() returns ZERO_SIZE_PTR, which passes the !rpc_out check, the subsequent rpc_out->size = 0 then writes through the poison pointer.
Reject requests whose output buffer can't hold the response header, before allocating. The Set Feature reply carries no payload, so the header is all that is required.
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/1281dc84c81577b51e2b61c24617c9f44b2cdb99
- git.kernel.org /stable/c/16b7c99eff030c6ea11ca24efa4b9f989cc74093
- git.kernel.org /stable/c/cde18d6c1d913a67ab0afd3d9475ece4be79da50
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning