CVE-2026-143360
Description
In the Linux kernel, the following vulnerability has been resolved:
bpf: Don't let bpf_skb_adjust_room() raise gso_size to GSO_BY_FRAGS
When bpf_skb_adjust_room() shrinks a TCP GSO skb, it adds the number of removed bytes to gso_size. gso_size has 16 bits, and nothing checks the sum. Thus gso_size can wrap to 0 or to a small size, or it can be GSO_BY_FRAGS. GSO_BY_FRAGS is not a size. It tells skb_segment() to read the length of each segment from the frag_list. If the TCP GSO skb has no frag_list, skb_segment() dereferences a NULL pointer.
Return -ENOTSUPP and do not change the skb if the sum is GSO_BY_FRAGS or larger. With BPF_F_ADJ_ROOM_FIXED_GSO the helper does not change gso_size, so it shrinks the skb as before.
Affected products
1Patches
Vulnerability mechanics
References
6- git.kernel.org/stable/c/6d8118937ba477e03fa2e94e9bd9abac7291a2a2nvd
- git.kernel.org/stable/c/7ce80a72fc14888d835bae1e7a981b35a2837a23nvd
- git.kernel.org/stable/c/8ff854b515dfd559e14bc9898cb84543fcc6a3danvd
- git.kernel.org/stable/c/991d26913d1fd607d7052a56c7649d0e40d91fcanvd
- git.kernel.org/stable/c/d2f87ad5b7b7bdf1dab6ecc2853f0357e070733envd
- git.kernel.org/stable/c/e4384414432b98e93e6413856064b7c165be1a56nvd
News mentions
0No linked articles in our index yet.