CVE-2026-52985
netdevsim: zero initialize struct iphdr in dummy sk_buff
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.
INFO
Published Date :
June 24, 2026, 5:17 p.m.
Last Modified :
July 14, 2026, 4:47 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Use skb_put_zero instead of skb_put.
- Ensure IP header is zero initialized.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-52985.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-52985 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-52985
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-52985 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-52985 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 14, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-908 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.141 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.91 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.10 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.175 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.4 up to (excluding) 5.10.258 Added Reference Type kernel.org: https://git.kernel.org/stable/c/175556c049eaec14efde8c6475e763b7579b9de7 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1b7b6ae0e93b8d512e208b1378d74af052e4f4e7 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/35eaa6d8d6c2ee65e96f507add856e0eacf24591 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6e2cfd0904976e701d7a76b86b694e72af230ab0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/750d0091bebf44975421268d37484ef87060d263 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/818f7673ed7f4a29d4b9cee8184c47d6e57162b4 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/978ca6ff789f1f19c03288ac20cc1f4774e88490 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bc6002865e8c4fcf9e94975f7cf023448d8764e2 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'da58f90f11f597520f226caff1d3cfc115abedc9', 'lessThan': '175556c049eaec14efde8c6475e763b7579b9de7', 'versionType': 'git'}, {'status': 'affected', 'version': 'da58f90f11f597520f226caff1d3cfc115abedc9', 'lessThan': '6e2cfd0904976e701d7a76b86b694e72af230ab0', 'versionType': 'git'}, {'status': 'affected', 'version': 'da58f90f11f597520f226caff1d3cfc115abedc9', 'lessThan': '1b7b6ae0e93b8d512e208b1378d74af052e4f4e7', 'versionType': 'git'}, {'status': 'affected', 'version': 'da58f90f11f597520f226caff1d3cfc115abedc9', 'lessThan': '818f7673ed7f4a29d4b9cee8184c47d6e57162b4', 'versionType': 'git'}, {'status': 'affected', 'version': 'da58f90f11f597520f226caff1d3cfc115abedc9', 'lessThan': '978ca6ff789f1f19c03288ac20cc1f4774e88490', 'versionType': 'git'}, {'status': 'affected', 'version': 'da58f90f11f597520f226caff1d3cfc115abedc9', 'lessThan': '750d0091bebf44975421268d37484ef87060d263', 'versionType': 'git'}, {'status': 'affected', 'version': 'da58f90f11f597520f226caff1d3cfc115abedc9', 'lessThan': 'bc6002865e8c4fcf9e94975f7cf023448d8764e2', 'versionType': 'git'}, {'status': 'affected', 'version': 'da58f90f11f597520f226caff1d3cfc115abedc9', 'lessThan': '35eaa6d8d6c2ee65e96f507add856e0eacf24591', 'versionType': 'git'}], 'programFiles': ['drivers/net/netdevsim/dev.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.258', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.209', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.175', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.141', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.91', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.33', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.10', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/netdevsim/dev.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/175556c049eaec14efde8c6475e763b7579b9de7 Added Reference https://git.kernel.org/stable/c/1b7b6ae0e93b8d512e208b1378d74af052e4f4e7 Added Reference https://git.kernel.org/stable/c/35eaa6d8d6c2ee65e96f507add856e0eacf24591 Added Reference https://git.kernel.org/stable/c/6e2cfd0904976e701d7a76b86b694e72af230ab0 Added Reference https://git.kernel.org/stable/c/750d0091bebf44975421268d37484ef87060d263 Added Reference https://git.kernel.org/stable/c/818f7673ed7f4a29d4b9cee8184c47d6e57162b4 Added Reference https://git.kernel.org/stable/c/978ca6ff789f1f19c03288ac20cc1f4774e88490 Added Reference https://git.kernel.org/stable/c/bc6002865e8c4fcf9e94975f7cf023448d8764e2