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
- git.kernel.org/stable/c/910c0264b64ef2dad8887714a7c56c93e39a0ed3 (Patch)
- git.kernel.org/stable/c/45752af0247589e6d3dede577415bfe117b4392c (Patch)
- git.kernel.org/stable/c/9c584d6d9cfb935dce8fc81a4c26debac0a3049b (Patch)
- git.kernel.org/stable/c/80e82f7b440b65cf131dce10f487dc73a7046e6b (Patch)
- git.kernel.org/stable/c/9256db4e45e8b497b0e993cc3ed4ad08eb2389b6 (Patch)