PT-2026-162802

CVE-2026-99835

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

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]
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾