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 A6231215F6A for ; Wed, 26 Feb 2025 02:13:28 +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=1740536008; cv=none; b=iyDtABjWwfqhnDaDZj+hyj7ZfAg0NCD95du1/Xta61v0Hj0j0b2zNBJEAFDBLc8xs6qmHc+95rt6PGohMKXaxIS8qqnJvqFKpc6y1J4l9mXFT+uv3mqJGj5AZJPScXWMNK6/hqG1WNtqAWwrAGHd6+pNJd9J6H9rsAWHn8zHVu4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536008; c=relaxed/simple; bh=9PdLiJ4Uo5QwB0Ai0CWY41yl+HqaCNSQc9y0GZQB1Es=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ty9AbPsOGkqlKvJqM0vfzs1kfJWTgEbSzOaaECHzp7z3C9a4HMUgEAwFACYTNl3q61D/RQTBSoMd8tZQiZL9AmV7LtKVHEs13pQswYITN/Lj5nwsyhfZfKJg/EyRx8xKi15L9JqnK8JFNIYjrVHlLPTNZi53ZVtPP2mHXpc6YgE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gpfBvgvY; 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="gpfBvgvY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7CA9EC4CEDD; Wed, 26 Feb 2025 02:13:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536008; bh=9PdLiJ4Uo5QwB0Ai0CWY41yl+HqaCNSQc9y0GZQB1Es=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gpfBvgvYDOg/60y5GoyNABjSjBCw7DKGGDm8HG6DzOrt0sAAk0dhxBvMUfYMbRCpO qDAruOd56vaZc7UNd0nzwxNQLTL1rMT1zCAsd9pL67bD+8lI7VjatTL+UWx5AK+Oyc RiC2cEjFRqCqRkJeCzFlZRMzBsnFZTUEtX589IlE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49365: drm/amdgpu: Off by one in dm_dmub_outbox1_low_irq() Date: Wed, 26 Feb 2025 03:10:39 +0100 Message-ID: <2025022645-CVE-2022-49365-37e7@gregkh> X-Mailer: git-send-email 2.48.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=2169; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9PdLiJ4Uo5QwB0Ai0CWY41yl+HqaCNSQc9y0GZQB1Es=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7yl+avdETTSopuV26+2aN0cyuYtW3f45eXMOVtlDMh XPzjICVHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR70qGeRYvv4VKCWxzsFJ4 ESK72f7+pTuRnxgWtBSt2R94acGSveLs5bwndy1Vm8w8AQA= 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/amdgpu: Off by one in dm_dmub_outbox1_low_irq() The > ARRAY_SIZE() should be >= ARRAY_SIZE() to prevent an out of bounds access. The Linux kernel CVE team has assigned CVE-2022-49365 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit e27c41d5b0681c597ac1894f4e02cf626e062250 and fixed in 5.17.15 with commit b0808b7a04157b3f56e919f27023fec37a075fad Issue introduced in 5.16 with commit e27c41d5b0681c597ac1894f4e02cf626e062250 and fixed in 5.18.4 with commit 607c5cd1a08e196d9f2bd3b25a8083ed27ad7ceb Issue introduced in 5.16 with commit e27c41d5b0681c597ac1894f4e02cf626e062250 and fixed in 5.19 with commit a35faec3db0e13aac8ea720bc1a3503081dd5a3d 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-49365 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/amdgpu_dm/amdgpu_dm.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/ec9ec3bc08b18c5b1b2feafd306ea7c348013898 https://git.kernel.org/stable/c/b0808b7a04157b3f56e919f27023fec37a075fad https://git.kernel.org/stable/c/607c5cd1a08e196d9f2bd3b25a8083ed27ad7ceb https://git.kernel.org/stable/c/a35faec3db0e13aac8ea720bc1a3503081dd5a3d