1. Archivio CVE
  2. 2026
  3. CVE-2026-46320

CVE-2026-46320

7.4 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H 7.4 – Alta

Descrizione

In the Linux kernel, the following vulnerability has been resolved: tap: free page on error paths in tap_get_user_xdp() tap_get_user_xdp() rejects a frame shorter than ETH_HLEN with -EINVAL, and returns -ENOMEM when build_skb() fails. Both paths jump to the err label without freeing the page that vhost_net_build_xdp() allocated for the frame. tap_sendmsg() discards the per-buffer return value and always returns 0, so vhost_tx_batch() takes the success path and never frees the page; each rejected frame in a batch leaks one page-frag chunk. Free the page on both error paths, before the skb is built. This is the tap counterpart of the same leak in tun_xdp_one().

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 4.20 < 5.10.259 –
linux linux kernel >= 5.11 < 5.15.210 –
linux linux kernel >= 5.16 < 6.1.176 –
linux linux kernel >= 6.2 < 6.6.143 –
linux linux kernel >= 6.7 < 6.12.94 –
linux linux kernel >= 6.13 < 6.18.36 –
linux linux kernel >= 6.19 < 7.0.12 –
linux linux kernel 7.1 rc1 –
linux linux kernel 7.1 rc2 –
linux linux kernel 7.1 rc3 –
linux linux kernel 7.1 rc4 –
linux linux kernel 7.1 rc5 –
Tutte le 23.632 vulnerabilità di Linux Kernel

Tipo di vulnerabilità

CWE-401 Memoria non rilasciata dopo l’uso (memory leak)

Il prodotto non tiene traccia della memoria allocata e non la rilascia dopo l’uso, rendendola indisponibile per altri impieghi.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio, Interruzione del servizio: instabilità, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria
Altro Ridurre le prestazioni

Come si previene

Sviluppo · Librerie o framework Choose a language or tool that provides automatic memory management, or makes manual memory management less error-prone. For example, glibc in Linux provides protection against free of invalid pointers. When using Xcode to target OS X or iOS, enable automatic reference counting (ARC). To help correctly and consistently manage memory when programming in C++, consider using a smart pointer class such as std
Architettura e progettazione Use an abstraction library to abstract away risky APIs. Not a complete solution.
Architettura e progettazione · Build e compilazione Consider using the Boehm-Demers-Weiser garbage collector (bdwgc), which can help avoid leaks.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 2.066 CVE di tipo CWE-401, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org