CVE-2026-52940
Gravedad CVSS v3.1:
MEDIA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
24/06/2026
Última modificación:
08/07/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
tun: zero the whole vnet header in tun_put_user()<br />
<br />
tun_put_user() declares an on-stack struct virtio_net_hdr_v1_hash_tunnel<br />
without zeroing it. For a non-tunnel skb, virtio_net_hdr_tnl_from_skb()<br />
only initializes the first 10 bytes (sizeof(struct virtio_net_hdr)),<br />
leaving bytes 10..23 (num_buffers and the hash/tunnel fields) as stack<br />
garbage.<br />
<br />
An unprivileged user can set the vnet header size to 24 with<br />
TUNSETVNETHDRSZ, so __tun_vnet_hdr_put() copies all 24 bytes of the<br />
partially-initialized struct to userspace, leaking 14 bytes of kernel<br />
stack on every read of a non-tunnel packet.<br />
<br />
Fix it the same way tun_get_user() already does by zeroing the whole<br />
header right after declaration.
Impacto
Puntuación base 3.x
5.50
Gravedad 3.x
MEDIA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.17 (incluyendo) | 6.18.36 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (incluyendo) | 7.0.13 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página



