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 ABFA328983E for ; Thu, 10 Jul 2025 07:42:31 +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=1752133351; cv=none; b=aqpBgVXlZu9Znjf3+t8tmRkuxNeK23Ne89FTpx2YPgVKaoPVuph3O2OtgwblMalvZ6VNTTnpN7v/I5gFxJtiLXoz9la6FPG5+8ql9w/KBCiYYVQS1rnVV47qk4zbojs4nmlq0WRIRZCMpa1Khz1TooDmrssmPIYHobU1fmQhZoE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752133351; c=relaxed/simple; bh=B1dKOfLGEU6LtDNIk+QYdrYQUu+j7ef6ORy2WfR7Fkw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KtlpKv/JsOsjhMyrtkEbutXvVFjg1DKO9+y7GYJqZjfISb0KvE7R+vmG4xGeD4D/mmScVb5+atwD5OAre4LmxLEZsx3WvyP1EdmJeFOuNPHa+VjxSf61zexhIQzhsNKX6QwXbDl7/CE/IrGwKmrM85VCjsHFHwcI0eWpfksD7Yc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BkM5pcXv; 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="BkM5pcXv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2A9DC4CEE3; Thu, 10 Jul 2025 07:42:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752133351; bh=B1dKOfLGEU6LtDNIk+QYdrYQUu+j7ef6ORy2WfR7Fkw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BkM5pcXvrWdJ50uZnKtJ91jfsCvGAtlYQznITPxRZyqSkYJ1q+Z1V2Pt016AIxlid ZVjRugQp5WpT0QIrHRKn+3FpRS65lP+BpYVpNXHEaicLReGCir+rh7eOG/ZDNw1IvK xtAkGGDMErV+adynfT5EUQ4AsW0HIvDY1zR9qmpk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38278: octeontx2-pf: QOS: Refactor TC_HTB_LEAF_DEL_LAST callback Date: Thu, 10 Jul 2025 09:42:19 +0200 Message-ID: <2025071009-CVE-2025-38278-2d3a@gregkh> X-Mailer: git-send-email 2.50.1 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=2978; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8SBZN2385frDqns6Vg3AstKB/8LHLgQ8k6U2WWHbUbI=; b=owGbwMvMwCRo6H6F97bub03G02pJDBn5eRe/awfomRw68oPJ+EVZlv8P5ujHVVPuiZ+ONpM5U fVvSh1jRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkSI1hvv+X7KnRj1guFe4M Wblq/knfsB0shgwLrijtOzU9QPOhtIJC8+HzNx5U/Pf2BwA= 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: octeontx2-pf: QOS: Refactor TC_HTB_LEAF_DEL_LAST callback This patch addresses below issues, 1. Active traffic on the leaf node must be stopped before its send queue is reassigned to the parent. This patch resolves the issue by marking the node as 'Inner'. 2. During a system reboot, the interface receives TC_HTB_LEAF_DEL and TC_HTB_LEAF_DEL_LAST callbacks to delete its HTB queues. In the case of TC_HTB_LEAF_DEL_LAST, although the same send queue is reassigned to the parent, the current logic still attempts to update the real number of queues, leadning to below warnings New queues can't be registered after device unregistration. WARNING: CPU: 0 PID: 6475 at net/core/net-sysfs.c:1714 netdev_queue_update_kobjects+0x1e4/0x200 The Linux kernel CVE team has assigned CVE-2025-38278 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 5e6808b4c68d7882971514ab3279926eb07c8b2d and fixed in 6.6.94 with commit 5df8db01d6a4e9c35a5ba5d7e130d5cecd3ffcb4 Issue introduced in 6.5 with commit 5e6808b4c68d7882971514ab3279926eb07c8b2d and fixed in 6.12.34 with commit ec62c99914a79d84c8de5ba1b94d62f2ed721f2a Issue introduced in 6.5 with commit 5e6808b4c68d7882971514ab3279926eb07c8b2d and fixed in 6.15.3 with commit f1fca0eae5a0573f226f46c6871260278e7dda12 Issue introduced in 6.5 with commit 5e6808b4c68d7882971514ab3279926eb07c8b2d and fixed in 6.16-rc1 with commit 67af4ec948e8ce3ea53a9cf614d01fddf172e56d 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-38278 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: drivers/net/ethernet/marvell/octeontx2/nic/qos.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/5df8db01d6a4e9c35a5ba5d7e130d5cecd3ffcb4 https://git.kernel.org/stable/c/ec62c99914a79d84c8de5ba1b94d62f2ed721f2a https://git.kernel.org/stable/c/f1fca0eae5a0573f226f46c6871260278e7dda12 https://git.kernel.org/stable/c/67af4ec948e8ce3ea53a9cf614d01fddf172e56d