The mv88e6xxx DSA driver runs Marvell’s Ethernet switch chips found in routers and small network appliances, and it answers ethtool -S by filling a statistics buffer whose length it advertised beforehand. For the 88E6171 the two sides disagree: the chip “uses the 6095 statistics operations, which advertise and name BANK0 and PORT counters. Its stats_type bitmap instead selects BANK0 and BANK1.” The kernel CNA record counts the result: 38 entries advertised, 61 written, which “mislabels the tail of the returned statistics and writes past the advertised statistics buffer.” Red Hat rates it Important at 7.8 as a local escalation for a user who can read interface statistics. On devices built around an 88E6171, upgrade to 6.18.65, 7.3.6 or later and reboot; kernels before 6.14 are not affected.
CVE-2026-139164 at a glance.
| Component | Linux kernel, Marvell 88E6xxx DSA switch driver (drivers/net/dsa/mv88e6xxx/chip.c, the 88E6171 chip description and its stats_type selection) |
| Affected versions | from 5595e3613ea7, the commit that introduced the stats_type bitmap: 6.14 up to 6.18 before 6.18.65 and 7.3 before 7.3.6, and 7.4 before 7.4-rc1; the 5.10, 5.15, 6.1, 6.6 and 6.12 series predate the bitmap and are not affected |
| Fixed in | mainline 7.4-rc1 (commit df66431f, “fix 88E6171 statistics type”, which selects BANK0 and PORT to match the chip’s operations and “restore the filter used before the bitmap was introduced”) and stable 6.18.65, 7.3.6; three commits in the record |
| Severity | Red Hat Important, CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, draft, CWE-787), bug 2587387 “Out-of-bounds memory write via Marvell switch statistics buffer mismatch”; the kernel CNA gives no score and NVD (Received, 30 November) carries none; Ubuntu Medium; SUSE could not be read on 2 December 2026 |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00198 (10th percentile) on 1 December 2026 |
| Who is exposed | Hardware with a Marvell 88E6171 switch driven by DSA: the record names the EA4500 as its test platform, and the chip appears in other consumer routers and embedded boards that run a mainline 6.14 or later kernel, usually under OpenWrt or a vendor build. Red Hat: a local user “who can query interface statistics via ethtool” can trigger the write; standard RHEL installs do not ship the hardware and every RHEL kernel is marked not affected |
| Published | CVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026 |
What it is
ethtool -S is a two-step protocol between the tool and the driver: the driver first reports how many statistics it has and their names (get_sset_count() and get_strings()), the caller allocates that many 64-bit slots, and the driver then fills them. The Marvell driver describes each chip with a set of statistics operations that decide which counter banks exist, and since 6.14 a separate stats_type bitmap decides which banks the collection routine actually reads. For the 88E6171 the operations table says BANK0 plus three PORT counters, 38 entries with the ATU and VTU counters, while the bitmap says BANK0 plus BANK1: 30 + 26 + 5, which is 61.
So the caller allocates 38 slots and the driver writes 61. The first thirty are right, the next ones are BANK1 counters labelled with PORT and ATU names, and the last twenty-three go past the end of the allocation. The buffer is kernel memory sized from the advertised count, so the overrun corrupts whatever follows it; the content is counter values read from the switch, which an attacker influences only indirectly through traffic, but the length and the fact of the overrun are fixed by the chip identity and triggered by an ordinary unprivileged ethtool -S. That is the basis of the local-escalation score.
The fix changes the chip’s stats_type to BANK0 and PORT, matching what its operations advertise; the record notes that the two-bridge forwarding and multicast snooping tests on an EA4500 “now pass their hardware counter checks”, which is the mislabelling showing up in the driver’s own tests. git.kernel.org refuses automated readers, so the diff is described from the CNA’s copy of the commit message.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. Only a kernel driving an 88E6171 runs the vulnerable path.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page | — |
| Debian | Not affected in bookworm (6.1.192-3) and trixie (6.12.118-1): “vulnerable code not present”; forky and sid (7.3.6-1) fixed; no DSA | unstable 7.3.6-1 |
| Ubuntu | Medium; the linux package is needs evaluation on every release from 14.04 to 26.10 on 2 December 2026, nothing released; by the record only the 6.14 and later kernels (26.04, 26.10 and the newer HWE series) are in range | nothing on 2 December 2026 |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.8 (bug 2587387, CWE-787), but kernel and kernel-rt are not affected in RHEL 6 to 10 and every OpenShift RHCOS image | — |
| openSUSE/SLE | Not consulted: suse.com refused the automated reader on 2 December 2026 (client error) | — |
| Fedora, Arch, OpenWrt; self-built kernels | Not consulted; upstream stable versions apply. Anything on 6.13 or earlier is outside the range | 6.18.65 / 7.3.6 or later |
How to check
Is the mv88e6xxx driver bound to anything, is the chip an 88E6171, and is the kernel in the affected range. On a server or desktop the first command returns nothing and the page does not apply.
# 1. is the Marvell DSA driver present and bound to a switch
lsmod | grep -w mv88e6xxx
ls /sys/bus/mdio_bus/drivers/mv88e6xxx/ 2>/dev/null
# 2. which chip: the driver logs the model at probe, and the DSA tree shows the ports
dmesg | grep -iE 'mv88e6xxx.*(switch|88E6)'
cat /sys/class/net/*/dsa/tagging 2>/dev/null
# 3. the running kernel: affected from 6.14, fixed in 6.18.65, 7.3.6 or later
uname -r
# 4. the symptom itself, on an affected build: more values than names
for p in $(ls /sys/class/net/ | grep -E '^lan|^wan'); do ethtool -S $p 2>/dev/null | wc -l; doneNo driver means the page does not apply. A bound driver on a kernel before 6.14 has the old filter and is not affected. An 88E6171 on 6.14 through 6.18.64 or 7.3.0 through 7.3.5 is the exposed case, and on such a device every ethtool -S lanN, including the ones that monitoring agents issue on a schedule, performs the overrun; the device may already be showing unexplained oopses or odd memory corruption under traffic. Do not run the fourth step repeatedly on an affected build to confirm it.
How to fix it
Update the kernel and reboot. On a router that means the firmware image or the distribution’s kernel package; until then, stop unprivileged users and agents from issuing ethtool -S on the switch ports.
# Debian forky / sid (7.3.6-1) carry the fix; bookworm and trixie are not affected
apt update && apt install linux-image-armmp && systemctl reboot # or the image for the board's architecture# Ubuntu: needs evaluation on 2 December 2026; once the linux package is released
apt update && apt full-upgrade && systemctl reboot
# RHEL / Rocky / Alma: not affected; nothing to do# Interim on an affected device: keep ethtool away from unprivileged accounts and pause per-port statistics collection
chmod 750 $(command -v ethtool)
# e.g. in collectd / telegraf / node_exporter configuration, disable the ethtool collector until the rebootRestricting the ethtool binary is a stop-gap, not a boundary: the statistics ioctl is open to any process, and a user who can compile a few lines of C does not need the tool. What not to do: do not “fix” it by cherry-picking only the fix commit onto a kernel older than 6.14, which does not have the bitmap and does not have the bug; and do not rely on the mislabelled counters for capacity decisions on an affected build, since the record says the tail of the statistics names the wrong things.
Sources
- CVE-2026-139164 at CVE.org — the kernel CNA record: the 38 against 61 count, the BANK0/BANK1 against BANK0/PORT mismatch, the EA4500 test note, the version ranges (30 November 2026)
- Fix commit df66431f (mainline 7.4-rc1, the commit Debian cites) and the stable backports 7cca825a, 33ee2f54; git.kernel.org refuses automated readers, so the diff is described from the CNA’s copy of the commit message
- NVD entry — Received on 30 November 2026; no CVSS metric, CWE or CPE on 2 December 2026
- Distribution trackers: Debian (bookworm and trixie not affected, unstable fixed in 7.3.6-1) · Red Hat (Important 7.8, bug 2587387, CWE-787; every RHEL kernel not affected; the statement on ethtool and rarely deployed hardware) · Ubuntu (Medium, needs evaluation; read from the HTML page, the JSON endpoint refused) · SUSE (refused the automated reader on 2 December 2026)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00198 (percentile 0.101) on 1 December 2026
Related reading
- CVE-2026-139168: Linux kernel Microchip FDMA DCB — the neighbouring embedded-networking driver from the same burst
- CVE-2026-139167: Linux kernel accepts a one-entry RPS flow table — rated the same day, the networking core’s own out-of-bounds write
- CVE-2026-100027: Linux kernel build-ID parser on 32-bit — the same scoring pattern: a fixed-size buffer and a count that was never checked against it
- The Kernel — what DSA is, and why a switch chip’s driver runs in the same kernel as everything else on the box
This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

