Skip to contentSkip to conversation

CVE-2026-90074: net/sched: fq_pie: clamp default quantum to avoid signed overflow

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

net/sched: fq_pie: clamp default quantum to avoid signed overflow

fq_pie_init() sets q->quantum = psched_mtu(qdisc_dev(sch)) without clamping. A device with a huge MTU (e.g. dummy with max_mtu == 0 accepting MTU 2147483634) makes psched_mtu() return 0x80000000, which overflows the signed flow->deficit to INT_MIN in fq_pie_qdisc_dequeue(), causing an infinite loop and soft lockup. Emulate fq_pie_policy which is already bounded to [1, 1 << 20]; clamp the default to [256, 1 << 20]. 256 matches fq_codel's floor and is a sane minimum for a DRR quantum.

Conditions to recreate the bug: a device whose MTU (plus hard_header_len) wraps psched_mtu() into the sign bit (e.g. a dummy device with max_mtu == 0 accepting MTU 2147483634). Requires CAP_NET_ADMIN in a user namespace.

The Linux kernel CVE team has assigned CVE-2026-90074 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.6 with commit ec97ecf1ebe485a17cd8395a5f35e6b80b57665a and fixed in 5.10.270 with commit 1f43e4dbc93b7d02761a024d5f895df823c07b72
	Issue introduced in 5.6 with commit ec97ecf1ebe485a17cd8395a5f35e6b80b57665a and fixed in 5.15.221 with commit f7942b2693bc24c7d609a03d06f97bee3b0bd96a
	Issue introduced in 5.6 with commit ec97ecf1ebe485a17cd8395a5f35e6b80b57665a and fixed in 6.1.188 with commit 6f1be05faecef4c0f9a008200209f66ef2e133f7
	Issue introduced in 5.6 with commit ec97ecf1ebe485a17cd8395a5f35e6b80b57665a and fixed in 6.6.157 with commit 435da3734a8e63d3067016accc977ed1d10aaaa0
	Issue introduced in 5.6 with commit ec97ecf1ebe485a17cd8395a5f35e6b80b57665a and fixed in 6.12.110 with commit 44dad8fe99b58a7fe2961e9eec6a5f07ace5b51f
	Issue introduced in 5.6 with commit ec97ecf1ebe485a17cd8395a5f35e6b80b57665a and fixed in 6.18.52 with commit 044fa2498bbc2900f0c48a6ef2fdd5b2bdfc3795
	Issue introduced in 5.6 with commit ec97ecf1ebe485a17cd8395a5f35e6b80b57665a and fixed in 7.2.6 with commit bf97fd2163ad1191ef8daa3d4df8372aee19e396
	Issue introduced in 5.6 with commit ec97ecf1ebe485a17cd8395a5f35e6b80b57665a and fixed in 7.3-rc1 with commit c86cd7ed0b0e44779a3d1683f03e4353baf4bdc9

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-90074

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/sched/sch_fq_pie.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/1f43e4dbc93b7d02761a024d5f895df823c07b72
	https://git.kernel.org/stable/c/f7942b2693bc24c7d609a03d06f97bee3b0bd96a
	https://git.kernel.org/stable/c/6f1be05faecef4c0f9a008200209f66ef2e133f7
	https://git.kernel.org/stable/c/435da3734a8e63d3067016accc977ed1d10aaaa0
	https://git.kernel.org/stable/c/44dad8fe99b58a7fe2961e9eec6a5f07ace5b51f
	https://git.kernel.org/stable/c/044fa2498bbc2900f0c48a6ef2fdd5b2bdfc3795
	https://git.kernel.org/stable/c/bf97fd2163ad1191ef8daa3d4df8372aee19e396
	https://git.kernel.org/stable/c/c86cd7ed0b0e44779a3d1683f03e4353baf4bdc9