CVE-2026-72060: net: ethernet: ti: icssg: guard PA stat lookups
Greg Kroah-Hartman <[email protected]>
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026081517-CVE-2026-72060-9fde@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: net: ethernet: ti: icssg: guard PA stat lookups icssg_ndo_get_stats64() unconditionally calls emac_get_stat_by_name() with FW PA stat names regardless of whether the PA stats block is present on the hardware. emac_get_stat_by_name() already guards the PA stats lookup with `if (emac->prueth->pa_stats)`; when that pointer is NULL the lookup falls through to netdev_err() and returns -EINVAL. Because ndo_get_stats64 is polled regularly by the networking stack this produces thousands of log entries of the form: icssg-prueth icssg1-eth end0: Invalid stats FW_RX_ERROR A secondary consequence is that the int(-EINVAL) return value is implicitly widened to a near-ULLONG_MAX unsigned value when accumulated into the __u64 fields of rtnl_link_stats64, silently corrupting the rx_errors, rx_dropped and tx_dropped counters reported by `ip -s link`. Every other PA-aware code path in the driver is already guarded with the same `if (emac->prueth->pa_stats)` check. Apply the same guard here. The Linux kernel CVE team has assigned CVE-2026-72060 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 0d15a26b247d25cd012134bf8825128fedb15cc9 and fixed in 6.18.40 with commit 121c5f31c3fb70d4a23e8a084f5cb8b3ec63be8d Issue introduced in 6.16 with commit 0d15a26b247d25cd012134bf8825128fedb15cc9 and fixed in 7.1.5 with commit b3763f7e22ecaa7ad79bf44bf41816d488edbcf8 Issue introduced in 6.16 with commit 0d15a26b247d25cd012134bf8825128fedb15cc9 and fixed in 7.2-rc1 with commit 27b9daba50609335db6ca81e4cccf50ded21ec76 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-72060 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/ti/icssg/icssg_common.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/121c5f31c3fb70d4a23e8a084f5cb8b3ec63be8d https://git.kernel.org/stable/c/b3763f7e22ecaa7ad79bf44bf41816d488edbcf8 https://git.kernel.org/stable/c/27b9daba50609335db6ca81e4cccf50ded21ec76