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 8C7C678C6C for ; Sat, 28 Dec 2024 09:47:27 +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=1735379247; cv=none; b=HtgDN8jxIbQS5KxWY9FtBzbcIFnrVI3o/CQm3gtlKCeEot1IqaBYnfzP79zmWARjbGwoJQNiwu2U7+YFb0OmdFhQfHweTKmNZnsWN2zuCJXqnZRHcwtS8i8yyVYLci5DzwH3RbluS86CS2MwDx/1vju5HBGR70WOq7EJ9Dyxe1s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735379247; c=relaxed/simple; bh=MsWVnoayCmHFgg++IWy8sp5a7KX8aWeT+goecWuwI10=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fdPkP+fx2GTIOP7ZN1ujuVUmQp7HB3bwGumPsQqaOWDGciCotSmsynHHGe1yKtulmxi5+6zcrSvZbGjk2Vw34+wpJnnIC4l3+mabPEOZEw4Bwxeu4GUO5VM7bQpj7t1Jmfn9j2XpBtwMXGLkkPSJfEC9DQpH7yswfqsqW2ZXRFQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W5yWMJPM; 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="W5yWMJPM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12725C4CECD; Sat, 28 Dec 2024 09:47:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735379247; bh=MsWVnoayCmHFgg++IWy8sp5a7KX8aWeT+goecWuwI10=; h=From:To:Cc:Subject:Date:Reply-to:From; b=W5yWMJPM6BrJIJ+ixVpdEYCYr5nGwqng8q7soqD8N8+cgewG5cAC254mBCEloqg4N A1wYoclLMaYz/TORtrIeM+zeN+WVq87DD63zroxtoz/XLNxRZEOYyss3E66iJUG1Po NC3QM8aOhnQVx923KRfoNSLF6x8tOEDO7ZWn9Dlk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56683: drm/vc4: hdmi: Avoid hang with debug registers when suspended Date: Sat, 28 Dec 2024 10:45:35 +0100 Message-ID: <2024122833-CVE-2024-56683-14c3@gregkh> X-Mailer: git-send-email 2.47.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=2937; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MsWVnoayCmHFgg++IWy8sp5a7KX8aWeT+goecWuwI10=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn5J/b6CcpEytUusp2eOMmiPTfws3XM1JW3dz69X6FT+ O9mA/e0jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIlw3DgmVMKjwyP6N/WGtP dLgnv2nnJHEpOYa5Ip9if3q+vieWaFA3M2ajXcWsiyttAA== 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/vc4: hdmi: Avoid hang with debug registers when suspended Trying to read /sys/kernel/debug/dri/1/hdmi1_regs when the hdmi is disconnected results in a fatal system hang. This is due to the pm suspend code disabling the dvp clock. That is just a gate of the 108MHz clock in DVP_HT_RPI_MISC_CONFIG, which results in accesses hanging AXI bus. Protect against this. The Linux kernel CVE team has assigned CVE-2024-56683 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 25eb441d55d479581a65bcc9de88bc1d86bf76c1 and fixed in 6.1.120 with commit 0ea29bd7d9400d3629683244d609358ed1b12075 Issue introduced in 6.0 with commit 25eb441d55d479581a65bcc9de88bc1d86bf76c1 and fixed in 6.6.64 with commit c7d474974954d9af7e0092021223d58f2de128df Issue introduced in 6.0 with commit 25eb441d55d479581a65bcc9de88bc1d86bf76c1 and fixed in 6.11.11 with commit 16f351adf733a182224ad24916d7673aa6df02df Issue introduced in 6.0 with commit 25eb441d55d479581a65bcc9de88bc1d86bf76c1 and fixed in 6.12.2 with commit 74f21be9990a42dc2357bcf87a13e16c6998b90e Issue introduced in 6.0 with commit 25eb441d55d479581a65bcc9de88bc1d86bf76c1 and fixed in 6.13-rc1 with commit 223ee2567a55e4f80315c768d2969e6a3b9fb23d Issue introduced in 5.18.18 with commit 1da00a63f0e798f0fd0dcf623b16c16e13f93615 Issue introduced in 5.19.2 with commit f70c25cf34f91cc6f40e79a5b7565fd0272d7396 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-2024-56683 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/vc4/vc4_hdmi.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/0ea29bd7d9400d3629683244d609358ed1b12075 https://git.kernel.org/stable/c/c7d474974954d9af7e0092021223d58f2de128df https://git.kernel.org/stable/c/16f351adf733a182224ad24916d7673aa6df02df https://git.kernel.org/stable/c/74f21be9990a42dc2357bcf87a13e16c6998b90e https://git.kernel.org/stable/c/223ee2567a55e4f80315c768d2969e6a3b9fb23d