Description
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.
Published: 2026-06-24
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel netdevsim module contains a flaw where the struct iphdr within dummy sk_buff objects is uninitialized when a dummy packet is constructed. This results in the IP header fields holding arbitrary values. The uninitialized data originates from the function nsim_dev_trap_skb_build, and a potential memory safety issue was reported by Syzbot as a KMSAN uninit-value. Because the header is not properly zeroed, the kernel could receive packets with malformed headers during dummy packet processing, which may cause unexpected kernel behavior such as crashes or undefined state transitions.

Affected Systems

All Linux kernel implementations that contain the netdevsim module and include the bug before commit 175556c049eaec14efde8c6475e763b7579b9de7 are affected. This includes any standard kernel builds from Linux distributions that ship the original upstream kernel source without this commit. Versions succeeding the commit are considered fixed.

Risk and Exploitability

The CVSS score is not disclosed and an EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector requires local or privileged execution to load or configure a netdevsim dummy network interface, as the problem is triggered when the module is active and packets are built. Exploitation would involve creating dummy packets that expose the uninitialized header, which could lead to kernel instability. The likelihood of exploitation in a typical production environment is moderate, given the need for module loading and privileged operations, but the impact on kernel stability remains significant if successful.

Generated by OpenCVE AI on June 24, 2026 at 21:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes commit 175556c049eaec14efde8c6475e763b7579b9de7 or newer
  • Disable or unload the netdevsim module if dummy device functionality is not required (e.g., modprobe -r netdevsim)
  • Remove any existing dummy network interfaces and avoid creating new ones; monitor system logs for kernel panics or anomalous packet activity

Generated by OpenCVE AI on June 24, 2026 at 21:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 24 Jun 2026 21:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Wed, 24 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
Description 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.
Title netdevsim: zero initialize struct iphdr in dummy sk_buff
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-24T16:28:59.871Z

Reserved: 2026-06-09T07:44:35.376Z

Link: CVE-2026-52985

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-24T21:30:04Z

Weaknesses
  • CWE-457

    Use of Uninitialized Variable