CVE-2021-46916

ixgbe: Fix NULL pointer dereference in ethtool loopback test

State
Published
Severity
Not scored
Published
Feb 27, 2024
Updated
May 11, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

ixgbe: Fix NULL pointer dereference in ethtool loopback test

The ixgbe driver currently generates a NULL pointer dereference when performing the ethtool loopback test. This is due to the fact that there isn't a q_vector associated with the test ring when it is setup as interrupts are not normally added to the test rings.

To address this I have added code that will check for a q_vector before returning a napi_id value. If a q_vector is not present it will return a value of 0.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b02e5a0ebb172c8276cea3151942aac681f7a4a6 to before 758d19098df4b0bbca9f40d6ae6c82c9c18b9bbaAffected
  • b02e5a0ebb172c8276cea3151942aac681f7a4a6 to before 31166efb1cee348eb6314e9c0095d84cbeb66b9dAffected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.11.16 through 5.11.*Not affected
  • 5.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.