net: harden qdisc_pkt_len_segs_init() against malicious GSO packets
Summary
| CVE | CVE-2026-139188 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:18:38 UTC |
| Updated | 2026-11-30 14:18:38 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 15e5a030716468dce4032fa0f398d840fa2756f6 3befe3ce154f542f608736d5b1d7b4ee725afeab git |
Not specified |
| CNA |
Linux |
Linux |
affected 15e5a030716468dce4032fa0f398d840fa2756f6 c6648c9f3b51c5a8a3df470c1542b2aa378d88f9 git |
Not specified |
| CNA |
Linux |
Linux |
affected 15aaf7e76567ab59307bfd68aa0be41abaa5b003 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3.9.8 3.10 semver |
Not specified |
| CNA |
Linux |
Linux |
affected 3.10 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 3.10 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/c6648c9f3b51c5a8a3df470c1542b2aa378d88f9 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3befe3ce154f542f608736d5b1d7b4ee725afeab |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.