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 E40761448EF for ; Tue, 21 May 2024 15:36:47 +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=1716305808; cv=none; b=dhekWW67GFHphf8eYel8c+ylEa97FdXYlVf3VLvM2WRu7sMkKjpOwr06xXjisJWfR254e1cDKFYb56r6aFG4xE0XlJBfTyFFq2exx/qVhHSroCsKT1Pu5hXHavKmlvoiMu3sV3g0okIrSQe79C223OgiTAsOBx1ILJdWHA3N4ZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305808; c=relaxed/simple; bh=F6gJaGUb8oz47IX5Fn8MblOvL4ac9db3WiROAAp4SQ8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q0/YOBZrBv8Bmgscq80NnHbkZKF7FMu1+eFzG+gslfK1o18u6wJhRLPZLvB3pwH8CZ6DGw1kYYLE1pc1tBLdZ+40KmdQHrEeBgI1dDPEFgQp4BTwh/Y0zpn+tWlbPUSPjdStRtxf/J/nXQhprIyVYzgA0154rieFVtZAoNOpUfE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=E9Gp4pTj; 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="E9Gp4pTj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2490DC32789; Tue, 21 May 2024 15:36:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305807; bh=F6gJaGUb8oz47IX5Fn8MblOvL4ac9db3WiROAAp4SQ8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=E9Gp4pTj6Yhp++nffEYldfe1d7OQrJcCmNLrl/SCCKFSDSrAEUG/4VPeaiPGk9S0k F+s6FmKVxMoJWPpjiuIlOzx6vbg5Fw+oesUxEHxFm5vtx9yz77JAHFRjJIN9Ov5pGb C4v4AD2qYX/MATmIUrvvMg92uHEzqH+AN2IckVXA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52814: drm/amdgpu: Fix potential null pointer derefernce Date: Tue, 21 May 2024 17:31:50 +0200 Message-ID: <2024052103-CVE-2023-52814-1cae@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=2134; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=F6gJaGUb8oz47IX5Fn8MblOvL4ac9db3WiROAAp4SQ8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++8zz5j68lZjyzWtVgW9eTdgzPck45+Cb+/4H98/8H atY9CG/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYitZRhwWZe+19HT91xnmK/ YFdfTb3z5dUnsxgWdJ4+khbG/fd98KTNHLk+UdK7l86dAwA= 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 potential null pointer derefernce The amdgpu_ras_get_context may return NULL if device not support ras feature, so add check before using. The Linux kernel CVE team has assigned CVE-2023-52814 to this issue. Affected and fixed versions =========================== Fixed in 5.10.202 with commit b93a25de28af Fixed in 5.15.140 with commit c11cf5e117f5 Fixed in 6.1.64 with commit 9b70fc7d70e8 Fixed in 6.5.13 with commit b0702ee4d811 Fixed in 6.6.3 with commit da46e63482fd Fixed in 6.7 with commit 80285ae1ec87 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-2023-52814 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/amdgpu/amdgpu_device.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/b93a25de28af153312f0fc979b0663fc4bd3442b https://git.kernel.org/stable/c/c11cf5e117f50f5a767054600885acd981449afe https://git.kernel.org/stable/c/9b70fc7d70e8ef7c4a65034c9487f58609e708a1 https://git.kernel.org/stable/c/b0702ee4d811708251cdf54d4a1d3e888d365111 https://git.kernel.org/stable/c/da46e63482fdc5e35c008865c22ac64027f6f0c2 https://git.kernel.org/stable/c/80285ae1ec8717b597b20de38866c29d84d321a1