CVE-2026-52940: Linux kernel · tun: zero the whole vnet header in tun_put_user()
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 7.0.0-31.31~24.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 7.0.0-31.31~24.04.1, 7.0.0-31.31, 7.0.0-1012.12 +7
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 24 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 26.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and has been released in Linux kernel versions 7.0.0-31.31 and later for the affected Ubuntu kernels. Users should upgrade to these fixed versions to remediate the vulnerability. No additional mitigation steps are required beyond applying the official kernel updates.
Description
A vulnerability in the Linux kernel's tun driver was fixed where the tun_put_user() function failed to zero the entire virtio_net_hdr_v1_hash_tunnel structure. This caused uninitialized stack memory to be copied to userspace, leaking 14 bytes of kernel stack data on each read of a non-tunnel packet. The issue affects specific Linux kernel versions and has been addressed in fixed releases. The vulnerability has a medium severity rating with a CVSS score of 5.5 and does not involve privilege escalation or confidentiality impact but causes denial of service.
References
- ubuntu.com/security/CVE-2026-52940 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-52940 (opens in a new tab)
- git.kernel.org/linus/7f2fcff15e99bb852f6967396ed12b38376e2c8d (opens in a new tab)
- git.kernel.org/stable/c/585cb85e9a29185be05f326369573c2663cf4380 (opens in a new tab)
- git.kernel.org/stable/c/5fd1fa5a4254bfdd70571c77f5e3bcb4e43738d5 (opens in a new tab)
- git.kernel.org/stable/c/7f2fcff15e99bb852f6967396ed12b38376e2c8d (opens in a new tab)
- ubuntu.com/security/notices/USN-8726-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8727-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8728-1 (opens in a new tab)