Kernel Kit / Infix / v26.10.0latest
CVE-2026-98427
—unknownlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
net/sched: codel: bound the dropping loop per dequeue call
The CoDel control law schedules the next drop one interval/sqrt(count) after the previous drop, using the configured interval (codel_params.interval). For very small intervals the scheduled step rounds down to zero, so the dropping loop in codel_dequeue() never advances and drains the entire backlog under the qdisc lock in one call - an unprivileged user can trigger a soft lockup this way.
Fix in the shared codel code used by both codel and fq_codel:
- 1.Make the control-law step at least 1 tick so the dropping loop always moves forward.
- 2.Cap the dropping loop at
CODEL_MAX_DROPS_PER_DEQUEUE(256) drops percodel_dequeue()call, resyncingdrop_nextto now when the cap is hit: the catch-up owed to the loop grows with the idle gap and the backlog, which no interval threshold can bound. This is a deliberate behaviour change after long idle gaps.
The cap applies to fq_codel (4b549a2ef4be) and the mac80211 TXQ path (fixed interval, cap only).
The target sojourn delay (codel_params.target) is not validated: it does not feed the control law, so a sub-tick value is aggressive rather than deadlock-prone.
Conditions to recreate the bug:
- –tc qdisc add dev lo root handle 1: tbf rate 1kbit burst 2kb limit 1000000
- –tc qdisc add dev lo parent 1:1 handle 10: codel interval 2us target 1ms noecn limit 1000000 (same for
fq_codel) - –unpatched kernel: tc accepts it; a UDP flood under the 1kbit tbf soft-lockups (watchdog: BUG: soft lockup) while one
codel_dequeue()call drops the backlog under the qdisc lock - –patched kernel: same setup, at most 256 drops per dequeue call, no soft lockup
Testing: claim reproducer and interval 2us/3us variants run clean; tdc qdisc category passes (see the selftests patch).
Published 2026-10-14NVD
The fix is not in this tree, but the soft lockup the CVE describes cannot be set up in this build: CONFIG_NET_SCH_CODEL and CONFIG_NET_SCH_FQ_CODEL are both off, so neither qdisc exists, not even as a module. Those two qdiscs are the only code that lets anyone set codel_params.interval, which is what makes the dropping loop stall.
The unpatched codel_dequeue() is still compiled into one place, mac80211.ko, through net/mac80211/tx.c. There the interval is hard-coded to 100 ms with no other writer, so the control-law step cannot round to zero, and the loop ends when the flow's queue empties (at most 8192 packets by default). Upstream itself describes this path as "fixed interval, cap only".
The verdict rests on reading the "vulnerable feature" as the configurable-interval qdiscs. A reviewer who counts any build containing the unpatched shared loop as affected would instead land on USED_WHEN_ENABLED, because Wi-Fi is operator-configurable through infix-if-wifi.yang and no Wi-Fi service runs by default.
Evidence 12
`# CONFIG_NET_SCH_CODEL is not set` and `# CONFIG_NET_SCH_FQ_CODEL is not set`; `CONFIG_NET_SCH_CAKE` (line 1470) is also off.
output/build/linux-6.18.60/.config:1468-1469
`sch_codel.o` and `sch_fq_codel.o` are built only under those two symbols.
output/build/linux-6.18.60/net/sched/Makefile:55-56
The only built qdiscs are `sch_ingress`, `sch_tbf`, `sch_ets` and `sch_mqprio`; `modules.order` has no `net/sched` entry, so there is no loadable codel module either.
output/build/linux-6.18.60/modules.builtin:195-199
The defconfig enables only `NET_SCH_MQPRIO`, `NET_SCH_ETS`, `NET_SCH_TBF` and `NET_SCH_INGRESS`.
board/x86_64/linux_defconfig:225-229
The source is unfixed: `codel_control_law()` has no minimum step, the `while` loop in `codel_dequeue()` has no drop cap, and `CODEL_MAX_DROPS_PER_DEQUEUE` does not appear in `codel.h` or `codel_impl.h`.
output/build/linux-6.18.60/include/net/codel_impl.h:97-102,181-213
None of the 139 applied patches has `codel`, `sched` or `mac80211` in its name, so no backport of the fix is applied.
output/build/linux-6.18.60/.applied_patches_list
The only other user of `codel_impl.h` in the tree is mac80211, whose `fq_tin_dequeue_func()` calls `codel_dequeue()`.
output/build/linux-6.18.60/net/mac80211/tx.c:25-26,1416
`local->cparams.interval = MS2TIME(100)` and `target = MS2TIME(20)` are constants; a search for `cparams` across `net/mac80211` finds no other writer, so there is no netlink or debugfs way to change the interval.
output/build/linux-6.18.60/net/mac80211/tx.c:1605-1608
The mac80211 flow-queue backlog defaults to 8192 packets and 16 MB, which bounds how many drops one `codel_dequeue()` call can make.
output/build/linux-6.18.60/include/net/fq_impl.h:358-359
`CONFIG_MAC80211=m` and `CONFIG_MAC80211_HWSIM=m`; `modules.order:232` lists `net/mac80211/mac80211.o`, so the shared codel code is present in the image inside that module.
output/build/linux-6.18.60/.config:1579,2543
Wi-Fi is operator-configurable (`container wifi` with `station` and `access-point`), which is how the mac80211 TXQ path would come into use; `board/common/rootfs/etc/finit.d/enabled/` has only `mstpd.conf`, `netconf.conf` and `rauc.conf`, so no Wi-Fi service runs by default.
src/confd/yang/confd/infix-if-wifi.yang:143-144,206,399
The product's QoS code generates only `clsact`, `ets` and `tbf` qdiscs, never codel or fq_codel.
src/confd/src/if-qos.c:700,727
Version and patches
Linux 6.18.60 is in the range NVD matches, and the fix is absent from the source: include/net/codel_impl.h has no minimum control-law step and no CODEL_MAX_DROPS_PER_DEQUEUE cap. None of the 139 applied patches names codel. I could not consult the upstream fix commits (7f4a5ec6258f, bacd72289d34) from this tree, so the fixed stable version is not established here. The NOT_AFFECTED result comes from the kernel configuration (sch_codel and sch_fq_codel not built), not from a fix being present.
Recommendation
Document as not applicable for the x86_64 image, citing the two disabled Kconfig symbols; no urgent backport is needed.
Pick up the fix with the next routine 6.18.y stable bump, since the unpatched shared code is still compiled into mac80211.ko and the upstream cap is useful hardening for the Wi-Fi TX path.
Re-evaluate this CVE if CONFIG_NET_SCH_CODEL, CONFIG_NET_SCH_FQ_CODEL or a default-qdisc setting is ever enabled, and check the other board defconfigs separately; this review covers only board/x86_64/linux_defconfig.
Open questions
Whether the mac80211 TXQ path can produce any real stall without the cap was judged by reading the code only, not tested. My reading is that it cannot, given the fixed 100 ms interval and the 8192-packet backlog limit. The txq_limit and txq_memory_limit values can be raised through nl80211 (net/mac80211/tx.c:1561-1568), but I found no YANG node for them, so that needs a root shell.
The exact stable release that carries the fix was not confirmed, because the upstream commits are not readable from this tree.
Other Infix targets (aarch64, arm, riscv) use different kernel defconfigs and were not reviewed.
Members of Kernel Kit decide. Sign in if you are one.