Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-52940

published

tun: zero the whole vnet header in tun_put_user()

Published
24 Jun 2026, 07:14:29 UTC
Updated
24 Jun 2026, 07:14:29 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux288f30435132d2f9e7a29ec9b9745a4f9dc7fd37 to < 5fd1fa5a4254bfdd70571c77f5e3bcb4e43738d5 · 288f30435132d2f9e7a29ec9b9745a4f9dc7fd37 to < 585cb85e9a29185be05f326369573c2663cf4380 · 288f30435132d2f9e7a29ec9b9745a4f9dc7fd37 to < 7f2fcff15e99bb852f6967396ed12b38376e2c8d · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.36 through 6.18.* (unaffected · semver) · 7.0.13 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1925 Fixed Not stated Amazon Linux assessment
Ubuntu noble linux-aws-7.0 Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-aws-7.0-cloud-tools-7.0.0-1012 Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-aws-7.0-headers-7.0.0-1012 Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble linux-aws-7.0-tools-7.0.0-1012 Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-azure-7.0 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-cloud-tools-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-headers-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-azure-7.0-tools-7.0.0-1014 Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-buildinfo-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-buildinfo-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-buildinfo-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-buildinfo-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-buildinfo-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-buildinfo-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-buildinfo-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-buildinfo-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-buildinfo-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-buildinfo-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-buildinfo-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-cloud-tools-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-cloud-tools-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-cloud-tools-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-cloud-tools-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-gcp-7.0 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-gcp-7.0-headers-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-gcp-7.0-tools-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-headers-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-headers-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-headers-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-headers-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-headers-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-headers-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-headers-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-headers-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-headers-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-31 Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-hwe-7.0-headers-7.0.0-31 Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-hwe-7.0-tools-7.0.0-31 Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-image-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-image-unsigned-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-image-unsigned-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-image-unsigned-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-image-unsigned-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-image-unsigned-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-image-unsigned-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-image-unsigned-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-image-unsigned-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-image-unsigned-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-lib-rust-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-modules-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-modules-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-modules-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-modules-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-modules-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-modules-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-modules-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-modules-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-modules-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-evdi-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-ipu6-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-ipu7-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-modules-iwlwifi-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-modules-nvidia-fs-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-modules-usbio-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-modules-vision-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-nvidia-7.0 Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-nvidia-7.0-headers-7.0.0-1018 Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-nvidia-7.0-tools-7.0.0-1018 Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-oracle-7.0 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-oracle-7.0-headers-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-oracle-7.0-tools-7.0.0-1011 Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1011-gcp Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-tools-7.0.0-1011-gcp-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-1
Ubuntu noble linux-tools-7.0.0-1011-oracle Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1011-oracle-64k Advisory build 7.0.0-1011.11~24.04.1 USN-8728-3
Ubuntu noble linux-tools-7.0.0-1012-aws Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-tools-7.0.0-1012-aws-64k Advisory build 7.0.0-1012.12~24.04.1 USN-8726-1
Ubuntu noble linux-tools-7.0.0-1014-azure Advisory build 7.0.0-1014.14~24.04.1 USN-8728-2
Ubuntu noble linux-tools-7.0.0-1018-nvidia Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-tools-7.0.0-1018-nvidia-64k Advisory build 7.0.0-1018.18~24.04.1 USN-8760-1
Ubuntu noble linux-tools-7.0.0-31-generic Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu noble linux-tools-7.0.0-31-generic-64k Advisory build 7.0.0-31.31~24.04.1 USN-8726-1
Ubuntu resolute bpftool Advisory build 7.7.0+7.0.0-31.31 USN-8726-1
Ubuntu resolute linux Advisory build 7.0.0-31.31 USN-8726-1
Ubuntu resolute linux-aws Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-aws-cloud-tools-7.0.0-1012 Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-aws-headers-7.0.0-1012 Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-aws-tools-7.0.0-1012 Advisory build 7.0.0-1012.12 USN-8726-1
Ubuntu resolute linux-azure Advisory build 7.0.0-1014.14 USN-8726-4
Ubuntu resolute linux-azure-cloud-tools-7.0.0-1014 Advisory build 7.0.0-1014.14 USN-8726-4
Ubuntu resolute linux-azure-headers-7.0.0-1014 Advisory build 7.0.0-1014.14 USN-8726-4

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: tun: zero the whole vnet header in tun_put_user() tun_put_user() declares an on-stack struct virtio_net_hdr_v1_hash_tunnel without zeroing it. For a non-tunnel skb, virtio_net_hdr_tnl_from_skb() only initializes the first 10 bytes (sizeof(struct virtio_net_hdr)), leaving bytes 10..23 (num_buffers and the hash/tunnel fields) as stack garbage. An unprivileged user can set the vnet header size to 24 with TUNSETVNETHDRSZ, so __tun_vnet_hdr_put() copies all 24 bytes of the partially-initialized struct to userspace, leaking 14 bytes of kernel stack on every read of a non-tunnel packet. Fix it the same way tun_get_user() already does by zeroing the whole header right after declaration.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

13

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 288f30435132d2f9e7a29ec9b9745a4f9dc7fd37 to < 5fd1fa5a4254bfdd70571c77f5e3bcb4e43738d5 (affected · git)288f30435132d2f9e7a29ec9b9745a4f9dc7fd37 to < 585cb85e9a29185be05f326369573c2663cf4380 (affected · git)288f30435132d2f9e7a29ec9b9745a4f9dc7fd37 to < 7f2fcff15e99bb852f6967396ed12b38376e2c8d (affected · git)Default: unaffected Linux · cna
Linux Linux 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.36 through 6.18.* (unaffected · semver)7.0.13 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

tun: zero the whole vnet header in tun_put_user()

Provenance

Schema
5.2
Searchable
yes
Content hash
584b0a1b23ab8b76f176cdda71e72c8e911b0078608a05c1b8d5898bb64f5d82
Ingested
23 Sep 2026, 09:19:36 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected