PT-2026-162802
CVE-2026-99835
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
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]
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾