{"id":"CVE-2026-143360","summary":"bpf: Don't let bpf_skb_adjust_room() raise gso_size to GSO_BY_FRAGS","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't let bpf_skb_adjust_room() raise gso_size to GSO_BY_FRAGS\n\nWhen bpf_skb_adjust_room() shrinks a TCP GSO skb, it adds the number of\nremoved bytes to gso_size. gso_size has 16 bits, and nothing checks the\nsum. Thus gso_size can wrap to 0 or to a small size, or it can be\nGSO_BY_FRAGS. GSO_BY_FRAGS is not a size. It tells skb_segment() to read\nthe length of each segment from the frag_list. If the TCP GSO skb has no\nfrag_list, skb_segment() dereferences a NULL pointer.\n\nReturn -ENOTSUPP and do not change the skb if the sum is GSO_BY_FRAGS or\nlarger. With BPF_F_ADJ_ROOM_FIXED_GSO the helper does not change gso_size,\nso it shrinks the skb as before.","modified":"2026-12-03T11:02:07.925882319Z","published":"2026-12-03T09:22:14.286Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143360.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6d8118937ba477e03fa2e94e9bd9abac7291a2a2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7ce80a72fc14888d835bae1e7a981b35a2837a23"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ff854b515dfd559e14bc9898cb84543fcc6a3da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/991d26913d1fd607d7052a56c7649d0e40d91fca"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2f87ad5b7b7bdf1dab6ecc2853f0357e070733e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e4384414432b98e93e6413856064b7c165be1a56"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143360.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143360"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2be7e212d5419a400d051c84ca9fdd083e5aacac"},{"fixed":"7ce80a72fc14888d835bae1e7a981b35a2837a23"},{"fixed":"991d26913d1fd607d7052a56c7649d0e40d91fca"},{"fixed":"d2f87ad5b7b7bdf1dab6ecc2853f0357e070733e"},{"fixed":"8ff854b515dfd559e14bc9898cb84543fcc6a3da"},{"fixed":"e4384414432b98e93e6413856064b7c165be1a56"},{"fixed":"6d8118937ba477e03fa2e94e9bd9abac7291a2a2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143360.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.13.0"},{"fixed":"5.10.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143360.json"}}],"schema_version":"1.9.2"}