Null Pointer Dereference in netvsc_get_ethtool_stats()

Null Pointer Dereference in netvsc_get_ethtool_stats()

CVE-2022-3107 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.