net/sched: fq_pie: clamp quantum in change path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 215df1e953ae72a09d425ec188e054058ae23dc9, Kernel 4864f58c53eb47257d55e01f47d4a9f355f7f970, Kernel 6655b56e2801008566c594ef231f6c7b3f716c61 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: net/sched: fq_pie: clamp quantum in change path fq_pie_change() accepts any quantum value from userspace, including 1. With a crafted size table qdisc_pkt_len reaches ~2 GiB, so quantum=1 makes the deficit-refill loop spin ~2^31 times under the qdisc lock (a soft lockup / denial of service). Add max(256U, ...) matching fq_codel_change(). Conditions to recreate the bug: CONFIG_NET_SCH_FQ_PIE=y. Requires CAP_NET_ADMIN (namespace-local via unshare -Urn suffices). tc qdisc add dev dummy0 root fq_pie tc qdisc change dev dummy0 root fq_pie quantum 1 stab data 32768 size_log 15 cell_log 0
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.6, >=ec97ecf1ebe485a17cd8395a5f35e6b80b57665a <215df1e953ae72a09d425ec188e054058ae23dc9, >=ec97ecf1ebe485a17cd8395a5f35e6b80b57665a <4864f58c53eb47257d55e01f47d4a9f355f7f970, >=ec97ecf1ebe485a17cd8395a5f35e6b80b57665a <6655b56e2801008566c594ef231f6c7b3f716c61, >=ec97ecf1ebe485a17cd8395a5f35e6b80b57665a <749aaebc1eb92ce2f38fd3caf68a2f99686d84ef, >=ec97ecf1ebe485a17cd8395a5f35e6b80b57665a <8fd98e56c41f79278eeb67512c28d7abc175bcf4, >=ec97ecf1ebe485a17cd8395a5f35e6b80b57665a <c11e3a39807eb5a200445ae9082843ab86800415, >=ec97ecf1ebe485a17cd8395a5f35e6b80b57665a <f90fe65b977e7aa9eb302230a09eb18f8c32ceaa, >=ec97ecf1ebe485a17cd8395a5f35e6b80b57665a <ff4f3a0f3abd2ded467931d7da7984a68a768e0b | 215df1e953ae72a09d425ec188e054058ae23dc9, 4864f58c53eb47257d55e01f47d4a9f355f7f970, 6655b56e2801008566c594ef231f6c7b3f716c61, 749aaebc1eb92ce2f38fd3caf68a2f99686d84ef, 8fd98e56c41f79278eeb67512c28d7abc175bcf4, c11e3a39807eb5a200445ae9082843ab86800415, f90fe65b977e7aa9eb302230a09eb18f8c32ceaa, ff4f3a0f3abd2ded467931d7da7984a68a768e0b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket