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 13B911DC753 for ; Mon, 21 Oct 2024 20:11:30 +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=1729541490; cv=none; b=lLOtyw1eHO/zgTbII4siW43o8Bo+PoVRqbj69ChS0W/WpTB0u+NcaPun1ZrfwFoJgKAWE9nt2GbOB4rF/AC2OhGuQzt8jl+i9/J4aOl+9UymzrR/5o1+O0hOD4wrosDphi3cV9OShYtb1X1mN2mdsLupAofjwPSkVHYUxQN5x9c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541490; c=relaxed/simple; bh=B5h4Dyx8dOb9tT8c7NaFQq7PWuDVdXZv9a495MOT5MY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hEJ6vNvbBkpVTZmAgT2rLw2kNtgDL5a+zpx+MGGAHCEPDOjqfbIuQ7SW6bPiOaJgG5LWc5WpKSfq405Se6P0LLAsh8//rz/12aC1rjnGsSWQVr4AMQvEqjaxbmwo/zf7knlkQkCLutWq0nB0Xl1nGuqBetPilhEhjH409O98lmo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hJCOjk4g; 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="hJCOjk4g" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CAEDC4CEC3; Mon, 21 Oct 2024 20:11:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729541489; bh=B5h4Dyx8dOb9tT8c7NaFQq7PWuDVdXZv9a495MOT5MY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hJCOjk4gLVSA0+aRR6JVG0u+94JNvraP/uW90FgQSEhsXmfE0n8178wQrhBe+YCSQ GPkxHj6Z+X5BmgOFhAVz8wXiG6bjYONkHZKO4RPq9qx2amTqGdBQX12zwAGOpSQpXD MxaoLp1tB4lGTmf8+ocKZhIELpx3lBT6AutYq7X4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48979: drm/amd/display: fix array index out of bound error in DCN32 DML Date: Mon, 21 Oct 2024 22:06:11 +0200 Message-ID: <2024102146-CVE-2022-48979-d40f@gregkh> X-Mailer: git-send-email 2.47.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=1818; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B5h4Dyx8dOb9tT8c7NaFQq7PWuDVdXZv9a495MOT5MY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliW6TmqZ3ul+O0a9xtElgmctHmTyn71GyBKXwSVbcVv 232iHXqiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkYbmKYH8RWoRdmvopdy+na bCZB9pOW79YkM8xTSvXTYlP20JjmwbBpZuHavvKUTAMA 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 array index out of bound error in DCN32 DML [Why&How] LinkCapacitySupport array is indexed with the number of voltage states and not the number of max DPPs. Fix the error by changing the array declaration to use the correct (larger) array size of total number of voltage states. The Linux kernel CVE team has assigned CVE-2022-48979 to this issue. Affected and fixed versions =========================== Fixed in 6.0.13 with commit 3d8a298b2e83 Fixed in 6.1 with commit aeffc8fb2174 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-2022-48979 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/display_mode_vba.h 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/3d8a298b2e83b98042e6ec726e934f535b23e6aa https://git.kernel.org/stable/c/aeffc8fb2174f017a10df114bc312f899904dc68