Security mailing lists by PureSourceCode

CVE-2026-143137

not scored yet

net: gro: do not undo remote checksum offload on merged packets

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.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 26c4f7da3e413da697a7beb22ad496390eda7da0, < c70723e4dafc4785a8874caec6acf4dbbd9650ca; >= 26c4f7da3e413da697a7beb22ad496390eda7da0, < 63bf164976eaa5d1fd5a54ce2e593c18151812a4; >= 26c4f7da3e413da697a7beb22ad496390eda7da0, < a309b402093c3b63a85412242651b1db6c3c67de; >= 26c4f7da3e413da697a7beb22ad496390eda7da0, < c817ec1b06875b98460fbd19591be541bc3fa924 c70723e4dafc4785a8874caec6acf4dbbd9650ca, 63bf164976eaa5d1fd5a54ce2e593c18151812a4, a309b402093c3b63a85412242651b1db6c3c67de, c817ec1b06875b98460fbd19591be541bc3fa924
CVE List Linux Linux = 4.0

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.