Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59B39494827 for ; Fri, 25 Sep 2026 10:32:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332363; cv=none; b=LbCMOfD9LpwuZcCF09LSGYy264ICDj4c+fxiQG9y2Uo1rwYLJroDkqQOVUUzS7aLUpOHhrUJUn7l1fZ4IX3QQxLqrsS68jPWuigIe8jVlogTKLxaXSoKZHt03v1vOCv4eTnxsrCI4LNi/LFTLYTD6CWaDQNQZLxLJ0cDP5UdvLk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332363; c=relaxed/simple; bh=+/pSQqYnwvwP1fg6POZN2NFkhIwt7fXunAGjMu941FE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cokgZYcWM60HkRKuYj4a0MkqAotKsL3/1h67XQSJMnOVQcrz6/KXRbq/G1iNnlysWL6TkJwg0FY47BJ2wlKXM/acebXhleKWhbiY/8Y0BB2pGA0mir0NMO1ysqFx0eClFtkXJ5rDMjN5yfiQX6+6Rvcwh4G5EYkbwENoZqFOPaM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q46DBp+f; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="q46DBp+f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B6961F000FF; Fri, 25 Sep 2026 10:32:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332362; bh=D8+rgqYxuD0v+0KksJoSP1vEWXLdZq3zK18W+QXzy9Q=; h=From:To:Cc:Subject:Date:Reply-To; b=q46DBp+fKmQSujnnCzXx75fxN3OKw/S7G9dwrGjJkaizMB22iMo73nmluMAyV5WBh BJgZE615PjAAV67YGDRrX4usVLReHaxka0JIiahE5EPE+BEx8C3Cv9XSWS7B1FIdGK CWY0tXgxO0p117lxIzsVYw/3CeteAmke+pbJ/ZC0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98011: net/sched: hhf: clamp quantum in change and init paths Date: Fri, 25 Sep 2026 12:25:13 +0200 Message-ID: <2026092525-CVE-2026-98011-062b@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2904; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IE63bIpD5tfPUeAyAiLJSX6S6TnxH4vPuidb/ZcLDT0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvBMffznyQfv5Ao7qs4/nX92XaeKzyu1C1Or3EzVut p4x6ct27ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJbP3AML+qtE3Id76ImsOK zEd7W3sVW7ZslmGYzfrsUcrti3oZdZeCmJOmbqlovlnfBwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net/sched: hhf: clamp quantum in change and init paths hhf_change() accepts any quantum 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, ...) in hhf_change() matching fq_codel_change(). Clamp hhf_init() to [256, 1<<20] matching the siblings, and remove the old fallback that only set quantum=256 on overflow. Conditions to recreate the bug: CONFIG_NET_SCH_HHF=y. Requires CAP_NET_ADMIN (namespace-local via unshare -Urn suffices). tc qdisc add dev dummy0 root hhf tc qdisc change dev dummy0 root hhf quantum 1 stab data 32768 size_log 15 cell_log 0 The Linux kernel CVE team has assigned CVE-2026-98011 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit 10239edf86f137ce4c39b62ea9575e8053c549a0 and fixed in 6.12.111 with commit 1113b674307ffddd402524bd1fd9d7d5629b705b Issue introduced in 3.14 with commit 10239edf86f137ce4c39b62ea9575e8053c549a0 and fixed in 6.18.53 with commit 2e77947bbf6c166e76c038663832d0914418f761 Issue introduced in 3.14 with commit 10239edf86f137ce4c39b62ea9575e8053c549a0 and fixed in 7.2.7 with commit 0898c6f9fa9ce2632ae88bd0f34a878ccc6335af Issue introduced in 3.14 with commit 10239edf86f137ce4c39b62ea9575e8053c549a0 and fixed in 7.3-rc3 with commit eb56a495f59baf6cad5ed80e3ffb9078098b1346 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-98011 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_hhf.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/1113b674307ffddd402524bd1fd9d7d5629b705b https://git.kernel.org/stable/c/2e77947bbf6c166e76c038663832d0914418f761 https://git.kernel.org/stable/c/0898c6f9fa9ce2632ae88bd0f34a878ccc6335af https://git.kernel.org/stable/c/eb56a495f59baf6cad5ed80e3ffb9078098b1346