CVE Database›Document archive›CVE-2026-52940

CVE-2026-52940

kernel: tun: zero the whole vnet header in tun_put_user()

Loading…

Severity

Moderate

Red Hat Product Security

7

CVSS 3.1

Review impact separately from score.

Published · June 24, 2026

Updated · July 9, 2026

Description

A flaw was found in the Linux kernel's tun driver. An unprivileged user can exploit this vulnerability by setting the virtual network (vnet) header size to 24 bytes. This action causes the kernel to copy partially initialized stack memory to userspace when reading non-tunnel packets, leading to the disclosure of 14 bytes of kernel stack memory. This information disclosure could potentially expose sensitive kernel data.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

CWE-909 · Missing Initialization of Resource