{"id":"CVE-2026-63996","published":"2026-07-19T14:56:15Z","modified":"2026-10-19T20:18:01Z","title":"ethtool: cmis: require exact CDB reply length","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nethtool: cmis: require exact CDB reply length\n\nMalicious SFP module could respond with rpl_len longer than\nwhat cmis_cdb_process_reply() expected, leading to OOB writes.\nMalicious HW is a bit theoretical but some modules may just\nbe buggy and/or the reads may occasionally get corrupted,\nso let's protect the kernel.\n\nThe existing check protects from short replies. We need to\nprotect from long ones, too. All callers that pass a non-zero\nrpl_exp_len cast the reply payload to a fixed-layout struct\nand read fields at fixed offsets, with no version negotiation\nor short-reply handling:\n\n  - cmis_cdb_validate_password()\n  - cmis_cdb_module_features_get()\n  - cmis_fw_update_fw_mng_features_get()\n\nso let's assume that responses longer than expected do not\nhave to be handled gracefully here. Add a warning message\nto make the debug easier in case my understanding is wrong...\n\nNote that page_data->length (argument of kmalloc) comes from\nlast arg to ethtool_cmis_page_init() which is rpl_exp_len.\n\nNote2 that AIs also like to point out overflows in args->req.payload\nitself (which is a fixed-size 120 B buffer, on the stack),\nbut callers should be reading structs defined by the standard,\nso protecting from requests for more data than max seem like\ndefensive programming.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00129,"percentile":0.02618,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://git.kernel.org/stable/c/2f818cc98fd2c63a08239cb48995f6c3bfe9d9b3","tags":[]},{"url":"https://git.kernel.org/stable/c/4d42fb88ec61f2e98c33a9e3a2de371d5edbc6b1","tags":[]},{"url":"https://git.kernel.org/stable/c/eb5dcd740cd7fa27bc2caeff2d28ef28e93ff4d3","tags":[]},{"url":"https://git.kernel.org/stable/c/6c3f999a9d1338c6c89a9ff4549eafe72bc2e7b1","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":0.52},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a39c84d796254e6b1662ca0c46dbc313379e9291, < 2f818cc98fd2c63a08239cb48995f6c3bfe9d9b3",">= a39c84d796254e6b1662ca0c46dbc313379e9291, < 4d42fb88ec61f2e98c33a9e3a2de371d5edbc6b1",">= a39c84d796254e6b1662ca0c46dbc313379e9291, < eb5dcd740cd7fa27bc2caeff2d28ef28e93ff4d3",">= a39c84d796254e6b1662ca0c46dbc313379e9291, < 6c3f999a9d1338c6c89a9ff4549eafe72bc2e7b1"]},{"vendor":"Linux","product":"Linux","versions":["6.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:34:56.047648Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-45569","exploited":false,"provenance":"source"}}