CVE-2022-49019
net: ethernet: nixge: fix NULL dereference
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.
Affected products
Linux · LinuxWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://git.kernel.org/stable/c/45752af0247589e6d3dede577415bfe117b4392chttps://git.kernel.org/stable/c/80e82f7b440b65cf131dce10f487dc73a7046e6bhttps://git.kernel.org/stable/c/910c0264b64ef2dad8887714a7c56c93e39a0ed3https://git.kernel.org/stable/c/9256db4e45e8b497b0e993cc3ed4ad08eb2389b6https://git.kernel.org/stable/c/9c584d6d9cfb935dce8fc81a4c26debac0a3049b