CVE-2026-98610
net/sched: sch_hfsc: bound the classify inner-filter walk with a drift budget
Check your servers for CVE-2026-98610
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98610 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
net/sched: sch_hfsc: bound the classify inner-filter walk with a drift budget
hfsc_classify() applies the "filter may only point downwards" level check only when the filter result carries no bound class. A filter created with a flowid gets res.class set once at bind time, so the check never runs for it during classification. hfsc_adjust_levels() can later raise a class's level without revalidating existing bindings, leaving two binds that were each legal at bind time pointing at each other; the classify walk then bounces between two interior classes forever with the qdisc lock held and BH disabled — a soft lockup from a single packet. The stuck walk trips the watchdog:
watchdog: BUG: soft lockup - CPU#3 stuck for 13s! [ping:444] RIP: 0010:u32_classify+0x542/0x17f0 ... tcf_classify+0x66/0xa0 hfsc_enqueue+0x166/0xdf0
Bound the traversal with a budget of non-descending hops, the only way a configured walk can move without descending the class tree once levels drift after bind time. The budget is cumulative over the whole walk and is deliberately not reset on a descending hop: a chain that alternates a descent with a lateral hop would return the budget every lap and never trip. Descending hops never decrement it, so legitimately deep trees are unaffected and a terminating lateral chain still classifies normally. Drop the packet with a rate-limited warning once the budget is exhausted, mirroring the merged HTB fix.
This is a follow-up to commit 729c4896ab82 ("net/sched: sch_htb: limit htb_classify inner-class filter hops"), which bounded the same classify loop on the HTB side but left the HFSC walk unbounded.
Conditions to recreate the bug: - CONFIG_NET_SCHED, CONFIG_NET_SCH_HFSC, CONFIG_NET_CLS_U32, CONFIG_LOCKUP_DETECTOR. - Build a cycle with two legal-at-bind-time flowid binds and a level drift: class X 1:1 (child of root) with leaf child 1:10; class Y 1:2 (sibling of X) with children 1:20 and 1:200; root u32 filter flowid 1:1; filter on X flowid 1:2 (legal when Y is a leaf); after Y's level rises to 2, filter on Y flowid 1:1 (legal then). Send one packet (ping on the device). Unfixed kernel: classify spins with the qdisc lock held; with softlockup_panic=1 it panics. - Reachable from unprivileged user via unshare -Urn (CAP_NET_ADMIN).
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a2f79227138c71e08627af5f8961197364edbc98, before d4fd251e3311727c32af89344d3332f788c153a2 affected from a2f79227138c71e08627af5f8961197364edbc98, before 30d7fea767e830bd81ac2f73d2e33c877cb2e679 affected from a2f79227138c71e08627af5f8961197364edbc98, before f476fb656ca2326d7b2eba98d03ced1cbcf5cd99 affected from a2f79227138c71e08627af5f8961197364edbc98, before e8f9979286f70dfbfe0552e2a63000950841bea6 affected from a2f79227138c71e08627af5f8961197364edbc98, before 2bd20245dd658789d8cccb37697967b4caba6ad8 affected from a2f79227138c71e08627af5f8961197364edbc98, before 0fa25ba50a382d79c0cf060214c2095756836f5f affected from a2f79227138c71e08627af5f8961197364edbc98, before 1301a1292c6742b4c96a18715d49f89c3caca0d7 affected from a2f79227138c71e08627af5f8961197364edbc98, before 8a60ade2277e1f0e0d0578d565354e52292fa46d
Other versions: unaffected
|
| Linux |
affected 2.6.35 unaffected before 2.6.35 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.112 up to and including 6.12.* unaffected from 6.18.55 up to and including 6.18.* unaffected from 7.2.9 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98610 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98610
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98610
trivy image --scanners vuln IMAGE | grep CVE-2026-98610
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d4fd251e3311727c32af89344d3332f788c153a2 git.kernel.org
- https://git.kernel.org/stable/c/30d7fea767e830bd81ac2f73d2e33c877cb2e679 git.kernel.org
- https://git.kernel.org/stable/c/f476fb656ca2326d7b2eba98d03ced1cbcf5cd99 git.kernel.org
- https://git.kernel.org/stable/c/e8f9979286f70dfbfe0552e2a63000950841bea6 git.kernel.org
- https://git.kernel.org/stable/c/2bd20245dd658789d8cccb37697967b4caba6ad8 git.kernel.org
- https://git.kernel.org/stable/c/0fa25ba50a382d79c0cf060214c2095756836f5f git.kernel.org
- https://git.kernel.org/stable/c/1301a1292c6742b4c96a18715d49f89c3caca0d7 git.kernel.org
- https://git.kernel.org/stable/c/8a60ade2277e1f0e0d0578d565354e52292fa46d git.kernel.org
Source: the record CVE-2026-98610 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse