{"id":"CVE-2022-3107","details":"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.","modified":"2026-05-08T04:46:58.902517Z","published":"2022-12-14T00:00:00Z","related":["SUSE-SU-2023:0134-1","SUSE-SU-2023:0145-1","SUSE-SU-2023:0146-1","SUSE-SU-2023:0147-1","SUSE-SU-2023:0148-1","SUSE-SU-2023:0149-1","SUSE-SU-2023:0152-1","SUSE-SU-2023:0406-1","SUSE-SU-2023:0410-1","SUSE-SU-2023:0618-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3107.json","cna_assigner":"redhat","cwe_ids":["CWE-476"]},"references":[{"type":"WEB","url":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.19-rc2&id=886e44c9298a6b428ae046e2fa092ca52e822e6a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3107.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3107"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2153060"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git","events":[{"introduced":"0"},{"last_affected":"a7904a538933c525096ca2ccde1e60d0ee62c08e"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"last_affected":"Linux 5.16-rc6"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-3107.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}