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.
A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Linux_kernel | Linux | * | 5.16.0 (excluding) |
Linux_kernel | Linux | 5.16.0 (including) | 5.16.0 (including) |
Linux_kernel | Linux | 5.16.0-rc1 (including) | 5.16.0-rc1 (including) |
Linux_kernel | Linux | 5.16.0-rc2 (including) | 5.16.0-rc2 (including) |
Linux_kernel | Linux | 5.16.0-rc3 (including) | 5.16.0-rc3 (including) |
Linux_kernel | Linux | 5.16.0-rc4 (including) | 5.16.0-rc4 (including) |
Linux_kernel | Linux | 5.16.0-rc5 (including) | 5.16.0-rc5 (including) |
Linux_kernel | Linux | 5.16.0-rc6 (including) | 5.16.0-rc6 (including) |