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 E2CD915C14F for ; Wed, 18 Sep 2024 06:33:23 +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=1726641204; cv=none; b=WJrgzT3oGVKjqVK6kwaolm9XC4BDbN1cbl0b1JI0zQyANix9wyb7NzNhjNqtficHXREU68HsZBSNoAWF7OJJ2UbTijtaNlhKIOyyDjaeOme40WvtdChjlfbtRBHsuradpUlXwTuDtk/yT1gzRJ1j3rUGawhzPzehw/sbxxISbRg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726641204; c=relaxed/simple; bh=hk8g1/t5jkDeqts93ROzWAFWpamGGUIjlVtsrFb4vRU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=K7dnYpr2/NWERig+vcguTZjGTRjvj5vs4EZEyKfstFWah4mU79pSJdfYQtCAvcj7V826Ne4wD48D2QggDb1JLpUIUa7YEeYjPFEr56V4gM0GTgPpWJZT21zHlGcr83KpH09GZ6W1YG4j6ulBq72RSe/MJszMvNCUVC2DfrLCPiE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=13cqMBQZ; 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="13cqMBQZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 747C1C4CEC3; Wed, 18 Sep 2024 06:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726641203; bh=hk8g1/t5jkDeqts93ROzWAFWpamGGUIjlVtsrFb4vRU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=13cqMBQZrRTwGEabJI67O0+nkTDo8CAceQTvBbpnCncr48WEYZ/VQp8PhqCSGtMpJ xpAOo8R2uTv+TDf0n0jK7GwpXbgRqUR5heC1zyRB6mTtNod756ELVmJc4YQUDt+FOQ AlNX7EncbyJJiVfNTmLSA/1Z2FUWulFppx3v4zgE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46729: drm/amd/display: Fix incorrect size calculation for loop Date: Wed, 18 Sep 2024 08:32:46 +0200 Message-ID: <2024091836-CVE-2024-46729-158c@gregkh> X-Mailer: git-send-email 2.46.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=1784; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hk8g1/t5jkDeqts93ROzWAFWpamGGUIjlVtsrFb4vRU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmvSlhCs1iCty+LMbtbdOnqI9aUtR0sBdXVF+xTvz/YG LxpXcuujlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIj6UM8+svfDMy8jP8yi59 3aNPM+KJdHZoNsOC0/0L2HcH5fT7JXetVjpxQGaeXM9jAA== 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: drm/amd/display: Fix incorrect size calculation for loop [WHY] fe_clk_en has size of 5 but sizeof(fe_clk_en) has byte size 20 which is lager than the array size. [HOW] Divide byte size 20 by its element size. This fixes 2 OVERRUN issues reported by Coverity. The Linux kernel CVE team has assigned CVE-2024-46729 to this issue. Affected and fixed versions =========================== Fixed in 6.10.9 with commit 712be65b3b37 Fixed in 6.11 with commit 3941a3aa4b65 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-46729 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/gpu/drm/amd/display/dc/dccg/dcn35/dcn35_dccg.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/712be65b3b372a82bff0865b9c090147764bf1c4 https://git.kernel.org/stable/c/3941a3aa4b653b69876d894d08f3fff1cc965267