{"id":"CVE-2026-89571","published":"2026-09-11T19:44:40Z","modified":"2026-10-19T08:49:04Z","title":"cxl/features: bound fwctl command payload to the input buffer","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/features: bound fwctl command payload to the input buffer\n\nfwctl_cmd_rpc() copies cmd->in_len bytes into inbuf = kvzalloc(cmd->in_len)\nand passes inbuf and in_len to ->fw_rpc(). The CXL callback cxlctl_fw_rpc()\nignores in_len and never checks the user-controlled op_size against it.\n\ncxlctl_set_feature() bounds op_size only from below\n(op_size <= sizeof(feat_in->hdr)) and then reads op_size - sizeof(hdr)\nbytes from feat_in->feat_data via cxl_set_feature(). With a small in_len\nand a large op_size the first memcpy() already reads past the\nkvzalloc(in_len) buffer; the out-of-bounds bytes are placed in the mailbox\npayload and sent to the device, and a large enough op_size can walk into\nunmapped memory and oops the kernel. The Get paths pin op_size to a fixed\nsize but likewise read the input struct without checking in_len.\n\nReject, at the single dispatch point, any request whose fixed header plus\nop_size does not fit in the copied-in buffer. The lower-bound test guards\nthe subtraction and ensures op_size was copied in before it is read.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00164,"percentile":0.05589,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/14d52c15d5d99477b20a2d61fe36f347080da6cd","tags":[]},{"url":"https://git.kernel.org/stable/c/d8957545fe96f7905791c937758ebfc1ae1e5b17","tags":[]},{"url":"https://git.kernel.org/stable/c/f687394af983df5660b6afae7e0d06969f3af206","tags":[]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":1.12},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= eb5dfcb9e36d0e46089fec777d911313c1876fa3, < 14d52c15d5d99477b20a2d61fe36f347080da6cd",">= eb5dfcb9e36d0e46089fec777d911313c1876fa3, < d8957545fe96f7905791c937758ebfc1ae1e5b17",">= eb5dfcb9e36d0e46089fec777d911313c1876fa3, < f687394af983df5660b6afae7e0d06969f3af206"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"euvd":{"id":"EUVD-2026-76483","exploited":false,"provenance":"source"}}