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 537EC18C025 for ; Fri, 27 Sep 2024 12:37:16 +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=1727440636; cv=none; b=BzPSZTD5TJ518//gp15tz8UYIP5bzufwR7+2pbAbtP5MVE7bqD+47HjViCrTI918q5zB5oMyDApY4ksTRV/qPcmTXZCxDz5lvu2X3BvkxrOrgsUEG39TkidlDKzx5QiBw8S/5/LmIo+KjvE+88TsUW6ncy5vIkh4EA2An3MYrTM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440636; c=relaxed/simple; bh=9MjSqNPmTccX8Ug3NKUmL4mYU/mQ48UWkRoHOREH/7I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VLtlGgBA9DfS+VokX7x9DkZ98wjlDLc+RlXXgKHhLAM3lXwxc9eLTDew/yUrYF+WhdqhfuU1oAEISRLs1CP51U8y5M+iJA1pvAkFjvW8SdtlVol/TDHin6hBcAe34H9RuqucCRyrC5YPssRs/Y5LX2aPikOC6PZCi+s0WZ7DBYM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HOAAuYLs; 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="HOAAuYLs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CBE31C4CECD; Fri, 27 Sep 2024 12:37:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440636; bh=9MjSqNPmTccX8Ug3NKUmL4mYU/mQ48UWkRoHOREH/7I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=HOAAuYLsr8HIRW+H19CtSWgLUt/J42qwesx+3bwabnOb9y0PrfLljJv5hxzmoOlXW m95ESFdX0lvvlrBeGA1mOXKh9Cvh9Sy6E0X2fI0Ie23JAjX7kyRCJd6rJ58QIbzBmH D9rFfjn3MTH6pCSnNpLuHqb6PDJlsCcNvVgjwcZc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46811: drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box Date: Fri, 27 Sep 2024 14:36:16 +0200 Message-ID: <2024092710-CVE-2024-46811-f01c@gregkh> X-Mailer: git-send-email 2.46.2 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=2062; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9MjSqNPmTccX8Ug3NKUmL4mYU/mQ48UWkRoHOREH/7I=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnflu2Su+DB+E0jKDEqye0F37p/gQvVTWZ2FzUdnJW/w UBYfKJCRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEOJthDgfjYolt3x8dFDvW HWKzyub/9fbjsxjmB0x+uFu3l+ltNeN9hUXXb2xJacn0AwA= 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 index may exceed array range within fpu_update_bw_bounding_box [Why] Coverity reports OVERRUN warning. soc.num_states could be 40. But array range of bw_params->clk_table.entries is 8. [How] Assert if soc.num_states greater than 8. The Linux kernel CVE team has assigned CVE-2024-46811 to this issue. Affected and fixed versions =========================== Fixed in 6.6.50 with commit 4003bac78438 Fixed in 6.10.9 with commit aba188d6f4eb Fixed in 6.11 with commit 188fd1616ec4 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-46811 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/dml/dcn302/dcn302_fpu.c drivers/gpu/drm/amd/display/dc/dml/dcn303/dcn303_fpu.c drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c drivers/gpu/drm/amd/display/dc/dml/dcn321/dcn321_fpu.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/4003bac784380fed1f94f197350567eaa73a409d https://git.kernel.org/stable/c/aba188d6f4ebaf52acf13f204db2bd2c22072504 https://git.kernel.org/stable/c/188fd1616ec43033cedbe343b6579e9921e2d898