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 A9B1C199FB4 for ; Wed, 9 Oct 2024 14:03:07 +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=1728482587; cv=none; b=doCHwsyUJHU/clKHdO+XxWd/4gK0GFSCWWpznSrIu/sQfnj9Eqmv6GeDT5SmuYUSxQdsFFl9cHzLbhaotpnEzy8K8tNoLQakTrYssSXVRb2p6o1Uvpc2mZyQ7EMX/P/Az/qbCj0bztsYkmfLbve6vJD3f+2adULHhjZdYjQxnX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728482587; c=relaxed/simple; bh=yWw7SFAx8BVDKQgX1GT7ar4pE+0HuCwK0hETzvyTnV8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OSVp4uG+mopI0IgigEX7L7Tu212Yg+OqlnFIYYvjIkmXy3bCvZ/YWoU7VzgF+Yt9/H9bKr7dG9/wrlLAuClTg7F0Kb+TapWSjkaKnXgeRqAERshHJdplbCFf+CRIu0mWSvIYFK5SJQsJzsYcIU6dAT8bPar0D7WLWKzlBs746Yg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LVX1Wdwt; 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="LVX1Wdwt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B16C5C4CECD; Wed, 9 Oct 2024 14:03:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1728482587; bh=yWw7SFAx8BVDKQgX1GT7ar4pE+0HuCwK0hETzvyTnV8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LVX1WdwtICnbWDuCZGrxfrXofb8B+uXeC1t1dtjD8znuwgMuT+qkV7VLfl2PmIipf 3mRxCqd5d+DYZeNQ/7G4pDJVcyjVT7ib5URgENCwAm275hTand0dpVrrEghXa8taP5 yRVgnT4iQ2t+rJSZ3bfsDguO1HifXALfWtp22Wsk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46870: drm/amd/display: Disable DMCUB timeout for DCN35 Date: Wed, 9 Oct 2024 16:02:59 +0200 Message-ID: <2024100958-CVE-2024-46870-f347@gregkh> X-Mailer: git-send-email 2.47.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=2334; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yWw7SFAx8BVDKQgX1GT7ar4pE+0HuCwK0hETzvyTnV8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlsvUL7bJauTfNvlcue6x3GZHLN9s9kgfXqEyQ25PdfX nah6syvjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIYwPDfHctI+dtb3seX373 c6Kz4I8vWW9OX2WYp5ivZii8o+Uq613jjcVSH0w6L7C9BwA= 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 DMCUB timeout for DCN35 [Why] DMCUB can intermittently take longer than expected to process commands. Old ASIC policy was to continue while logging a diagnostic error - which works fine for ASIC without IPS, but with IPS this could lead to a race condition where we attempt to access DCN state while it's inaccessible, leading to a system hang when the NIU port is not disabled or register accesses that timeout and the display configuration in an undefined state. [How] We need to investigate why these accesses take longer than expected, but for now we should disable the timeout on DCN35 to avoid this race condition. Since the waits happen only at lower interrupt levels the risk of taking too long at higher IRQ and causing a system watchdog timeout are minimal. The Linux kernel CVE team has assigned CVE-2024-46870 to this issue. Affected and fixed versions =========================== Fixed in 6.10.9 with commit 31c254c9cd4b Fixed in 6.11 with commit 7c70e60fbf4b 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-46870 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/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/31c254c9cd4b122a10db297124f867107a696d83 https://git.kernel.org/stable/c/7c70e60fbf4bff1123f0e8d5cb1ae71df6164d7f