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 8BDF27FBB4 for ; Wed, 22 May 2024 08:20:09 +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=1716366009; cv=none; b=Fuu+5uXtAxryt96sZc+llqPYo3Xwjy05lD/aoKyGfNzoiqcfUlMAIO+YzYXyZTR/ERdfiJwSaUDMwzBPtzSot/SybN0qXq9Jdv8bKBE8aouMjKq+TVRy0dXPT4B75SLBt+thIYfuYl9KK6q/1HacqIdvkrQ3jbdHKzh7YGjQbLQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716366009; c=relaxed/simple; bh=WF/PDmZNq0Di/Gy9N3As8/ah/+HSmjlmYfPXHLj4Bs4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OTYuk+8wSIWxFMdjtvWJbkEJLzTNhLShmfY1LFXXTftnNM7QDTPnjTu3OV7frjRtIFiYJF/Fu6JNv5l0vn7s5PgZImsH1Al80yu+H4tWaZ28EC9Cw61zsSKgbBNkoL0eoTigk0sppL3nsZm0r5Czx9dS/yrSY3H0ZD2T34WWwrs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vfmEKaxV; 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="vfmEKaxV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 152C5C2BD11; Wed, 22 May 2024 08:20:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716366009; bh=WF/PDmZNq0Di/Gy9N3As8/ah/+HSmjlmYfPXHLj4Bs4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vfmEKaxVKiDOr2qUVZmA4CyzeLKlyyUEPJkBTfwPAcD/p27P/bnZhnUAAnJzYwv8A HmaqS1hVAIMNy32PNTFuJefQufdIoELGeULokhxRT8d4/iQ9vinsKXdidd+wXuR7OH tbvjBPAV5Aa0g2ESiJ/Nb2LxS73M+ddFBwX5Dau0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47489: drm/amdgpu: Fix even more out of bound writes from debugfs Date: Wed, 22 May 2024 10:19:49 +0200 Message-ID: <2024052240-CVE-2021-47489-3f3a@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=2053; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WF/PDmZNq0Di/Gy9N3As8/ah/+HSmjlmYfPXHLj4Bs4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm+q+YEyP+0f/Kwd9POqhXCURx1vPr7Z2oELTmTUaK+O ixG20K6I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACby4BLDgl0LP5hN8thY8Lnu 7Y030SXCPXeUrzEsaF1zY2PmW59rgu1XTzRaLbVTv3OUEQA= 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: Fix even more out of bound writes from debugfs CVE-2021-42327 was fixed by: commit f23750b5b3d98653b31d4469592935ef6364ad67 Author: Thelford Williams Date: Wed Oct 13 16:04:13 2021 -0400 drm/amdgpu: fix out of bounds write but amdgpu_dm_debugfs.c contains more of the same issue so fix the remaining ones. v2: * Add missing fix in dp_max_bpc_write (Harry Wentland) The Linux kernel CVE team has assigned CVE-2021-47489 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 918698d5c2b5 and fixed in 5.14.16 with commit 9eb4bdd554fc Issue introduced in 5.10 with commit 918698d5c2b5 and fixed in 5.15 with commit 3f4e54bd312d 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-2021-47489 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_debugfs.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/9eb4bdd554fc31a5ef6bf645a20ff21618ce45a9 https://git.kernel.org/stable/c/3f4e54bd312d3dafb59daf2b97ffa08abebe60f5