Kernel-stack disclosure via uninitialized TUN header
Published Jun 24, 2026 · Updated Jun 24, 2026
Information disclosure in the Linux Kernel TUN driver allows local users to read 14 bytes of kernel-stack data per non-tunnel packet. tun_put_user() allocates a 24-byte virtio_net_hdr_v1_hash_tunnel structure without zeroing it, while virtio_net_hdr_tnl_from_skb() initializes only the first 10 bytes. A local user with low privileges must set the virtual-network header size to 24 with TUNSETVNETHDRSZ and read a non-tunnel packet; __tun_vnet_hdr_put() then returns the remaining 14 bytes of kernel-stack contents.
Summary
What happened
Information disclosure in the Linux Kernel TUN driver allows local users to read 14 bytes of kernel-stack data per non-tunnel packet. tun_put_user() allocates a 24-byte virtio_net_hdr_v1_hash_tunnel structure without zeroing it, while virtio_net_hdr_tnl_from_skb() initializes only the first 10 bytes. A local user with low privileges must set the virtual-network header size to 24 with TUNSETVNETHDRSZ and read a non-tunnel packet; __tun_vnet_hdr_put() then returns the remaining 14 bytes of kernel-stack contents.
The record
- CVE
- CVE-2026-52940
- Published
- Jun 24, 2026
- Updated
- Jun 24, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- T1005
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 24, 2026CVE publishedPublication date reported by the CVE source.
- Jun 24, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=288f30435132d2f9e7a29ec9b9745a4f9dc7fd37 <585cb85e9a29185be05f326369573c2663cf4380
- Affected versionversion=288f30435132d2f9e7a29ec9b9745a4f9dc7fd37 <5fd1fa5a4254bfdd70571c77f5e3bcb4e43738d5
- Affected versionversion=288f30435132d2f9e7a29ec9b9745a4f9dc7fd37 <7f2fcff15e99bb852f6967396ed12b38376e2c8d
- Affected versionversion=6.17
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo