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 D99D74596F for ; Mon, 20 May 2024 09:49:24 +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=1716198564; cv=none; b=UQA7ycD+42tsxJ/TSC2rS7rPLW9ryEBWCEbf/3L384iXz5gqVSxQbKqMyFfwaj6gb0xDeXEtsbB/IQ6M6E3J8+Nmqy1x05v9flLTalkuJD7RGcOZ3FPXwFF2dkQ8jq8WyF0vRRmXoPwSw5C45lnK+56R6acMLLylTUwmhoIiQpI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716198564; c=relaxed/simple; bh=c80Jz7WZ3ngs+LTMJbPCx4xws3bsLed8YsT746gjk8U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QAfIow2fMzjP6jT0GrLsIZ1HxAZ7GBjzjI0u5OnfOLi/8ZrXkcXZ/n+njFVrJOJTCagXQK6VcgGX6Mu1CkP0l4HTOAziEeSc1rlnbKd6/dlbAzXs9pLXWpUHMCGk42EYiwW5hDuOIihnxotFeyfj1D/QALLU0CpeImPYlrDA2iE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SsrJJCyO; 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="SsrJJCyO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60669C2BD10; Mon, 20 May 2024 09:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716198564; bh=c80Jz7WZ3ngs+LTMJbPCx4xws3bsLed8YsT746gjk8U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SsrJJCyO9sdvAUeqLRsx+PjANz6HkFjVHMT1z712fOtd0+16L7LoQNOSyPc6HMoYv ykcDqP4qs65qrBF2i78x9gJWjHaOsKKuJMYToXMWCfKgYx1IOX2/QWRjgELzjf4DP7 72WT1suhScv5//NFLyatoINykF9WQcRa+Jlm0fAY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35992: phy: marvell: a3700-comphy: Fix out of bounds read Date: Mon, 20 May 2024 11:48:28 +0200 Message-ID: <2024052020-CVE-2024-35992-2e88@gregkh> X-Mailer: git-send-email 2.45.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=2325; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=c80Jz7WZ3ngs+LTMJbPCx4xws3bsLed8YsT746gjk8U=; b=owGbwMvMwCRo6H6F97bub03G02pJDGneMqmN+5QCA7efZDn+/FNvXPVsfXm+/3IV+t49j36vC /l82cGnI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaygY9hfv6/95zC9c0yx7/M YI24+MDDed0GZ4b5RZGcB3+a8j089vPmjpc32dOzSrdXAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: phy: marvell: a3700-comphy: Fix out of bounds read There is an out of bounds read access of 'gbe_phy_init_fix[fix_idx].addr' every iteration after 'fix_idx' reaches 'ARRAY_SIZE(gbe_phy_init_fix)'. Make sure 'gbe_phy_init[addr]' is used when all elements of 'gbe_phy_init_fix' array are handled. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2024-35992 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 934337080c6c and fixed in 6.1.90 with commit 976df695f579 Issue introduced in 5.18 with commit 934337080c6c and fixed in 6.6.30 with commit 610f175d2e16 Issue introduced in 5.18 with commit 934337080c6c and fixed in 6.8.9 with commit 40406dfbc060 Issue introduced in 5.18 with commit 934337080c6c and fixed in 6.9 with commit e4308bc22b9d 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-2024-35992 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/phy/marvell/phy-mvebu-a3700-comphy.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/976df695f579bbb2914114b4e9974fe4ed1eb813 https://git.kernel.org/stable/c/610f175d2e16fb2436ba7974b990563002c20d07 https://git.kernel.org/stable/c/40406dfbc060503d2e0a9e637e98493c54997b3d https://git.kernel.org/stable/c/e4308bc22b9d46cf33165c9dfaeebcf29cd56f04