PT-2026-51733 · Linux+1 · Linux Kernel+1

CVE-2026-52940

·

Published

2026-06-09

·

Updated

2026-09-07

CVSS v2.0

6.0

Medium

VectorAV:L/AC:H/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description An issue exists where the tun put user() function declares a virtio net hdr v1 hash tunnel structure on the stack without initializing it to zero. For non-tunnel socket buffers (skb), the virtio net hdr tnl from skb() function only initializes the first 10 bytes, leaving the remaining bytes (specifically num buffers and hash/tunnel fields) containing residual stack data. An unprivileged user can utilize TUNSETVNETHDRSZ to set the vnet header size to 24, causing the tun vnet hdr put() function to copy the entire partially-initialized structure to userspace. This results in the leakage of 14 bytes of kernel stack memory during every read of a non-tunnel packet.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-13911
CVE-2026-52940
USN-8726-1
USN-8727-1
USN-8728-1

Affected Products

Linux Kernel
Ubuntu