CVE-2026-139164

net: dsa: mv88e6xxx: fix 88E6171 statistics type

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the Linux kernel, the driver for 88E6171 devices used a statistics type bitmap that selected BANK0 and BANK1 counters while advertising BANK0 and PORT counters. This mismatch caused the driver to write 61 entries to the statistics buffer instead of the advertised 38, leading to a buffer overrun. The overflow can corrupt kernel memory, potentially causing a crash or other memory corruption effects if an attacker has the ability to invoke ethtool on the affected system.

Affected Systems

Vulnerable kernel versions include any Linux kernel release incorporating the net/dsa/mv88e6xxx driver before the patch at commit 33ee2f54ccf57bdad9d748dfe6ba154d2bdfc14d. The issue is specific to devices that use the 88E6171 part of the mv88e6xxx family, such as the EA4500 platform, and affects the statistics reporting through ethtool.

Risk and Exploitability

The CVSS score is not supplied and EPSS is not available, so the precise risk level cannot be quantified. The vulnerability involves an out‑of‑bounds write, which is a high‑severity flaw under CWE‑787. No publicly known exploit exists. The likely attack vector is local and requires an attacker with privileged access who can trigger ethtool on the machine running the affected kernel.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that incorporates the commit fixing the statistics type mismatch.
  • Reboot the system to load the updated kernel and its drivers.
  • Optionally run hardware counter checks on devices such as the EA4500 to ensure ethtool now returns the correct statistics count.

Generated by OpenCVE AI on November 30, 2026 at 20:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-787
Type Values Removed Values Added
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.
Title net: dsa: mv88e6xxx: fix 88E6171 statistics type
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM