PT-2026-166995
CVE-2026-143137
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
net: gro: do not undo remote checksum offload on merged packets
skb gro flush final remcsum() calls skb gro remcsum cleanup() to undo
the checksum adjustment done by skb gro remcsum process() when the
packet was not consumed by GRO.
When the inner handler merged the packet (NAPI GRO CB(skb)->same flow
is set), grc->offset can no longer be trusted:
-
skb gro receive() either gives the frags or the head of the skb to the held packet, or uses skb pull(skb, offset) before adding the skb to the frag list of the held packet.
-
skb gro receive list() uses skb pull(skb, skb gro offset(skb)).
grc->offset is relative to the original skb->data, so the 2-byte
read-modify-write done by skb gro remcsum cleanup() can land in
the payload of a packet which now belongs to the GRO packet.
pskb may pull() can also be called on this frag list member.
With fraglist GRO, this can also be a use-after-free:
pskb may pull(skb, skb gro offset(skb)) in skb gro receive list()
or udp gro receive segment() releases the first page fragment if it
only contains headers. NAPI GRO CB(skb)->frag0 and frag0 len are not
updated, so skb gro remcsum cleanup() takes the fast path and writes
through frag0 into a page the skb no longer holds a reference on.
The non merged case, where frag0 is used after this pull, is handled
in the following patch.
For skbs merged by skb gro receive(), the cleanup can be skipped:
the skb is freed, or its headers are rebuilt from the head skb in
skb segment().
Fraglist members keep their own inner headers, as skb segment list()
only copies the link-layer and tunnel headers from the head skb.
Their checksum can not be right in all cases: a packet forwarded with
its tunnel header needs the original value, while a VXLAN packet
decapsulated locally needs the adjusted one, as vxlan remcsum() only
adjusts the head skb. Make skb gro receive list() refuse packets with
skb->remcsum offload set, so that fraglist members never carry an
adjusted checksum.
This affects VXLAN (VXLAN F REMCSUM NOPARTIAL) and GUE
(FOU F REMCSUM NOPARTIAL).
This was found while fixing a report from Taesoo Kim and Cen Zhang,
who used LLM assisted code analysis and provided reproducers.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾