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 03EEE272E75 for ; Tue, 20 May 2025 16:47:46 +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=1747759667; cv=none; b=q9/0qHOLZpJtTrIN/lUnwjZ1gyAhpkeXyo+lVrDMhS2rfOGpy/SQBN7D7xHyKhailEP+W27jrW2ujpUTwRJHdczgpHon0s6gCklsptTjIh2rF2m19adFg6c3zTv9Clr1fQhvN6uDqupxqjA+DKw4tfgCw4QybTjLxNLXe62Aj7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747759667; c=relaxed/simple; bh=/u2eIrfnjTACLrZdGjh56LkS6vVTDrxIgdfSPdBzRaQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uUNCUs5k4NBn2MCYR2uv18P0OIjuqe2ml3dDqh3azepAP1pfGdqAhYejf9vLPlSOm0A4+s0QJGhta1BZYWoeWwuJGACW9MAzC9jaXa83L1JhZC/qnvDcV0J2e7e51lLX2Q/PCZuyBiQYo9X1b5PLgZVk3pYzsWxbKHmVyYhgxrY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IJBecq0n; 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="IJBecq0n" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1BC7EC4CEEA; Tue, 20 May 2025 16:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747759666; bh=/u2eIrfnjTACLrZdGjh56LkS6vVTDrxIgdfSPdBzRaQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IJBecq0njhhd5U75iRfjO7or6sVrenlFApn+ag/zmClVfq11w342R3/1rX6xvKXnV aAbxtem0Xy0FRL37+RTPYle8mLkdTp8qpY+PP2/uipLG3ZEGDjafrMBJT7cVTNtDiS l7nWgQPQMqtw4U3rAmenAncBorhQaoNSVVrIAOuc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37967: usb: typec: ucsi: displayport: Fix deadlock Date: Tue, 20 May 2025 18:45:46 +0200 Message-ID: <2025052045-CVE-2025-37967-9dfe@gregkh> X-Mailer: git-send-email 2.49.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=2236; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qrFqBXVLadDrXxxWD2NOvOCz8a47VnrGfs1q9rWDPOY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk6G3dGHuA+f3HT/4y8Y2xiP0Vez/h8uO7niplTDXY9f 9XmdojZviOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmsmcpw4JDh832zn+5c6aF ArNzhu+nGMmkjnkMCy6WzebYaxHCwTZl+l8WqYR5L/kWhwAA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: displayport: Fix deadlock This patch introduces the ucsi_con_mutex_lock / ucsi_con_mutex_unlock functions to the UCSI driver. ucsi_con_mutex_lock ensures the connector mutex is only locked if a connection is established and the partner pointer is valid. This resolves a deadlock scenario where ucsi_displayport_remove_partner holds con->mutex waiting for dp_altmode_work to complete while dp_altmode_work attempts to acquire it. The Linux kernel CVE team has assigned CVE-2025-37967 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit af8622f6a585d8d82b11cd7987e082861fd0edd3 and fixed in 6.14.7 with commit 61fc1a8e1e10cc784cab5829930838aaf1d37af5 Issue introduced in 5.2 with commit af8622f6a585d8d82b11cd7987e082861fd0edd3 and fixed in 6.15-rc6 with commit 364618c89d4c57c85e5fc51a2446cd939bf57802 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-2025-37967 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/usb/typec/ucsi/displayport.c drivers/usb/typec/ucsi/ucsi.c drivers/usb/typec/ucsi/ucsi.h 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/61fc1a8e1e10cc784cab5829930838aaf1d37af5 https://git.kernel.org/stable/c/364618c89d4c57c85e5fc51a2446cd939bf57802