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

CVE-2026-99835

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

Descrizione

In the Linux kernel, the following vulnerability has been resolved: net/packet: check TX_RING fragments before memory accounting tpacket_fill_skb() adds the full non-linear payload length to skb->truesize and sk_wmem_alloc before checking MAX_SKB_FRAGS. With PACKET_VNET_HDR, userspace can submit a ring-sized frame even when it greatly exceeds the device MTU. A near-INT_MAX frame can saturate sk_wmem_alloc before the fragment loop rejects it. A subsequent refcount_add(0x40000001) can temporarily turn REFCOUNT_SATURATED into 1. A concurrent TX completion can then drop that apparent last reference and free the still-live packet socket before refcount_warn_saturate() restores the counter. Check that the remaining payload fits in MAX_SKB_FRAGS pages before accounting it. Include the initial page offset in the calculation, and move the existing -EFAULT handling out of the fragment loop. This preserves the accepted packet sizes and error code while preventing an invalid frame from injecting an oversized byte charge. [edumazet: use net_warn_ratelimited() instead of pr_err(), add a Fixes: tag]

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
linux linux kernel >= 2.6.31 < 5.10.275 –
linux linux kernel >= 2.6.31 < 5.15.226 –
linux linux kernel >= 2.6.31 < 6.1.193 –
linux linux kernel >= 2.6.31 < 6.6.163 –
linux linux kernel >= 2.6.31 < 6.12.117 –
linux linux kernel >= 2.6.31 < 6.18.63 –
linux linux kernel >= 2.6.31 < 7.3.4 –
linux linux kernel >= 2.6.31 < 7.4-rc1 –
Tutte le 24.148 vulnerabilità di Linux Kernel