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 16C40270578 for ; Sat, 4 Oct 2025 15:19:18 +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=1759591158; cv=none; b=Iax7hfsar+WlW0eNlBpcO5QyKH5xt/oaKklxc7Sth886XvFLGy3hj8GO679Gl9fcQ+9S9uakWXX2UdpjyTaI+/QPhlHTJoQ/zW3EmpDIiZNlz5lHw3uaEfnlzD3/NXbRE+bEQMPQrMJDyTL4b+h6/03qj2COcpTex37XT+ujVvk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759591158; c=relaxed/simple; bh=9HSYuLZHfbHL6ak4c6AI+JB5+2t8ioEUy3v4/euncNI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aG+pI8IAlDAUBn2tfBGLRSrOTAybVzXPCZU/yyMnAlyF1QFpn62XPxpruPHw1oAHw4/EJPzo2IBonjD3Dp4Ir7bKmRQbhn5CwoageOS3meXZLqi0tz80ZQQhu9+5K0ydRKawBiff5Lvu29hoclONngl/0lUt01tn4Xt40FzETc4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oO3NU5yZ; 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="oO3NU5yZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9116EC4CEF1; Sat, 4 Oct 2025 15:19:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759591158; bh=9HSYuLZHfbHL6ak4c6AI+JB5+2t8ioEUy3v4/euncNI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=oO3NU5yZmUP/R1Nkp4hFubj3mW/GvCsnF0wqxRwdxqV773ShcHg0TO8RZW0A4hnUE HR+ZNchytz3pxR9uzJ7HxSgh1knBajNZGGt7xpd03u/hMdHn93qCtglRgO1r8IO4TX UiQ4IDHf3OQ3smY4rM0fqmQ7iH1yXkjhm0MulwC8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53571: drm/i915: Make intel_get_crtc_new_encoder() less oopsy Date: Sat, 4 Oct 2025 17:17:25 +0200 Message-ID: <2025100453-CVE-2023-53571-3269@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=3036; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=54AbzYWz+EIcWcZQjwK+Crf8G5P3QI5m0gYMbXlkSzg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPrVIf8UZMnOCstGPbgROqQkun7zTWt67dlCRYkd6XG uKVoFreEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZNJlhfgmfZ9yaeeqfZzxg YFs51ep1u1VSD8P8oBKZST254rw/dncF+As69c9xU1UHAA== 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/i915: Make intel_get_crtc_new_encoder() less oopsy The point of the WARN was to print something, not oops straight up. Currently that is precisely what happens if we can't find the connector for the crtc in the atomic state. Get the dev pointer from the atomic state instead of the potentially NULL encoder to avoid that. (cherry picked from commit 3b6692357f70498f617ea1b31a0378070a0acf1c) The Linux kernel CVE team has assigned CVE-2023-53571 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 3a47ae201e074945bbde0b088e4c1215c07f4d75 and fixed in 5.10.180 with commit 780f303233c35eeb5132e3ee1cbc8f4cebe86dd2 Issue introduced in 5.7 with commit 3a47ae201e074945bbde0b088e4c1215c07f4d75 and fixed in 5.15.111 with commit 54202488c835dab8c648acd107f0bb8eaa699894 Issue introduced in 5.7 with commit 3a47ae201e074945bbde0b088e4c1215c07f4d75 and fixed in 6.1.28 with commit 0fe6ef82e4f4764e8f556632e4cd93d78d448e99 Issue introduced in 5.7 with commit 3a47ae201e074945bbde0b088e4c1215c07f4d75 and fixed in 6.2.15 with commit 8cd725315c559a8a4d18ac1d7fce1d6b9a667529 Issue introduced in 5.7 with commit 3a47ae201e074945bbde0b088e4c1215c07f4d75 and fixed in 6.3.2 with commit fd8b0abecdf66379e9d25d7448b942b5be379cb2 Issue introduced in 5.7 with commit 3a47ae201e074945bbde0b088e4c1215c07f4d75 and fixed in 6.4 with commit 631420b06597a33c72b6dcef78d1c2dea17f452d 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-53571 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/i915/display/intel_display.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/780f303233c35eeb5132e3ee1cbc8f4cebe86dd2 https://git.kernel.org/stable/c/54202488c835dab8c648acd107f0bb8eaa699894 https://git.kernel.org/stable/c/0fe6ef82e4f4764e8f556632e4cd93d78d448e99 https://git.kernel.org/stable/c/8cd725315c559a8a4d18ac1d7fce1d6b9a667529 https://git.kernel.org/stable/c/fd8b0abecdf66379e9d25d7448b942b5be379cb2 https://git.kernel.org/stable/c/631420b06597a33c72b6dcef78d1c2dea17f452d