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 382E01FA26F for ; Mon, 21 Oct 2024 18:54:24 +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=1729536865; cv=none; b=AuZo0e/Bxcaah3eOolH5uZ8wJNb886rtZqBeM1xZ1sJ5XxpeyKc/forZbcOlyXViOpNWAHKPkp2eTVKN3kndRyR4ifZuEjGzibrAO4FloD57FYA+K3rx3QHQK+s/89PL3z/n149EmMHrXvqqGFNW8Wc11J4bCx60EnUa/EDCBdw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729536865; c=relaxed/simple; bh=lnIfwW7x/tognGt8YNY1MQuBMUK0RmeFu3DYaoEBaTU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=b6DMOKZisstNfonhY32IZ0Su7zfsqu7wYxufdzko9yL+EtU1ikJBMFHjddA/lAJDMeziDiFeCKDiEJ8XBJoHHeiCYxvjlQzub7Vns4wPfW+3HNnMl3CliDgjEWWxgWUkShxOy73Y8+JPvbqypOKrHvSwfcG8b94AExrq2WU0wf8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VP/2Kc+g; 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="VP/2Kc+g" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E8F2C4CEC3; Mon, 21 Oct 2024 18:54:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729536864; bh=lnIfwW7x/tognGt8YNY1MQuBMUK0RmeFu3DYaoEBaTU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=VP/2Kc+gw5JZP9FPFNzt7F9eTlKvXZ81S+9oRVRwbVYNn9oVUwagOVhiwaNI4/0wg V9Xq7DRVRWNM7eOoNyikruwVRLDOoKWmCdAdFnsRm6uKU4J6uPvjo1Rzi02qnCT6hY kLylRGM+CebhjCPNKxH0AXu9rYPpSgDgrSmNkFAE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50003: drm/amd/display: Fix system hang while resume with TBT monitor Date: Mon, 21 Oct 2024 20:54:07 +0200 Message-ID: <2024102106-CVE-2024-50003-43bc@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=2585; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lnIfwW7x/tognGt8YNY1MQuBMUK0RmeFu3DYaoEBaTU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlii/1sbJZcV99zQPLj/iXxJz+fbTp/WnGd8RbGWV4Hb EK5lRbqd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBELrQzzJW2NdN/dP/fZTsu c1vPxrtvvphGcTMsuHnV8YujxLs5V1W0pksZ5a9in7x4LwA= 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: Fix system hang while resume with TBT monitor [Why] Connected with a Thunderbolt monitor and do the suspend and the system may hang while resume. The TBT monitor HPD will be triggered during the resume procedure and call the drm_client_modeset_probe() while struct drm_connector connector->dev->master is NULL. It will mess up the pipe topology after resume. [How] Skip the TBT monitor HPD during the resume procedure because we currently will probe the connectors after resume by default. (cherry picked from commit 453f86a26945207a16b8f66aaed5962dc2b95b85) The Linux kernel CVE team has assigned CVE-2024-50003 to this issue. Affected and fixed versions =========================== Fixed in 5.15.168 with commit eb9329cd882a Fixed in 6.1.113 with commit 722d2d8fc423 Fixed in 6.6.55 with commit 68d603f467a7 Fixed in 6.10.14 with commit 73e441be033d Fixed in 6.11.3 with commit c2356296f546 Fixed in 6.12-rc2 with commit 52d4e3fb3d34 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-50003 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/eb9329cd882aa274e92bdb1003bc088433fdee86 https://git.kernel.org/stable/c/722d2d8fc423108597b97efbf165187d16d9aa1e https://git.kernel.org/stable/c/68d603f467a75618eeae5bfe8af32cda47097010 https://git.kernel.org/stable/c/73e441be033d3ed0bdff09b575da3e7d4606ffc9 https://git.kernel.org/stable/c/c2356296f546326f9f06c109e201d42201e1e783 https://git.kernel.org/stable/c/52d4e3fb3d340447dcdac0e14ff21a764f326907