# CVE-2021-46916: ixgbe: Fix NULL pointer dereference in ethtool loopback test

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2024-02-27T06:53:54.775Z
- Modified: 2026-06-17T04:15:50.360Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b02e5a0ebb172c8276cea3151942aac681f7a4a6 before 758d19098df4b0bbca9f40d6ae6c82c9c18b9bba; from b02e5a0ebb172c8276cea3151942aac681f7a4a6 before 31166efb1cee348eb6314e9c0095d84cbeb66b9d; 5.11 (not affected: before 5.11; from 5.11.16 up to 5.11.*; from 5.12 up to *)
- linux linux_kernel: from 5.11.0 before 5.11.16

## References

- <https://git.kernel.org/stable/c/758d19098df4b0bbca9f40d6ae6c82c9c18b9bba> (patch)
- <https://git.kernel.org/stable/c/31166efb1cee348eb6314e9c0095d84cbeb66b9d> (patch)

## Sources

- CVE List: [CVE-2021-46916](https://www.cve.org/CVERecord?id=CVE-2021-46916), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-46916](https://nvd.nist.gov/vuln/detail/CVE-2021-46916), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46916 · Whole record: https://cve.day/CVE-2021-46916.json · Rebuilt by cve.day 2026-11-25T22:58:08.563Z
