{"id":39098,"date":"2026-10-16T00:35:01","date_gmt":"2026-10-15T16:35:01","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98427"},"modified":"2026-10-16T00:35:01","modified_gmt":"2026-10-15T16:35:01","slug":"cve-2026-98427","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98427","title":{"rendered":"CVE-2026-98427 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nnet\/sched: codel: bou"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net\/sched: codel: bound the dropping loop per dequeue call<\/p>\n<p>The CoDel control law schedules the next drop one interval\/sqrt(count)<br \/>\nafter the previous drop, using the configured interval<br \/>\n(codel_params.interval). For very small intervals the scheduled step<br \/>\nrounds down to zero, so the dropping loop in codel_dequeue() never<br \/>\nadvances and drains the entire backlog under the qdisc lock in one<br \/>\ncall &#8211; an unprivileged user can trigger a soft lockup this way.<\/p>\n<p>Fix in the shared codel code used by both codel and fq_codel:<\/p>\n<p>1. Make the control-law step at least 1 tick so the dropping loop<br \/>\n   always moves forward.<\/p>\n<p>2. Cap the dropping loop at CODEL_MAX_DROPS_PER_DEQUEUE (256) drops<br \/>\n   per codel_dequeue() call, resyncing drop_next to now when the cap<br \/>\n   is hit: the catch-up owed to the loop grows with the idle gap and<br \/>\n   the backlog, which no interval threshold can bound. This is a<br \/>\n   deliberate behaviour change after long idle gaps.<\/p>\n<p>The cap applies to fq_codel (4b549a2ef4be) and the mac80211 TXQ path<br \/>\n(fixed interval, cap only).<\/p>\n<p>The target sojourn delay (codel_params.target) is not validated: it<br \/>\ndoes not feed the control law, so a sub-tick value is aggressive<br \/>\nrather than deadlock-prone.<\/p>\n<p>Conditions to recreate the bug:<br \/>\n  &#8211; tc qdisc add dev lo root handle 1: tbf rate 1kbit burst 2kb limit 1000000<br \/>\n  &#8211; tc qdisc add dev lo parent 1:1 handle 10: codel interval 2us target 1ms noecn limit 1000000 (same for fq_codel)<br \/>\n  &#8211; unpatched kernel: tc accepts it; a UDP flood under the 1kbit tbf<br \/>\n    soft-lockups (watchdog: BUG: soft lockup) while one<br \/>\n    codel_dequeue() call drops the backlog under the qdisc lock<br \/>\n  &#8211; patched kernel: same setup, at most 256 drops per dequeue call,<br \/>\n    no soft lockup<\/p>\n<p>Testing: claim reproducer and interval 2us\/3us variants run clean;<br \/>\ntdc qdisc category passes (see the selftests patch).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>net\/sched: codel: bound the dropping loop per dequeue call<\/p>\n<p>The CoDel control law schedules the next drop one interval\/sqrt(count)<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-39098","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/39098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=39098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=39098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=39098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}