{"id":"CVE-2026-139164","state":"PUBLISHED","title":"net: dsa: mv88e6xxx: fix 88E6171 statistics type","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: mv88e6xxx: fix 88E6171 statistics type\n\nThe 88E6171 uses the 6095 statistics operations, which advertise and name\nBANK0 and PORT counters. Its stats_type bitmap instead selects BANK0 and\nBANK1. Since statistics collection started using that bitmap, it has\nwritten a different set of counters from the one advertised to ethtool.\n\nFor this chip, get_sset_count() accounts for 30 BANK0 counters, three\nPORT counters and five ATU/VTU counters. Collection instead writes 30\nBANK0 counters, 26 BANK1 counters and five ATU/VTU counters: 61 entries\nrather than the advertised 38. This mislabels the tail of the returned\nstatistics and writes past the advertised statistics buffer.\n\nSelect BANK0 and PORT counters to match the chip's statistics operations\nand restore the filter used before the bitmap was introduced. Tested on\nan EA4500, where the two-bridge forwarding and multicast snooping tests\nnow pass their hardware counter checks.","publishedAt":"2026-11-30T13:32:10.488Z","updatedAt":"2026-11-30T13:32:10.488Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5595e3613ea768b81f600d37ea6880983339f21a","status":"affected","lessThan":"7cca825a3b318dc2dec4d2a30e55a570d241c95a","versionType":"git"},{"version":"5595e3613ea768b81f600d37ea6880983339f21a","status":"affected","lessThan":"33ee2f54ccf57bdad9d748dfe6ba154d2bdfc14d","versionType":"git"},{"version":"5595e3613ea768b81f600d37ea6880983339f21a","status":"affected","lessThan":"df66431f39426b685f6693f0731cd5881c51679c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/dsa/mv88e6xxx/chip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/dsa/mv88e6xxx/chip.c"]}],"references":["https://git.kernel.org/stable/c/7cca825a3b318dc2dec4d2a30e55a570d241c95a","https://git.kernel.org/stable/c/33ee2f54ccf57bdad9d748dfe6ba154d2bdfc14d","https://git.kernel.org/stable/c/df66431f39426b685f6693f0731cd5881c51679c"],"weaknesses":[],"ingestedAt":"2026-11-30T13:44:05.999Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139164.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139164","state":"PUBLISHED","datePublished":"2026-11-30T13:32:10.488Z","dateUpdated":"2026-11-30T13:32:10.488Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.917Z"},"containers":{"cna":{"title":"net: dsa: mv88e6xxx: fix 88E6171 statistics type","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: mv88e6xxx: fix 88E6171 statistics type\n\nThe 88E6171 uses the 6095 statistics operations, which advertise and name\nBANK0 and PORT counters. Its stats_type bitmap instead selects BANK0 and\nBANK1. Since statistics collection started using that bitmap, it has\nwritten a different set of counters from the one advertised to ethtool.\n\nFor this chip, get_sset_count() accounts for 30 BANK0 counters, three\nPORT counters and five ATU/VTU counters. Collection instead writes 30\nBANK0 counters, 26 BANK1 counters and five ATU/VTU counters: 61 entries\nrather than the advertised 38. This mislabels the tail of the returned\nstatistics and writes past the advertised statistics buffer.\n\nSelect BANK0 and PORT counters to match the chip's statistics operations\nand restore the filter used before the bitmap was introduced. Tested on\nan EA4500, where the two-bridge forwarding and multicast snooping tests\nnow pass their hardware counter checks."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5595e3613ea768b81f600d37ea6880983339f21a","status":"affected","lessThan":"7cca825a3b318dc2dec4d2a30e55a570d241c95a","versionType":"git"},{"version":"5595e3613ea768b81f600d37ea6880983339f21a","status":"affected","lessThan":"33ee2f54ccf57bdad9d748dfe6ba154d2bdfc14d","versionType":"git"},{"version":"5595e3613ea768b81f600d37ea6880983339f21a","status":"affected","lessThan":"df66431f39426b685f6693f0731cd5881c51679c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/dsa/mv88e6xxx/chip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.14","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/dsa/mv88e6xxx/chip.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7cca825a3b318dc2dec4d2a30e55a570d241c95a"},{"url":"https://git.kernel.org/stable/c/33ee2f54ccf57bdad9d748dfe6ba154d2bdfc14d"},{"url":"https://git.kernel.org/stable/c/df66431f39426b685f6693f0731cd5881c51679c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:32:10.488Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}