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 CE032274FDB for ; Wed, 1 Oct 2025 11:56:35 +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=1759319795; cv=none; b=SHNJMLTrhNtyFg94VkvZYWEDc0g6ko43/cAt7epixMvMPJwr0xMwARR8HbUmG/yWonBEPB5hM95wAMCiizaNgIA2RE1/K4EKHVT68N1lTjsaKy2e7NSnJLSlJBFeA4paIzOsSG+D4Lhbg4GB7eZeztFmEdN7CjBJGda2ExCPB98= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319795; c=relaxed/simple; bh=fB75bOv3Q/S+zk5IWtmfEKTaIdP6bHMf/r0yYXTzXvA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SIrLRR4tmbHmbqYL43X4i7LT1qGPrGH558t6SexF57XzseuksoqCXDw7hP7pcdP9AISJliC9j6pdC2JYS/K577GeaV+NguQRbHxEhkp2buAtjkxMK9NDt5sp+bO9ozAkY+IOG9QUg28TdZAjKhfhrOEUPcOZYlwyWMVHCYQktH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TeoAWe30; 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="TeoAWe30" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE8B8C4CEF4; Wed, 1 Oct 2025 11:56:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319795; bh=fB75bOv3Q/S+zk5IWtmfEKTaIdP6bHMf/r0yYXTzXvA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TeoAWe30MxmUC7iV1VkLJkojE5EHeJFOv1y7Ep9+vDNVnxmxRw/R3psfnFp8Zge6g jFEOH3xUZl/zDCmiKzj+uv2WugmuKjv/fmWd82AO42ckkbC4JiS1OBwRey27t2T5e2 hlKDxuYUw4aZ5+zNOZfMZ6niBzE9NAr583JmOiEk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53498: drm/amd/display: Fix potential null dereference Date: Wed, 1 Oct 2025 13:45:50 +0200 Message-ID: <2025100126-CVE-2023-53498-3f4e@gregkh> X-Mailer: git-send-email 2.51.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=2685; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Trxs95hNW2USYHsCmCX8ftbPdeA8MxS2WS8qHvYPf1E=; b=kA0DAAIRMUfUDdst+ykByyZiAGjdFFagS2NKFeLXeQvuxVi+tqGnjvBHbQOHkAhGFB+Sxm/gG YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmjdFFYACgkQMUfUDdst+yn/yQCfSu2w MWuwn453dzjv0vD+c5erwdwAn12zdOSJ3rPY5HvP0r15mvTUb4MT X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix potential null dereference The adev->dm.dc pointer can be NULL and dereferenced in amdgpu_dm_fini() without checking. Add a NULL pointer check before calling dc_dmub_srv_destroy(). Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2023-53498 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 9a71c7d31734f74549ad2bcd652c403c71e7c8d1 and fixed in 5.15.111 with commit 4b1afffdd94093118b3cc235ef2b4d2520fb4950 Issue introduced in 5.6 with commit 9a71c7d31734f74549ad2bcd652c403c71e7c8d1 and fixed in 6.1.28 with commit b75aaebac265e3f29863699d9a929fdfba13d0a4 Issue introduced in 5.6 with commit 9a71c7d31734f74549ad2bcd652c403c71e7c8d1 and fixed in 6.2.15 with commit 281933f36a53fed1c2993a92cf1edfb424595474 Issue introduced in 5.6 with commit 9a71c7d31734f74549ad2bcd652c403c71e7c8d1 and fixed in 6.3.2 with commit d4b749771fed3f99bbe8880eaab32a05ede0e5fa Issue introduced in 5.6 with commit 9a71c7d31734f74549ad2bcd652c403c71e7c8d1 and fixed in 6.4 with commit 52f1783ff4146344342422c1cd94fcb4ce39b6fe 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-53498 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/4b1afffdd94093118b3cc235ef2b4d2520fb4950 https://git.kernel.org/stable/c/b75aaebac265e3f29863699d9a929fdfba13d0a4 https://git.kernel.org/stable/c/281933f36a53fed1c2993a92cf1edfb424595474 https://git.kernel.org/stable/c/d4b749771fed3f99bbe8880eaab32a05ede0e5fa https://git.kernel.org/stable/c/52f1783ff4146344342422c1cd94fcb4ce39b6fe