Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < ff4f3a0f3abd2ded467931d7da7984a68a768e0baffectedec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < 749aaebc1eb92ce2f38fd3caf68a2f99686d84efaffectedec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < 8fd98e56c41f79278eeb67512c28d7abc175bcf4affectedec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < 215df1e953ae72a09d425ec188e054058ae23dc9affectedec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < f90fe65b977e7aa9eb302230a09eb18f8c32ceaaaffectedec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < c11e3a39807eb5a200445ae9082843ab86800415affectedec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < 6655b56e2801008566c594ef231f6c7b3f716c61affectedec97ecf1ebe485a17cd8395a5f35e6b80b57665a to < 4864f58c53eb47257d55e01f47d4a9f355f7f970affected
Linux Linux
Default version status: affected
5.6affected0 to < 5.6unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/ff4f3a0f3abd2ded467931d7da7984a68a768e0b ↗
- https://git.kernel.org/stable/c/749aaebc1eb92ce2f38fd3caf68a2f99686d84ef ↗
- https://git.kernel.org/stable/c/8fd98e56c41f79278eeb67512c28d7abc175bcf4 ↗
- https://git.kernel.org/stable/c/215df1e953ae72a09d425ec188e054058ae23dc9 ↗
- https://git.kernel.org/stable/c/f90fe65b977e7aa9eb302230a09eb18f8c32ceaa ↗
- https://git.kernel.org/stable/c/c11e3a39807eb5a200445ae9082843ab86800415 ↗
- https://git.kernel.org/stable/c/6655b56e2801008566c594ef231f6c7b3f716c61 ↗
- https://git.kernel.org/stable/c/4864f58c53eb47257d55e01f47d4a9f355f7f970 ↗