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.

NVD


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: Linux:

Exploit Probability

EPSS
0.22%
Percentile
12.62%

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.