VDB

CVE-2026-90053

CVE-2026-90053 PUBLISHED

net/sched: sch_htb: limit htb_classify inner-class filter hops

Reported by linux · Published September 17, 2026

In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_htb: limit htb_classify inner-class filter hops htb_classify() follows each filter-selected inner class by switching to cl->filter_list, but never bounds the number of hops. A filter on an inner class can point back to itself or to another inner class that points back, creating an infinite loop in the packet classification path with the qdisc lock held and BH disabled — a soft lockup / panic from a single packet. Bound the traversal with a hop counter and drop the packet with a rate-limited warning once the bound is exceeded. The counter is incremented at the point the inner filter chain is picked up, after the TC_ACT_* switch has consumed the classifier verdict, so a terminal TC_ACT_QUEUED/STOLEN/TRAP on the last permitted chain still sets *qerr to __NET_XMIT_STOLEN and the packet is not charged as a drop by this qdisc or its parent. The bound is TC_HTB_MAXDEPTH, taken from HTB's own parameters rather than from the qdisc hierarchy depth limit. Class levels run from 0 to TC_HTB_MAXDEPTH - 1, so a traversal that strictly descends in level can take at most TC_HTB_MAXDEPTH hops. That descent is what a sane configuration does, but it is assumed here rather than enforced: htb_find() resolves a classid against every class in the qdisc, so a filter may equally select a sibling or an ancestor. The normal root -> inner -> leaf path takes a single hop, so the bound does not affect legitimate classification. htb_classify() can now return NULL irrespective of CONFIG_NET_CLS_ACT, whereas previously every NULL return sat inside that ifdef. The NULL handler in htb_enqueue() therefore cannot stay conditional either, so drop the ifdef around it. This matches hfsc_enqueue(), which has always handled a NULL class unconditionally. Without it, a kernel built without actions would dereference a NULL class instead of dropping. Conditions to recreate the bug: - CONFIG_NET_SCHED, CONFIG_NET_SCH_HTB, CONFIG_NET_CLS_U32, CONFIG_LOCKUP_DETECTOR. - Create an HTB qdisc on a device (e.g. lo), add an inner class 1:1 with a leaf child 1:10, install a root u32 filter selecting 1:1, and an inner-class u32 filter on 1:1 also selecting 1:1. - Send one packet (ping). On the unfixed kernel the classify loop spins with the qdisc lock held; with softlockup_panic=1 it panics. - Reachable from unprivileged user via unshare -Urn (CAP_NET_ADMIN).

EPSS 0.21% · 11.4th percentile

Fixed versions

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

PackageEcosystemFixed in
kernel6.12-modules-extraAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernelAmazon Linux1:6.1.188-233.385.amzn2023
perfAmazon Linux1:6.1.188-233.385.amzn2023
bpftool6.18Amazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
bpftoolAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.188-233.385.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.110-135.201.amzn2023
kernel-modules-extraAmazon Linux1:6.1.188-233.385.amzn2023
kernel-livepatch-6.12.110-135.201Amazon Linux1:1.0-0.amzn2023

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.21%
11.4th percentile

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.15.221
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.120
amazon:2023kernel0
amazon:2023perf0
amazon:2023bpftool6.180
amazon:2023python3-perf6.180
amazon:2023bpftool0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-modules-extra0
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.1.188-233.3850
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023kernel-tools-devel0

…and 18 more

Timeline

  • Sep 17, 2026 CVE Published
  • Sep 18, 2026 EPSS Score (12 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-90053
vulnetix vdb fixes CVE-2026-90053

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-90053/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 ›