Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139164

net: dsa: mv88e6xxx: fix 88E6171 statistics type

Description

In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6xxx: fix 88E6171 statistics type The 88E6171 uses the 6095 statistics operations, which advertise and name BANK0 and PORT counters. Its stats_type bitmap instead selects BANK0 and BANK1. Since statistics collection started using that bitmap, it has written a different set of counters from the one advertised to ethtool. For this chip, get_sset_count() accounts for 30 BANK0 counters, three PORT counters and five ATU/VTU counters. Collection instead writes 30 BANK0 counters, 26 BANK1 counters and five ATU/VTU counters: 61 entries rather than the advertised 38. This mislabels the tail of the returned statistics and writes past the advertised statistics buffer. Select BANK0 and PORT counters to match the chip's statistics operations and restore the filter used before the bitmap was introduced. Tested on an EA4500, where the two-bridge forwarding and multicast snooping tests now pass their hardware counter checks.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 5595e3613ea768b81f600d37ea6880983339f21a to < 7cca825a3b318dc2dec4d2a30e55a570d241c95aaffected
  • 5595e3613ea768b81f600d37ea6880983339f21a to < 33ee2f54ccf57bdad9d748dfe6ba154d2bdfc14daffected
  • 5595e3613ea768b81f600d37ea6880983339f21a to < df66431f39426b685f6693f0731cd5881c51679caffected

Linux Linux

Default version status: affected

  • 6.14affected
  • 0 to < 6.14unaffected
  • 6.18.65 to ≤ 6.18.*unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References