CVE-2026-31505
kernel: iavf: fix out-of-bounds writes in iavf_get_ethtool_stats()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 22, 2026
Updated · July 3, 2026
Description
A flaw was found in the Linux kernel's iavf driver. This vulnerability, an out-of-bounds write, occurs when a user simultaneously executes specific ethtool commands, specifically "ethtool -L" and "ethtool -S". This can lead to memory corruption, potentially causing a system crash and resulting in a Denial of Service (DoS).
Statement
Upstream aligns num_tx_queues across ethtool stats paths so channel reconfiguration cannot race undersized user buffers. Red Hat treats this as a local CAP_NET_ADMIN-class issue on Intel adaptive virtual function devices. Install updated kernels; optionally unload iavf where virtual NICs are not required.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the iavf module from being loaded. See https://access.redhat.com/solutions/41278 for instructions.
CVSS / CWE
CVSS 3.1 · 6.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
CWE-805 · Buffer Access with Incorrect Length Value