CVE-2026-143360
Received Received - Intake

BPF gso_size Wraparound Leading to NULL Pointer Dereference

Vulnerability report for CVE-2026-143360, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a flaw in the bpf_skb_adjust_room() function. When shrinking a TCP GSO skb, it incorrectly adjusts the gso_size value without proper bounds checking. This can cause gso_size to wrap around to zero, a small size, or the special GSO_BY_FRAGS value, which is not a valid size. If gso_size becomes GSO_BY_FRAGS and the skb has no frag_list, it leads to a NULL pointer dereference in skb_segment(), causing a system crash or potential code execution.

Detection Guidance

This vulnerability affects the Linux kernel's BPF (Berkeley Packet Filter) subsystem. Detection requires checking kernel version and BPF-related configurations. Use commands like 'uname -a' to check kernel version and 'lsmod | grep bpf' to verify BPF module status. Monitor kernel logs for BPF-related errors or crashes.

Impact Analysis

This vulnerability can cause system instability or crashes if exploited. An attacker could trigger the NULL pointer dereference by manipulating network packets, leading to denial-of-service conditions. Systems using vulnerable Linux kernel versions with BPF (Berkeley Packet Filter) enabled are at risk.

Mitigation Strategies

Immediately update the Linux kernel to a patched version that resolves this issue. Disable BPF functionality if not required. Apply kernel patches or upgrade to a distribution with the fix. Monitor vendor advisories for specific patch availability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143360. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...