Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3456025F793 for ; Tue, 20 May 2025 15:23:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747754636; cv=none; b=mnekGe7tKy8QdS2Feq+wGELObkYUGtpLMSc6lH+bC0QW8lJnfVW22OrnFHN78xGxYxbZD6uCsXtqwRcR4yQjwLN0mnBjZy0PGnAVJLH4MuccnxRafjaPJ7OAsK1jOTFxZKTZDZjJFwCr8jHFlkWsneEoLuP7yDUvSEBLycyddC4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747754636; c=relaxed/simple; bh=ERIPMWmBYz5uQsHSDoj9fiGs0HOdAsHOtrbpX6j0or0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PuxjDT3M5jUyw5PaW6ZyV67ZOZQxOVkmms3wSB/EoVeF334TyVac5BQ1OhKbzrHjI99ZlDpun1uVdY62JI0WtZ7v1O/7pzKflygPu/ehCwvog/hKe2h2yoU1MhTs82xFbjAC/iUZuSUQ2cRfgSGAnfm4QkEr0NhJ97cNHJH4hpQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MNxVT/rF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="MNxVT/rF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30261C4CEE9; Tue, 20 May 2025 15:23:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747754634; bh=ERIPMWmBYz5uQsHSDoj9fiGs0HOdAsHOtrbpX6j0or0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MNxVT/rFgb0a0u03XLaYtxhH0ai0I9JZwx429ydC5T0ldckEVMKur9UnJ+rfbp/QO XWugUsHpZM4FIqCO8zqp54tePDg854vgF4+OPenWL4zy3SV7jXiC4RIwK4xCAHDCSP SYkIW8a1dv3yhVbM1Jx5Lqe2jySD6rkj3kR1U3+M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37932: sch_htb: make htb_qlen_notify() idempotent Date: Tue, 20 May 2025 17:22:28 +0200 Message-ID: <2025052006-CVE-2025-37932-0842@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2313; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lbjTo/Nda+nxX1jdYXmFTSwQTfOrj8+9mIPB2MCAQPM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk68+RWunwKsTiw2Nb93BM/+YjvRqqq5rZ/P4Q8kpyiq ex77+vyjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI+j+G+RGz2kX/JP/cvbeQ V5Pt0NvrFdEnnRgWnF+5Sday2WSpjmtG4HlX70YTM41LAA== 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: sch_htb: make htb_qlen_notify() idempotent htb_qlen_notify() always deactivates the HTB class and in fact could trigger a warning if it is already deactivated. Therefore, it is not idempotent and not friendly to its callers, like fq_codel_dequeue(). Let's make it idempotent to ease qdisc_tree_reduce_backlog() callers' life. The Linux kernel CVE team has assigned CVE-2025-37932 to this issue. Affected and fixed versions =========================== Fixed in 6.1.138 with commit 73cf6af13153d62f9b76eff422eea79dbc70f15e Fixed in 6.6.90 with commit bbbf5e0f87078b715e7a665d662a2c0e77f044ae Fixed in 6.12.28 with commit 0a188c0e197383683fd093ab1ea6ce9a5869a6ea Fixed in 6.14.6 with commit a61f1b5921761fbaf166231418bc1db301e5bf59 Fixed in 6.15-rc2 with commit 5ba8b837b522d7051ef81bacf3d95383ff8edce5 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-2025-37932 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_htb.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/73cf6af13153d62f9b76eff422eea79dbc70f15e https://git.kernel.org/stable/c/bbbf5e0f87078b715e7a665d662a2c0e77f044ae https://git.kernel.org/stable/c/0a188c0e197383683fd093ab1ea6ce9a5869a6ea https://git.kernel.org/stable/c/a61f1b5921761fbaf166231418bc1db301e5bf59 https://git.kernel.org/stable/c/5ba8b837b522d7051ef81bacf3d95383ff8edce5