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 5C3001AF0C8 for ; Tue, 20 May 2025 15:23:57 +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=1747754638; cv=none; b=ErIQqX+GUOuDgoVgwUU0AVblMLQ0L+GAbpD6ZcxoxBN2/Zkc1/uBbOCya71ijmf0JWzCpQTeRlqHKWUF9efkWQ2da54YsheU+mLz8IepvobFqMLph2XBRktSI4NYJI9x5qzAPMfoFyXQGxr6dRR2q3UGDXwTAm5U89L5WisSKD4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747754638; c=relaxed/simple; bh=dF2QX4tlZOSDospH1XSlq4J60lrwGc6J5XPFwNvuPBM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HFs+Wd9YJKgWbAaNxYG5KCDWitfUi8yINUM7iLzvj+lR+WIi9ElIdvB2MNhI1/ZqgHSuqrtqIUNWLt1p/xG3dXPK63iOZ3RC/Q4xOdG7+KvwFxuM5cUhyqE5SN7elE/SR1QjIcjYDztAYB3Mt9v8DuEJAJh0cuxy8yNN101YHZ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MR2JjHiZ; 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="MR2JjHiZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C916C4CEEA; Tue, 20 May 2025 15:23:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747754637; bh=dF2QX4tlZOSDospH1XSlq4J60lrwGc6J5XPFwNvuPBM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MR2JjHiZNyOfo3FGictZnn25ickpHS7cGDML9m4keYFijcA7NdkGcu0/gXaiKp1Q8 YXVmOmWWGXEcDeYxMSq4bDTdNNu96Vj+suovjyU68uESP3p7WszmYcweCxa6MbYbsS JM9LpciWq9FxRVirkShiZf3fDp6bMdbbMMRofs4E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37933: octeon_ep: Fix host hang issue during device reboot Date: Tue, 20 May 2025 17:22:29 +0200 Message-ID: <2025052006-CVE-2025-37933-55f4@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=2832; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FuAl24Gcl3D2mDfl8A609DjP9ZxzW7wVx9GhFpzJZVU=; b=kA0DAAIRMUfUDdst+ykByyZiAGgsnh+gFyXL5XSejg+In+pfgL0DefNrMPrgnTY7FkewSQBxL YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmgsnh8ACgkQMUfUDdst+ykzTwCcDD+S 26eOl9StcNOFpDm2ANV1bMQAn2ixWpTGEFQozT8bare18kmLtmIl 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: octeon_ep: Fix host hang issue during device reboot When the host loses heartbeat messages from the device, the driver calls the device-specific ndo_stop function, which frees the resources. If the driver is unloaded in this scenario, it calls ndo_stop again, attempting to free resources that have already been freed, leading to a host hang issue. To resolve this, dev_close should be called instead of the device-specific stop function.dev_close internally calls ndo_stop to stop the network interface and performs additional cleanup tasks. During the driver unload process, if the device is already down, ndo_stop is not called. The Linux kernel CVE team has assigned CVE-2025-37933 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 5cb96c29aa0ea359e4f5d30585538dc6a847d69d and fixed in 6.6.90 with commit 7e1ca1bed3f66e00377f7d2147be390144924276 Issue introduced in 6.4 with commit 5cb96c29aa0ea359e4f5d30585538dc6a847d69d and fixed in 6.12.28 with commit c8d788f800f83b94d9db8b3dacc1d26be38a6ef4 Issue introduced in 6.4 with commit 5cb96c29aa0ea359e4f5d30585538dc6a847d69d and fixed in 6.14.6 with commit 6d1052423518e7d0aece9af5e77bbc324face8f1 Issue introduced in 6.4 with commit 5cb96c29aa0ea359e4f5d30585538dc6a847d69d and fixed in 6.15-rc5 with commit 34f42736b325287a7b2ce37e415838f539767bda 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-37933 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/octeon_ep/octep_main.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/7e1ca1bed3f66e00377f7d2147be390144924276 https://git.kernel.org/stable/c/c8d788f800f83b94d9db8b3dacc1d26be38a6ef4 https://git.kernel.org/stable/c/6d1052423518e7d0aece9af5e77bbc324face8f1 https://git.kernel.org/stable/c/34f42736b325287a7b2ce37e415838f539767bda