ethtool: cmis: validate start_cmd_payload_size from module
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a46340da00385be7fb16c62425ebc20006f2d5d8, Kernel 0696709e951be54c699664adf546d16e28974d53, Kernel 12c2496a71f82f63617971ca9b730dffa05cf58b and 4 more.
In the Linux kernel, the following vulnerability has been resolved: ethtool: cmis: validate start_cmd_payload_size from module The CMIS firmware update code reads start_cmd_payload_size from the module's FW Management Features CDB reply and uses it directly as the byte count for memcpy. The destination buffer is 112 bytes (ETHTOOL_CMIS_CDB_LPL_MAX_PL_LENGTH - 8). So a malicious module (or corrupted response) can cause a OOB write later on in cmis_fw_update_start_download(). Let's error out. If modules that expect longer LPL writes actually exist we should revisit. struct cmis_cdb_start_fw_download_pl's definition has to move, no change there.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c4f78134d45c9619339c96b4bea380b1d0699788 <a46340da00385be7fb16c62425ebc20006f2d5d8, >=c4f78134d45c9619339c96b4bea380b1d0699788 <0696709e951be54c699664adf546d16e28974d53, >=c4f78134d45c9619339c96b4bea380b1d0699788 <12c2496a71f82f63617971ca9b730dffa05cf58b, >=c4f78134d45c9619339c96b4bea380b1d0699788 <63112b4515469d00008452d9cfe3fb3bf1aa2df3, =6.11 | a46340da00385be7fb16c62425ebc20006f2d5d8, 0696709e951be54c699664adf546d16e28974d53, 12c2496a71f82f63617971ca9b730dffa05cf58b, 63112b4515469d00008452d9cfe3fb3bf1aa2df3 |
| linux-kernel: Kernel | >=6.13.0 <6.18.35, >=6.19.0 <7.0.12, >=6.11.0 <6.12.93 | 6.18.35, 7.0.12, 6.12.93 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket