In the Linux kernel, the following vulnerability has been resolved:
ethtool: cmis: require exact CDB reply length
Malicious SFP module could respond with rpl_len longer than what cmis_cdb_process_reply() expected, leading to OOB writes. Malicious HW is a bit theoretical but some modules may just be buggy and/or the reads may occasionally get corrupted, so let's protect the kernel.
The existing check protects from short replies. We need to protect from long ones, too. All callers that pass a non-zero rpl_exp_len cast the reply payload to a fixed-layout struct and read fields at fixed offsets, with no version negotiation or short-reply handling:
- cmis_cdb_validate_password() - cmis_cdb_module_features_get() - cmis_fw_update_fw_mng_features_get()
so let's assume that responses longer than expected do not have to be handled gracefully here. Add a warning message to make the debug easier in case my understanding is wrong...
Note that page_data->length (argument of kmalloc) comes from last arg to ethtool_cmis_page_init() which is rpl_exp_len.
Note2 that AIs also like to point out overflows in args->req.payload itself (which is a fixed-size 120 B buffer, on the stack), but callers should be reading structs defined by the standard, so protecting from requests for more data than max seem like defensive programming.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon_linux_2023 | — | Upgrade kernel6.12-debuginfo-common-x86_64Upgrade kernel6.12-debuginfo-common-aarch64Upgrade kernel6.12-modules-extra-commonUpgrade kernel6.12Upgrade python3-perf6.12Upgrade bpftool6.18Upgrade kernel6.12-modules-extraUpgrade bpftool6.12Upgrade bpftool6.12-debuginfoUpgrade perf6.12-debuginfoUpgrade bpftool6.18-debuginfoUpgrade kernel-livepatch-6.18.35-68.127Upgrade kernel6.18-debuginfo-common-aarch64Upgrade kernel6.12-tools-develUpgrade perf6.18-debuginfoUpgrade python3-perf6.18-debuginfoUpgrade kernel6.18-debuginfoUpgrade kernel6.18-debuginfo-common-x86_64Upgrade python3-perf6.12-debuginfoUpgrade kernel6.18-modules-extra-commonUpgrade kernel6.18-toolsUpgrade kernel6.12-tools-debuginfoUpgrade kernel-livepatch-6.12.94-123.174Upgrade kernel6.12-headersUpgrade microvm-kernel6.18Upgrade kernel6.18Upgrade kernel6.18-headersUpgrade kernel6.18-develUpgrade kernel6.12-debuginfoUpgrade kernel6.12-develUpgrade python3-perf6.18Upgrade perf6.18Upgrade kernel6.18-tools-debuginfoUpgrade kernel6.12-toolsUpgrade perf6.12Upgrade kernel6.18-tools-develUpgrade kernel6.18-modules-extra | Aug 10, 2026 | Jul 19, 2026 |
| Debian | — | Upgrade linux | Jul 23, 2026 | Jul 23, 2026 |
| Redhat_linux | — | No solution exists | Jul 23, 2026 | Jul 19, 2026 |
| Ubuntu | — | Upgrade linux-image-azure-fdeUpgrade linux-image-nvidia-bos-64kUpgrade linux-image-7.0.0-1010-azureUpgrade linux-image-ibm-7.0Upgrade linux-image-ibmUpgrade linux-image-nvidia-64k-7.0Upgrade linux-image-7.0.0-1009-aws-64kUpgrade linux-image-7.0.0-1009-awsUpgrade linux-image-gcpUpgrade linux-image-oracle-7.0Upgrade linux-image-azureUpgrade linux-image-raspiUpgrade linux-image-gcp-64kUpgrade linux-image-7.0.0-1016-nvidia-64kUpgrade linux-image-nvidia-64k-hwe-26.04Upgrade linux-image-7.0.0-1016-nvidiaUpgrade linux-image-gcp-64k-7.0Upgrade linux-image-nvidia-64kUpgrade linux-image-nvidia-bos-64k-7.0Upgrade linux-image-7.0.0-1011-gcp-64kUpgrade linux-image-nvidia-7.0Upgrade linux-image-7.0.0-2016-nvidia-bos-64kUpgrade linux-image-7.0.0-1008-oracleUpgrade linux-image-nvidia-hwe-26.04Upgrade linux-image-raspi-realtime-7.0Upgrade linux-image-7.0.0-1015-raspiUpgrade linux-image-oracle-64kUpgrade linux-image-nvidiaUpgrade linux-image-nvidia-bosUpgrade linux-image-7.0.0-2016-nvidia-bosUpgrade linux-image-7.0.0-1010-ibmUpgrade linux-image-nvidia-bos-7.0Upgrade linux-image-aws-7.0Upgrade linux-image-gcp-7.0Upgrade linux-image-7.0.0-1009-azure-fdeUpgrade linux-image-raspi-7.0Upgrade linux-image-7.0.0-1011-gcpUpgrade linux-image-aws-64kUpgrade linux-image-7.0.0-1015-raspi-realtimeUpgrade linux-image-azure-7.0Upgrade linux-image-awsUpgrade linux-image-oracleUpgrade linux-image-oracle-64k-7.0Upgrade linux-image-7.0.0-1014-azureUpgrade linux-image-raspi-realtimeUpgrade linux-image-7.0.0-1008-oracle-64kUpgrade linux-image-azure-fde-7.0Upgrade linux-image-aws-64k-7.0 | Jul 21, 2026 | Jul 20, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Aug 3, 2026 | Jul 19, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub