CVE-2021-46916

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

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

10 Apr 2024, 14:24

Type Values Removed Values Added
CWE CWE-476
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/31166efb1cee348eb6314e9c0095d84cbeb66b9d - () https://git.kernel.org/stable/c/31166efb1cee348eb6314e9c0095d84cbeb66b9d - Patch
References () https://git.kernel.org/stable/c/758d19098df4b0bbca9f40d6ae6c82c9c18b9bba - () https://git.kernel.org/stable/c/758d19098df4b0bbca9f40d6ae6c82c9c18b9bba - Patch

27 Feb 2024, 14:20

Type Values Removed Values Added
Summary
  • (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.

27 Feb 2024, 07:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-27 07:15

Updated : 2024-04-10 14:24


NVD link : CVE-2021-46916

Mitre link : CVE-2021-46916

CVE.ORG link : CVE-2021-46916


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference