CVE-2026-68440: net: txgbe: fix heap overflow when reading module EEPROM
Greg Kroah-Hartman <[email protected]>
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026081256-CVE-2026-68440-3dc6@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: net: txgbe: fix heap overflow when reading module EEPROM txgbe_read_eeprom_hostif() always copies round_up(length, 4) bytes into the caller buffer, which ethtool allocates with exactly 'length' bytes. A non-4-aligned length therefore causes an out-of-bounds write. Copy only the remaining bytes on the final dword instead. The Linux kernel CVE team has assigned CVE-2026-68440 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 9b97b6b5635b3de18debd07a3adcf25198ec8299 and fixed in 7.1.6 with commit febcced6958158e7e90a55a8567b3f5c3639c0b9 Issue introduced in 6.19 with commit 9b97b6b5635b3de18debd07a3adcf25198ec8299 and fixed in 7.2-rc5 with commit 6a905a71fd43ce8b45f05044b11491337f232c9d Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-68440 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/wangxun/txgbe/txgbe_aml.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/febcced6958158e7e90a55a8567b3f5c3639c0b9 https://git.kernel.org/stable/c/6a905a71fd43ce8b45f05044b11491337f232c9d