Use of Uninitialized Variable in Linux kernel - CVE-2026-52940
Published: June 25, 2026
Vulnerability details
The vulnerability allows a local user to disclose sensitive information.
The vulnerability exists due to an uninitialized stack memory usage in tun_put_user() when processing reads of non-tunnel packets with a 24-byte vnet header size. A local user can set the vnet header size with TUNSETVNETHDRSZ and read a non-tunnel packet to disclose sensitive information.
Up to 14 bytes of kernel stack memory may be leaked on each read.
Affected software
Ubuntu
linux (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
How to mitigate CVE-2026-52940
linux (Ubuntu package) - addressed in versions 7.0.0-31.31, 7.0.0-31.31.1, 7.0.0-31.31~24.04.1, 7.0.0-1006.7, 7.0.0-1011.11~24.04.1, 7.0.0-1012.12, 7.0.0-1012.12~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1013.13