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 77776208D7 for ; Mon, 20 May 2024 09:42:36 +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=1716198156; cv=none; b=qL+oIlj1aq0NZdM/9ZZOPk353PUJOy3T4xRCYyVEMo1KWhg6mQVQ+j7+CDMS1ctYAu8e6LCq9N46cxTuv/lrL5yIFcS1FUp+jhxzU25xhQDZW3tiW0p8DLBYCaCIsK7RMgzsOGNSoZOhJpEi3Ksxw78OJpQY+K1GY2xR92a/iPs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716198156; c=relaxed/simple; bh=CgYWyED2E5QQzjrRaA+Zjr0suKU0O4+XFrNC4v1imGM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oXps8lKzrKisGnatjawIsAP+KlAIEXA19YW9Qo7EOlaF+8Mo037ixiA493YK+N55x6hr2q5+pay3XoU+rezPNn+/qBA7zNi6t7+jPYo4oqzAJz4BIZm7y8fH1RP1HLy9u5+03C5LiEtdVjqkTURuGxY+itmMM5Sikx3ECyycx94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UWkspy5D; 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="UWkspy5D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1E69C2BD11; Mon, 20 May 2024 09:42:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716198156; bh=CgYWyED2E5QQzjrRaA+Zjr0suKU0O4+XFrNC4v1imGM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=UWkspy5Dc5mCIn2DKnKKRXcLvj/Utv2aW2Y3HvouB3Oe1gDQAOojRsPOjF62jXqwt EggMQeVNXmo2DzBh7Ge80azMTC75ZwzfwYkm6IFu61t4fVrRo+byzatsaqWO99h2GP +SJ78F3spwKSs2FxXnI5ajZOrY0oilWZxs+NyXeg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35952: drm/ast: Fix soft lockup Date: Mon, 20 May 2024 11:42:17 +0200 Message-ID: <2024052017-CVE-2024-35952-645b@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=2555; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CgYWyED2E5QQzjrRaA+Zjr0suKU0O4+XFrNC4v1imGM=; b=owGbwMvMwCRo6H6F97bub03G02pJDGneUj+Nvn1ilAhzee9aG5U5Yd1eTacT3ZpLzO7bKAeai nZq327uiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlIn2eYp+2+Ole/KNde729k yfn9v3g3fUvZwTC/PPnwmh/Ny07rnU+/e9FTxT748I33AA== 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/ast: Fix soft lockup There is a while-loop in ast_dp_set_on_off() that could lead to infinite-loop. This is because the register, VGACRI-Dx, checked in this API is a scratch register actually controlled by a MCU, named DPMCU, in BMC. These scratch registers are protected by scu-lock. If suc-lock is not off, DPMCU can not update these registers and then host will have soft lockup due to never updated status. DPMCU is used to control DP and relative registers to handshake with host's VGA driver. Even the most time-consuming task, DP's link training, is less than 100ms. 200ms should be enough. The Linux kernel CVE team has assigned CVE-2024-35952 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 594e9c04b586 and fixed in 6.1.87 with commit 8a6fea3fcb57 Issue introduced in 5.19 with commit 594e9c04b586 and fixed in 6.6.28 with commit a81b2acd43e2 Issue introduced in 5.19 with commit 594e9c04b586 and fixed in 6.8.7 with commit 35768baf0fdf Issue introduced in 5.19 with commit 594e9c04b586 and fixed in 6.9 with commit bc004f503822 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-35952 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/ast/ast_dp.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/8a6fea3fcb577a543ef67683ca7105bde49a38fb https://git.kernel.org/stable/c/a81b2acd43e24e419f65df97348c76a5a1496066 https://git.kernel.org/stable/c/35768baf0fdfc47ede42d899506bad78450e9294 https://git.kernel.org/stable/c/bc004f5038220b1891ef4107134ccae44be55109