5.5medium
ixgbe: Fix NULL pointer dereference in ethtool loopback test
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 5.11.0 before 5.11.16 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ixgbe: corrige la desreferencia de puntero NULL en la prueba de bucle invertido de ethtool. El controlador ixgbe actualmente genera una desreferencia de puntero NULL cuando se realiza la prueba de bucle invertido de ethtool. Esto se debe al hecho de que no hay un q_vector asociado con el anillo de prueba cuando se configura, ya que normalmente no se agregan interrupciones a los anillos de prueba. Para solucionar esto, agregué un código que verificará si hay un q_vector antes de devolver un valor de napi_id. Si un q_vector no está presente, devolverá un valor de 0.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-46916 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-46916 changed 2026-06-17 | Public domain |