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 DCB9520AF9B for ; Tue, 1 Apr 2025 15:41:27 +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=1743522087; cv=none; b=RB21gToZ+bz/wbzfmDFEo+BBDxAbXbgRGNlJpxbjLpUBUOlgkpuaDmCj7FJk521qT+f2yoR6KaHsKKnFcyk4JZYGPcSGc81RfAfLsXk5tH2QlBfgYKC+yBNBBa1Cey40kVs1cHLOPOw94QMWmVECObYQ0Fi1GJ2Zbt444cqUEf0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743522087; c=relaxed/simple; bh=WjD8BtERZ7uRCZdLgeHFH5Ui0NWmbAVHToSa8QM29gw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OPF1jUnatzM57vo223Aac4e4X90JwwJfyZqxHa3DvAhEB4/iVA+eb0x6wFOnl2txu7yf6iO6o6ON9HbHXZ+O3KUsdp62RSx78d2G0+64/Pku7Qj/AnlSp8q6z1dj5w9X+rR5p/XsAu1NXL2W/P5piC66yDt76qdWGROvTxKHxl4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TfxcVFzW; 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="TfxcVFzW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF735C4CEE4; Tue, 1 Apr 2025 15:41:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743522087; bh=WjD8BtERZ7uRCZdLgeHFH5Ui0NWmbAVHToSa8QM29gw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TfxcVFzWhDGx22Z6pl+Q8/pW9sskVnYHms0b/FY3UQKK9SNBsXjTn2i98W+obupbG OB7K31AooJ9U6I5OeadjOC2NqyJBYXAY4cgPfeRxH9R3QV/hoJeDR02bgjPWB02rKT 2Qxe9JutBxzqRQ4UG5Qlf7Q0J4DAeiXMSnq6QVWQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21918: usb: typec: ucsi: Fix NULL pointer access Date: Tue, 1 Apr 2025 16:39:42 +0100 Message-ID: <2025040131-CVE-2025-21918-dc4c@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=2446; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WjD8BtERZ7uRCZdLgeHFH5Ui0NWmbAVHToSa8QM29gw=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlvODY3Oj/N0w8589xFv3Wr6Euz6tTN8+dFC7eyRm06G 889y+laRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEfjHDgoMx/a8WLTWaMGOJ p6SNuoPz/aXRJxjmR0UsWTB9450vxl1+YXVFfN+Odv07AwA= 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: usb: typec: ucsi: Fix NULL pointer access Resources should be released only after all threads that utilize them have been destroyed. This commit ensures that resources are not released prematurely by waiting for the associated workqueue to complete before deallocating them. The Linux kernel CVE team has assigned CVE-2025-21918 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit b9aa02ca39a49740926c2c450a1505a4a0f8954a and fixed in 6.6.83 with commit 46fba7be161bb89068958138ea64ec33c0b446d4 Issue introduced in 5.16 with commit b9aa02ca39a49740926c2c450a1505a4a0f8954a and fixed in 6.12.19 with commit 079a3e52f3e751bb8f5937195bdf25c5d14fdff0 Issue introduced in 5.16 with commit b9aa02ca39a49740926c2c450a1505a4a0f8954a and fixed in 6.13.7 with commit 592a0327d026a122e97e8e8bb7c60cbbe7697344 Issue introduced in 5.16 with commit b9aa02ca39a49740926c2c450a1505a4a0f8954a and fixed in 6.14 with commit b13abcb7ddd8d38de769486db5bd917537b32ab1 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-21918 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/ucsi.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/46fba7be161bb89068958138ea64ec33c0b446d4 https://git.kernel.org/stable/c/079a3e52f3e751bb8f5937195bdf25c5d14fdff0 https://git.kernel.org/stable/c/592a0327d026a122e97e8e8bb7c60cbbe7697344 https://git.kernel.org/stable/c/b13abcb7ddd8d38de769486db5bd917537b32ab1