netdevsim: zero initialize struct iphdr in dummy sk_buff
In the Linux kernel, the following vulnerability has been resolved: netdevsim: zero initialize struct iphdr in dummy sk_buff Syzbot reports a KMSAN uninit-value originating from nsim_dev_trap_skb_build, with the allocation also being performed in the same function. Fix this by calling skb_put_zero instead of skb_put to guarantee zero initialization of the whole IP header.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.258, 5.15.209, 6.1.175, 6.12.91, 6.18.33, 6.6.141, 7.0.10
- CVEs
- CVE-2026-52985
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:26 UTC · Revision 1
Source evidence
netdevsim: zero initialize struct iphdr in dummy sk_buff
core-osv · Original sourcePublished 24 Jun 2026, 16:28 UTC
In the Linux kernel, the following vulnerability has been resolved: netdevsim: zero initialize struct iphdr in dummy sk_buff Syzbot reports a KMSAN uninit-value originating from nsim_dev_trap_skb_build, with the allocation also being performed in the same function. Fix this by calling skb_put_zero instead of skb_put to guarantee zero initialization of the whole IP header.
osv:CVE-2026-52985
Kernel
Fixed versions: 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10
Complete source record
{
"id": "0e13f20e92e575b788f9f8079f2b754750015defe3f7b00325042971a94d0173",
"url": "https://osv.dev/vulnerability/CVE-2026-52985",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "netdevsim: zero initialize struct iphdr in dummy sk_buff",
"summary": "In the Linux kernel, the following vulnerability has been resolved: netdevsim: zero initialize struct iphdr in dummy sk_buff Syzbot reports a KMSAN uninit-value originating from nsim_dev_trap_skb_build, with the allocation also being performed in the same function. Fix this by calling skb_put_zero instead of skb_put to guarantee zero initialization of the whole IP header.",
"evidence": "osv:CVE-2026-52985",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.258",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.209",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.175",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.141",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.91",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.33",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-52985",
"aliases": [
"CVE-2026-52985"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "da58f90f11f597520f226caff1d3cfc115abedc9"
},
{
"fixed": "175556c049eaec14efde8c6475e763b7579b9de7"
},
{
"fixed": "6e2cfd0904976e701d7a76b86b694e72af230ab0"
},
{
"fixed": "1b7b6ae0e93b8d512e208b1378d74af052e4f4e7"
},
{
"fixed": "818f7673ed7f4a29d4b9cee8184c47d6e57162b4"
},
{
"fixed": "978ca6ff789f1f19c03288ac20cc1f4774e88490"
},
{
"fixed": "750d0091bebf44975421268d37484ef87060d263"
},
{
"fixed": "bc6002865e8c4fcf9e94975f7cf023448d8764e2"
},
{
"fixed": "35eaa6d8d6c2ee65e96f507add856e0eacf24591"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52985.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.4.0"
},
{
"fixed": "5.10.258"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.209"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.175"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.141"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.91"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.33"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52985.json"
}
}
],
"modified": "2026-10-28T02:30:23.496831024Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/175556c049eaec14efde8c6475e763b7579b9de7",
"https://git.kernel.org/stable/c/1b7b6ae0e93b8d512e208b1378d74af052e4f4e7",
"https://git.kernel.org/stable/c/35eaa6d8d6c2ee65e96f507add856e0eacf24591",
"https://git.kernel.org/stable/c/6e2cfd0904976e701d7a76b86b694e72af230ab0",
"https://git.kernel.org/stable/c/750d0091bebf44975421268d37484ef87060d263",
"https://git.kernel.org/stable/c/818f7673ed7f4a29d4b9cee8184c47d6e57162b4",
"https://git.kernel.org/stable/c/978ca6ff789f1f19c03288ac20cc1f4774e88490",
"https://git.kernel.org/stable/c/bc6002865e8c4fcf9e94975f7cf023448d8764e2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52985.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-52985",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52985.json"
}
},
"related_cves": [
{
"value": "CVE-2026-52985",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 489843,
"published_at": "2026-06-24T16:28:59.871+00:00"
}