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 E8006145A01 for ; Thu, 30 May 2024 15:04:33 +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=1717081474; cv=none; b=jCgKOney+BKEIjHGoSPURyqMwNWMRD2aEy/5dTw42ksFutoT9vYe+j6cTNo9W9obUZq39LTekIwoCH1/+HqUEhIdA4rXB8hLPEOI/KHhzfPRjPxSLxqkzEz59hUskz/da9Saz72lnhU1QlJ5Tq4SAJwX32+4wSkzmAZ6i1u1ezE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717081474; c=relaxed/simple; bh=sgL869pdJ7xe/8Ye0frAdiJf417O0ltDHbO0SCMmurI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JhCDqp109Dfb4sb34fqufJKGwEyyzf6l7t1STzow88RoIBJ5jC6dvPvF6CbsATM+YYmWbypy20jDlOgbjhENmyUsBV6k8yif18J3H60jVz+LfPTyAjXiEPl3b00Z2911Wy121U0KpzSOJdqh+6R7rzFB0F9ddh87E3B0rY/IH88= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gmaXb7X7; 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="gmaXb7X7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52692C2BBFC; Thu, 30 May 2024 15:04:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717081473; bh=sgL869pdJ7xe/8Ye0frAdiJf417O0ltDHbO0SCMmurI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=gmaXb7X7GQawLltOAq4lH8cOvxvCS32TR2Ah84Zm1gZiMFcPYbOcrCA4ANgeztnsU EzFCTJJDAKXzksFxTidx6c1AJd0Inp0SK5SyBuPsQI0S01HoDTv/akTmhoi0ExjIFF ULJpP232ZfspB4ncWbdOqZxpj/XvXw/sOjQ2U4WA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36024: drm/amd/display: Disable idle reallow as part of command/gpint execution Date: Thu, 30 May 2024 17:04:16 +0200 Message-ID: <2024053014-CVE-2024-36024-85b6@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=2028; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sgL869pdJ7xe/8Ye0frAdiJf417O0ltDHbO0SCMmurI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkRU/Oq0x3N+6ZdfSS3sVxR4mN0cax0b37HytJqceua+ Utc9il3xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQuljPMs9DYuadNqjPM36Co dmeqr8CsgicvGWYxLe132/kw8c2y3g3P/T5OnbP0ppkxAA== 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/amd/display: Disable idle reallow as part of command/gpint execution [Why] Workaroud for a race condition where DMCUB is in the process of committing to IPS1 during the handshake causing us to miss the transition into IPS2 and touch the INBOX1 RPTR causing a HW hang. [How] Disable the reallow to ensure that we have enough of a gap between entry and exit and we're not seeing back-to-back wake_and_executes. The Linux kernel CVE team has assigned CVE-2024-36024 to this issue. Affected and fixed versions =========================== Fixed in 6.8.6 with commit 2aac38744561 Fixed in 6.9 with commit 6226a5aa7737 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-36024 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/dc/dc.h drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.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/2aac387445610d6dfd681f5214388e86f5677ef7 https://git.kernel.org/stable/c/6226a5aa77370329e01ee8abe50a95e60618ce97