GHSA-6wmr-43p3-p5m9HighCVSS 7.8
In the Linux kernel, the following vulnerability has been resolved: cxl/features: Reject Get...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
cxl/features: Reject Get Feature count larger than the output buffer
cxlctl_get_feature() sizes its output buffer from the user's fwctl_rpc.out_len, but the device is told to write cxl_mbox_get_feat_in.count bytes into rpc_out->payload, which is a separate user-controlled value. Nothing bounds count against out_len, so a small out_len with a large count overflows the kvzalloc()'d buffer. A heap OOB write reachable from FWCTL_RPC.
Reject requests where count exceeds the available payload room, before allocating.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-93079
- https://git.kernel.org/stable/c/329ea475581c647a680a6937e353c1a6e2534b40
- https://git.kernel.org/stable/c/3f02031a0a53de0d3ef066c92d0486b2b11be40c
- https://git.kernel.org/stable/c/4bf6bac375076ced2fa4b3fef8739bd985f93456
- https://github.com/advisories/GHSA-6wmr-43p3-p5m9