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 4B74025EF90 for ; Tue, 20 May 2025 15:24:04 +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=1747754644; cv=none; b=X5n12tHyb7D54giNnojQEvoq/acfSJKR8jhcS+gOS5erGlVn7GrtSlPxyZ6ybjtbWIAOVTQI/CqWCzkUzxrrLzObfXspo49uqi9dgO+ZY9wNQQM7DNL/+uy4l7sLSJmiUXGnVvBVneQmDWsCln5zTY8CwtPMqAU/+K2SzRl7TcQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747754644; c=relaxed/simple; bh=nGrLSyNrdmNUcSIhQ///XYqqOxlmeKcL/5u4z3U7XU0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iZz0CfyfjXsuY2tHzHJy0qgcLtqeag5uQdJTGBIxIxOpFcF3f+b5p6WI5b4rQ7wfGielF218FSIv+VzvhaCx4ZY53dtFtfyZJhK1FMWcxjdw6W3c/SIGUIdm21ZMA2uT/N1pXhCvsJvdXlLpRAu/39vbR/1IYcYQ9XCgv+EtpEg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BR/iZs6R; 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="BR/iZs6R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFE84C4CEE9; Tue, 20 May 2025 15:24:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747754644; bh=nGrLSyNrdmNUcSIhQ///XYqqOxlmeKcL/5u4z3U7XU0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BR/iZs6Racnc300vpjQxiNYqwG58j1e4MTVkRK3lQHylVkbXwby/4kEltayEbvCJx EsddYjmJDUop2nYvUBzA87T8Od1DeLur1v0kA7cUrQaeM3ImWiOQxtyeOdlMHJ/eyH UcpnUL4qBVwMMTAtvf9E0MaD/9WwUlbFwe/g0yvE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37935: net: ethernet: mtk_eth_soc: fix SER panic with 4GB+ RAM Date: Tue, 20 May 2025 17:22:31 +0200 Message-ID: <2025052007-CVE-2025-37935-4320@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=2512; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=j0PyzleFm729mCaelTb8DBLgKZCEzKvZmGSDEMpbKj4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk68+Qvq6kH1dz95ZOwoLRtS+oex9oporVVV7ktf+xUj Pnlynq2I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSoMgwv/LVBrFtf2ZXvM8y XFPFNoVrk/Dv8wwLTl4//eBU3ttNmhvX5JVP2j3Jxr1lHgA= 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: ethernet: mtk_eth_soc: fix SER panic with 4GB+ RAM If the mtk_poll_rx() function detects the MTK_RESETTING flag, it will jump to release_desc and refill the high word of the SDP on the 4GB RFB. Subsequently, mtk_rx_clean will process an incorrect SDP, leading to a panic. Add patch from MediaTek's SDK to resolve this. The Linux kernel CVE team has assigned CVE-2025-37935 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 2d75891ebc09ba9cf30697dfd54497ef0220308f and fixed in 6.6.90 with commit cb625f783f70dc6614f03612b8e64ad99cb0a13c Issue introduced in 6.6 with commit 2d75891ebc09ba9cf30697dfd54497ef0220308f and fixed in 6.12.28 with commit 317013d1ad13524be02d60b9e98f08fbd13f8c14 Issue introduced in 6.6 with commit 2d75891ebc09ba9cf30697dfd54497ef0220308f and fixed in 6.14.6 with commit 67619cf69dec5d1d7792808dfa548616742dd51d Issue introduced in 6.6 with commit 2d75891ebc09ba9cf30697dfd54497ef0220308f and fixed in 6.15-rc5 with commit 6e0490fc36cdac696f96e57b61d93b9ae32e0f4c 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-37935 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/mediatek/mtk_eth_soc.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/cb625f783f70dc6614f03612b8e64ad99cb0a13c https://git.kernel.org/stable/c/317013d1ad13524be02d60b9e98f08fbd13f8c14 https://git.kernel.org/stable/c/67619cf69dec5d1d7792808dfa548616742dd51d https://git.kernel.org/stable/c/6e0490fc36cdac696f96e57b61d93b9ae32e0f4c