Use of Uninitialized Variable in Linux kernel - CVE-2026-52940

 

Use of Uninitialized Variable in Linux kernel - CVE-2026-52940

Published: June 25, 2026


Vulnerability identifier: #VU135437
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-52940
CWE-ID: CWE-457
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

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.


How to mitigate CVE-2026-52940

Install security update from vendor's repository.

Sources