high · CVSS v3 7
CVE-2026-98027
A Linux kernel bug in the Marvell mv88e6xxx DSA driver allows any user to trigger a buffer overflow via the ETHTOOL_GRXCLSRLALL ioctl, poten
Overview
A Linux kernel bug in the Marvell mv88e6xxx DSA driver allows any user to trigger a buffer overflow via the ETHTOOL_GRXCLSRLALL ioctl, potentially corrupting kernel memory. The flaw occurs when the driver incorrectly uses the caller‑supplied rule count as a write index, leading to out‑of‑bounds access. This can enable privilege escalation or denial of service on affected systems.
Description
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.
Impact
The vulnerability can compromise confidentiality, integrity, and availability of the host. An attacker may gain root privileges or crash the kernel, disrupting services. Systems with the mv88e6xxx driver loaded and ETHTOOL access are at risk.
Remediation
Apply the vendor‑supplied kernel patch that bounds the policy rule dump correctly. If patching is delayed, disable the mv88e6xxx driver or block ETHTOOL_GRXCLSRLALL via SELinux/AppArmor or sysctl. Ensure the system runs a kernel version that includes the fix and enable kernel hardening options such as CONFIG_STRICT_DEVMEM.
Risk context
Severity is high with a CVSS v3 score of 7.0. While no EPSS data is available, the flaw permits kernel memory corruption without privilege checks, warranting prompt patching or mitigation.
Affected products
- Linux kernel
- Marvell 88E6xxx DSA driver
- mv88e6xxx
- Linux networking stack
Scores
- Severity
- high
- CVSS v2
- 6
- CVSS v3
- 7
- CVSS v4
- —
- EPSS
- —