PT-2026-162802
CVE-2026-99835
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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]
Found an issue in the description? Have something to add? Feel free to write us 👾