CVE-2026-52985
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThe netdevsim driver's nsim_dev_trap_skb_build function uses skb_put() to allocate memory for an IP header struct but fails to initialize it to zero, causing uninitialized kernel memory to be present in the sk_buff's iphdr structure. KMSAN detects this uninit-value bug. The fix is replacing skb_put with skb_put_zero to guarantee zero initialization of the entire IP header.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 5.4, < 5.10.258>= 5.11, < 5.15.209>= 5.16, < 6.1.175>= 6.2, < 6.6.141>= 6.7, < 6.12.91>= 6.13, < 6.18.33>= 6.19, < 7.0.10= 7.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm netdevsim driver is in useCheck if the netdevsim kernel module is loaded: run 'lsmod | grep netdevsim' or check for netdevsim device nodes in /sys/devices/virtual/net/Affected if netdevsim module is loaded or netdevsim devices exist on the system
-
Identify kernel versionRun 'uname -r' to get the running kernel version and compare it against the affected ranges: >= 5.4 to < 5.10.258, >= 5.11 to < 5.15.209, >= 5.16 to < 6.1.175, >= 6.2 to < 6.6.141, >= 6.7 to < 6.12.91, >= 6.13 to < 6.18.33, >= 6.19 to < 7.0.10, or version 7.1Affected if The kernel version falls within any of the listed affected version ranges
-
Locate vulnerable source codeFind the netdevsim driver source file containing nsim_dev_trap_skb_build function, typically in drivers/net/ethernet/netdevsim/ in the kernel source tree, and search for the use of skb_put() when allocating the IP headerAffected if The code uses skb_put() instead of skb_put_zero() for the iphdr structure allocation in nsim_dev_trap_skb_build
-
Check for KMSAN warningsIf running a kernel with KMSAN enabled (CONFIG_KMSAN), look for KMSAN uninit-value warnings in kernel logs (dmesg, journalctl) related to nsim_dev_trap_skb_build or netdevsimAffected if KMSAN reports an uninitialized value bug originating from the nsim_dev_trap_skb_build function when handling sk_buff iphdr data
You are affected if the netdevsim driver is loaded or used, your kernel version is within the affected ranges, and the vulnerable code pattern (skb_put without zero initialization) exists in your kernel source.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped5.10.2585.15.2096.1.175
Apply the one-line code change to use skb_put_zero instead of skb_put in nsim_dev_trap_skb_build, then rebuild and test the netdevsim kernel module to verify the KMSAN warning is resolved.
Linux Kernel 5.10.258, 5.15.209, 6.1.175, or 6.6.141 (or any subsequent version)
- Identify the file containing nsim_dev_trap_skb_build function in the netdevsim driver (typically in drivers/net/netdevsim/ directory)
- Locate the call to skb_put() that allocates memory for struct iphdr in that function
- Replace skb_put() with skb_put_zero() to ensure zero-initialization of the IP header structure
- Recompile the kernel with the updated netdevsim driver
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation1.0 h
- Testing4.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-52985 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-52985 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data