CVE-2026-139188

net: harden qdisc_pkt_len_segs_init() against malicious GSO packets

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

net: harden qdisc_pkt_len_segs_init() against malicious GSO packets

An SKB_GSO_DODGY packet can carry untrusted gso_size and headers.

For instance, gso_size=1 and hdr_len=65532 for a 524275-byte frame
makes qdisc_pkt_len_segs_init() compute an accounted length of
about 4,294,574,091 bytes (after gso_segs silently wrapped in a u16).

With DRR quantum 256, the dequeue path then needs ~16.8 million
deficit refills before it can dequeue the skb, keeping the CPU in
the qdisc path long enough to trigger the soft-lockup watchdog.

Commit 8f735d64382d ("net/sched: bound qdisc_pkt_len to prevent
qdisc soft lockup") added QDISC_PKT_LEN_MAX to bound size table
amplification. Use the same bound for DODGY packets:

- Make gso_segs a u32 and drop packets whose segment count does
not fit GSO_MAX_SEGS, instead of silently truncating it.

- Drop packets whose estimated qdisc_pkt_len() would exceed
QDISC_PKT_LEN_MAX.

Analysis

AI-generated

Technical impact

An SKB_GSO_DODGY packet can contain untrusted gso_size and header lengths that, when processed by qdisc_pkt_len_segs_init(), cause the calculated packet length to overflow a 16‑bit counter. This overflow allows the kernel to estimate an astronomically large packet length, leading the dequeue path to perform millions of deficit refills and keep the CPU busy in the qdisc path long enough to trigger the soft‑lockup watchdog. The attacker can therefore cause a denial of service by sending a carefully crafted GSO packet. The vulnerability is a classic example of integer overflow leading to uncontrolled resource consumption.

Affected Systems

The Linux kernel versions prior to the commit that added QDISC_PKT_LEN_MAX and the additional bounds checks are affected. All standard distributions that ship those kernel versions are impacted, including bundled kernels in common Linux distributions.

Risk and Exploitability

The risk is a denial of service that can make a system unresponsive. No EPSS score is available and the vulnerability is not listed in CISA KEV, indicating no currently known exploitation in the wild. The attack requires the ability to send crafted GSO traffic to the target, which is typically possible over the network or local interfaces that support GSO. The impact is limited to the affected kernel instance, but the denial of service can affect all users and processes on that machine.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes commit 8f735d64382d or later, which bounds qdisc_pkt_len and drops disallowed packets.
  • Disable generic segmentation offload (GSO) on network interfaces that are not required to use it, reducing the attack surface for crafted packets.
  • Monitor kernel logs and host watchdog alerts for repeated soft‑lockup events and anomalous traffic patterns that may indicate an attempt to exploit this flaw.

Generated by OpenCVE AI on November 30, 2026 at 20:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-190
CWE-400
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: harden qdisc_pkt_len_segs_init() against malicious GSO packets An SKB_GSO_DODGY packet can carry untrusted gso_size and headers. For instance, gso_size=1 and hdr_len=65532 for a 524275-byte frame makes qdisc_pkt_len_segs_init() compute an accounted length of about 4,294,574,091 bytes (after gso_segs silently wrapped in a u16). With DRR quantum 256, the dequeue path then needs ~16.8 million deficit refills before it can dequeue the skb, keeping the CPU in the qdisc path long enough to trigger the soft-lockup watchdog. Commit 8f735d64382d ("net/sched: bound qdisc_pkt_len to prevent qdisc soft lockup") added QDISC_PKT_LEN_MAX to bound size table amplification. Use the same bound for DODGY packets: - Make gso_segs a u32 and drop packets whose segment count does not fit GSO_MAX_SEGS, instead of silently truncating it. - Drop packets whose estimated qdisc_pkt_len() would exceed QDISC_PKT_LEN_MAX.
Title net: harden qdisc_pkt_len_segs_init() against malicious GSO packets
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

  • CWE-400

    Uncontrolled Resource Consumption

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:32 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM