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 9254F2673AA for ; Tue, 20 May 2025 17:09:42 +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=1747760982; cv=none; b=NL3DgGDXo9G4hXe3MH/wXmIdjw4hxzEMghj7qzBuv2c9+rfZK4yFPiJbOVM7bCBQr3jqGBy1E5TQmYmVUhwzTpgktJOup6R/vewy0Ind3mVPyKviqt+QtSzyYpU48lzkQk9obCbbBgwePukE5I1MZ8Ox4gwVsVPk/hj2DKnFIGE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747760982; c=relaxed/simple; bh=v9u9MBtqEyEgarAP9A0W9+uTLSo0ZyImKpge3x+Ixmk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gbivrRsX7wZxq8lX93ZQrCXTx7gotNmWi6SDYbr0xRaQ9GfNkXvhhFICFNs9fZWef6l0GQvDapJmO7/g6Eq1CuCAtw2ittA6lzwYdkngQll0LMOEncWie9QcYyKsumbKkqjBZkc2tMCE5sf9cY66ERPy3U4jhnn+ryTdagi7S98= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mHg2hrZm; 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="mHg2hrZm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84EA7C4CEEA; Tue, 20 May 2025 17:09:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747760982; bh=v9u9MBtqEyEgarAP9A0W9+uTLSo0ZyImKpge3x+Ixmk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mHg2hrZmm7zpknp8dlizEaS9Bdqemh8CQ8g+CZjkzj6GoO/XRpc7P05kcU2nrszvg srMSCyO/IjwWNSv0C1VdfDgYjBGhVFq/5B1I6Qlr8HPEdGmqZBeZ/4TUKLEzW1HeVT 5K8JM1gkzdAADpqnAgJdXDoYtKG3TUpyx+8yksa8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37986: usb: typec: class: Invalidate USB device pointers on partner unregistration Date: Tue, 20 May 2025 19:07:39 +0200 Message-ID: <2025052038-CVE-2025-37986-198c@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=2205; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=W9uHbCqkq9sgQHYi4v1SJirg+Bsr+IX2t3v9TlP6DRs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk6224pJy2OurFdYGLR16jvzhFLvu94vUl2i9SRqt2J6 0uE+Z9964hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ8NxkmB/9cr59zT7Vu4VW rv+v9nunirTXTWJYsP7l88StX4SdF0z61/NB2uvJ+V3xGQA= 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: class: Invalidate USB device pointers on partner unregistration To avoid using invalid USB device pointers after a Type-C partner disconnects, this patch clears the pointers upon partner unregistration. This ensures a clean state for future connections. The Linux kernel CVE team has assigned CVE-2025-37986 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 59de2a56d127890cc610f3896d5fc31887c54ac2 and fixed in 6.12.26 with commit 40966fc9939e85677fdb489dfddfa205baaad03b Issue introduced in 6.7 with commit 59de2a56d127890cc610f3896d5fc31887c54ac2 and fixed in 6.14.5 with commit 74911338f47c13d1b9470fc50718182bffad42e2 Issue introduced in 6.7 with commit 59de2a56d127890cc610f3896d5fc31887c54ac2 and fixed in 6.15-rc4 with commit 66e1a887273c6b89f09bc11a40d0a71d5a081a8e 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-37986 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/class.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/40966fc9939e85677fdb489dfddfa205baaad03b https://git.kernel.org/stable/c/74911338f47c13d1b9470fc50718182bffad42e2 https://git.kernel.org/stable/c/66e1a887273c6b89f09bc11a40d0a71d5a081a8e