VDB

CVE-2026-90058

CVE-2026-90058 PUBLISHED

net/sched: bound qdisc_pkt_len to prevent qdisc soft lockup

Reported by linux · Published September 17, 2026

In the Linux kernel, the following vulnerability has been resolved: net/sched: bound qdisc_pkt_len to prevent qdisc soft lockup qdisc_get_stab() accepts a user-supplied size table, and __qdisc_calculate_pkt_len() amplifies qdisc_pkt_len() through the overhead, the size-table data (u16), and size_log (up to STAB_SIZE_LOG_MAX). A crafted stab can therefore set qdisc_pkt_len() to ~1 GiB for an ordinary skb. Per-flow deficit schedulers such as DRR and ETS replenish one quantum per loop iteration; with a tiny quantum (1) they spin billions of times under the qdisc lock, producing a soft lockup / RCU stall as illustrated by vega@nebusec.ai. Cap the final qdisc_pkt_len() to QDISC_PKT_LEN_MAX so the size-table amplification cannot drive deficit schedulers into an unbounded loop. A legitimate size table (e.g. qfq's overhead 999999999, which is handled by dropping) is still accepted. Introduce cap QDISC_PKT_LEN_MAX (1 << 20) = 1 MiB which is well above any legitimate single-skb wire length: the largest current skb->len is GSO_MAX_SIZE (524280), and an ATM-style size table (53/48 cell tax) amplifies that to ~578 KB, both comfortably below 1 MiB. At the same time, 1 MiB bounds the deficit refill loop to ~1M iterations per packet with quantum=1, which completes in a few milliseconds well under the demonstrated softlockup threshold (~10^9 iterations). Conditions to recreate the bug: - CONFIG_NET_SCHED=y, CONFIG_NET_SCH_DRR=y (or CONFIG_NET_SCH_ETS=y). - Attach a DRR (or ETS) root qdisc with a crafted TCA_STAB that amplifies qdisc_pkt_len to ~1 GiB (e.g. size_log=15, data=[32768]). - Add a class with a tiny quantum of 1 and send one small packet; the deficit loop spins billions of times under the qdisc lock and trips the softlockup detector (panic with kernel.softlockup_panic=1). - Reachable as root or from an unprivileged user in a fresh user+net namespace (unshare -Urn) with namespace-local CAP_NET_ADMIN.

EPSS 0.22% · 12.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel-livepatch-6.12.110-135.201Amazon Linux1:1.0-0.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.188-233.385.amzn2023
kernel-livepatch-6.1.188-233.385Amazon Linux1:1.0-0.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
perfAmazon Linux1:6.1.188-233.385.amzn2023
LinuxLinux2.6.12

Risk scores

EPSS Score
0.22%
12.1th percentile

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.10.270
amazon:2023kernel6.180
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-livepatch-6.1.188-233.3850
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra0
amazon:2023perf0
LinuxLinux5.10.270, 0, 2.6.12
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023kernel-headers0
amazon:2023kernel6.18-headers0
amazon:2023bpftool0
linuxlinux_kernel2.6.12, 2.6.12, 2.6.12
amazon:2023perf6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra0

…and 18 more

Timeline

  • Sep 17, 2026 CVE Published
  • Sep 18, 2026 EPSS Score (13 in total, the first dated here)
  • Sep 18, 2026 Coalition ESS Score
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-90058
vulnetix vdb fixes CVE-2026-90058

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-90058/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›