Linux kernel BPF GSO size overflow leads to NULL deref
CVE-2026-143360 Published on December 3, 2026
bpf: Don't let bpf_skb_adjust_room() raise gso_size to GSO_BY_FRAGS
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.
Products Associated with CVE-2026-143360
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 2be7e212d5419a400d051c84ca9fdd083e5aacac and below 7ce80a72fc14888d835bae1e7a981b35a2837a23 is affected.
- Version 2be7e212d5419a400d051c84ca9fdd083e5aacac and below 991d26913d1fd607d7052a56c7649d0e40d91fca is affected.
- Version 2be7e212d5419a400d051c84ca9fdd083e5aacac and below d2f87ad5b7b7bdf1dab6ecc2853f0357e070733e is affected.
- Version 2be7e212d5419a400d051c84ca9fdd083e5aacac and below 8ff854b515dfd559e14bc9898cb84543fcc6a3da is affected.
- Version 2be7e212d5419a400d051c84ca9fdd083e5aacac and below e4384414432b98e93e6413856064b7c165be1a56 is affected.
- Version 2be7e212d5419a400d051c84ca9fdd083e5aacac and below 6d8118937ba477e03fa2e94e9bd9abac7291a2a2 is affected.
- Version 4.13 is affected.
- Before 4.13 is unaffected.
- Version 5.10.276, <= 5.10.* is unaffected.
- Version 5.15.227, <= 5.15.* is unaffected.
- Version 6.12.120, <= 6.12.* is unaffected.
- Version 6.18.66, <= 6.18.* is unaffected.
- Version 7.3.7, <= 7.3.* is unaffected.
- Version 7.4-rc2, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.