NULL pointer dereference in Linux

CVE-2022-49019

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

net: ethernet: nixge: fix NULL dereference

In function nixge_hw_dma_bd_release() dereference of NULL pointer
priv->rx_bd_v is possible for the case of its allocation failure in
nixge_hw_dma_bd_init().

Move for() loop with priv->rx_bd_v dereference under the check for
its validity.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 14.5th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 492caffa8a1a405f661c111acabfe6b8b9645db8, 4.17, 0
  • Linux Kernel — versions 6.1

Weakness classification (CWE)

References