CVE-2022-49019 net: ethernet: nixge: fix NULL dereference
A NULL pointer dereference in the Nixge Ethernet driver can cause a kernel crash, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49019?
CVE-2022-49019 is a medium-severity vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2022-49019?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49019?
Apply the vendor's patch.
Is CVE-2022-49019 being exploited?
There is no known exploitation of CVE-2022-49019 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49019, GHSA-xxqv-jc35-w8cj, UBUNTU-CVE-2022-49019.