CVE-2022-3107 Null dereference in Kernel
A missing return value check in the Linux kernel's Hyper-V network driver can lead to a null pointer dereference, causing a 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-3107?
CVE-2022-3107 is a medium-severity vulnerability in Linux kernel, published on 14 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue was discovered in the Linux kernel through 5.16-rc6. netvsc_get_ethtool_stats in drivers/net/hyperv/netvsc_drv.c lacks check of the return value of kvmalloc_array() and will cause the null pointer dereference.
Weakness: CWE-476
Which versions are affected by CVE-2022-3107?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-3107?
Apply the vendor's patch.
Is CVE-2022-3107 being exploited?
There is no known exploitation of CVE-2022-3107 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-11608, DEBIAN-CVE-2022-3107, GHSA-r839-rgcg-37rj, UBUNTU-CVE-2022-3107.