GHSA-qp96-h2xq-qgj3unknown
In the Linux kernel, the following vulnerability has been resolved: cxl/features: Clamp Get...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
cxl/features: Clamp Get Feature output size to the remaining buffer
cxl_get_feature() reads a feature in a loop but passes a fixed size_out as the output capacity every iteration. On the last partial iteration the buffer has less room left, so a device that returns more than asked can overflow feat_out.
Use the per-iter size data_to_rd_size, which already tracks the remaining room, as the output capacity.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-93077
- https://git.kernel.org/stable/c/2aeb21fe557ef154f0cdf4f9745ebd8d5b31ca83
- https://git.kernel.org/stable/c/b8abbd5c2928fd839dab702244cc57b228ab43aa
- https://git.kernel.org/stable/c/ca95b15a0760e7724e61addbdd61050be13b6406
- https://github.com/advisories/GHSA-qp96-h2xq-qgj3