CVE-2026-98027

published 25 Sep 2026 · updated 15 Nov 2026

net: dsa: mv88e6xxx: bound the policy rule dump by the caller's buffer size

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cda5ac8fe8ac8e80b1703ebb8c4250726fc19739, Kernel 01124cd2cf4b71755b1130ac82d78dcfbd5d69e3, Kernel 44cd4674d9aa5bdf793b8a8b481c9e8536ed6070 and 12 more.

In the Linux kernel, the following vulnerability has been resolved: net: dsa: mv88e6xxx: bound the policy rule dump by the caller's buffer size mv88e6xxx_get_rxnfc() uses rxnfc->rule_cnt as the write index while dumping the policy IDR, clobbering the input value before it has been looked at. That input is the number of entries the caller had room for. ETHTOOL_GRXCLSRLALL requires no CAP_NET_ADMIN and the ioctl sizes the buffer from the rule_cnt userspace passes in, so once an admin has installed policy rules any user can ask for fewer slots than there are rules and run off the end of the allocation. A rule_cnt of 0 leaves the buffer pointer NULL and the walk dereferences it. Count into a local so the caller's limit survives the walk, and stop with -EMSGSIZE once it is reached.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=da7dc87553046a43be1620a783ce3d9f6583d322 <cda5ac8fe8ac8e80b1703ebb8c4250726fc19739, >=da7dc87553046a43be1620a783ce3d9f6583d322 <01124cd2cf4b71755b1130ac82d78dcfbd5d69e3, >=da7dc87553046a43be1620a783ce3d9f6583d322 <44cd4674d9aa5bdf793b8a8b481c9e8536ed6070, >=da7dc87553046a43be1620a783ce3d9f6583d322 <609c4378f212cf580aae02250f1146caf63d873f, >=da7dc87553046a43be1620a783ce3d9f6583d322 <7a683c2b062810bca203e41866389daf387c235b, >=da7dc87553046a43be1620a783ce3d9f6583d322 <7e4bfc5f0b66feb22cba821303fc25ca22cd0887, >=da7dc87553046a43be1620a783ce3d9f6583d322 <b1fffc273112e7284c5b705e186b43b5770cd3d5, >=da7dc87553046a43be1620a783ce3d9f6583d322 <c5b5c52b6524c9fb50def2260baac745c095ec3a, =5.4cda5ac8fe8ac8e80b1703ebb8c4250726fc19739, 01124cd2cf4b71755b1130ac82d78dcfbd5d69e3, 44cd4674d9aa5bdf793b8a8b481c9e8536ed6070, 609c4378f212cf580aae02250f1146caf63d873f, 7a683c2b062810bca203e41866389daf387c235b, 7e4bfc5f0b66feb22cba821303fc25ca22cd0887, b1fffc273112e7284c5b705e186b43b5770cd3d5, c5b5c52b6524c9fb50def2260baac745c095ec3a
linux-kernel: Kernel>=5.16.0 <6.1.189, >=5.4.0 <5.10.271, >=6.13.0 <6.18.53, >=6.19.0 <7.2.7, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=5.11.0 <5.15.2226.1.189, 5.10.271, 6.18.53, 7.2.7, 6.6.158, 6.12.111, 5.15.222

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-98027 severity on Zeptric[![CVE-2026-98027](https://zeptric.io/badge/cve/CVE-2026-98027.svg)](https://zeptric.io/cve/CVE-2026-98027)