Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-3107
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 04:01 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-3107
Complete source record
{
"id": "fad5882c439482d5c3091b3aba97c5c5c5dad8a645e68a6443bcf5c340d53dca",
"url": "https://osv.dev/vulnerability/CVE-2022-3107",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-3107",
"summary": "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.",
"evidence": "osv:CVE-2022-3107",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-3107",
"aliases": [
"CVE-2022-3107"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git",
"type": "GIT",
"events": [
{
"introduced": "a7904a538933c525096ca2ccde1e60d0ee62c08e"
},
{
"last_affected": "a7904a538933c525096ca2ccde1e60d0ee62c08e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "Linux 5.16-rc6"
},
{
"last_affected": "Linux 5.16-rc6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
}
],
"versions": [
"Linux 5.16-rc6",
"v5.16-rc6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3107.json"
}
}
],
"modified": "2026-10-28T02:30:25.911389070Z",
"provider": "osv",
"references": [
"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.19-rc2&id=886e44c9298a6b428ae046e2fa092ca52e822e6a",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3107.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-3107",
"https://bugzilla.redhat.com/show_bug.cgi?id=2153060"
],
"provider_metadata": {
"cwe_ids": [
"CWE-476"
],
"cna_assigner": "redhat",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3107.json"
}
},
"related_cves": [
{
"value": "CVE-2022-3107",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 492357,
"published_at": "2022-12-14T00:00:00+00:00"
}