From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 0B1F758B6B7 for ; Fri, 11 Sep 2026 19:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156769; cv=none; b=F5abL7Alf22jY6avljqhwL8ABzPeZjf18/Dy8tAWxA1QL1IZUcqhN1hov6Q/y+l6nzX4oz34/J91ww1l4wMr9jIsbe8J+kh4bzH63fNyQNu+2T8Iavdg+WvEI9QlNdMGUpHOn3UPhQ+4NE98Ne7V9zXP2aO38baS3LNxIOEEjV4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156769; c=relaxed/simple; bh=HytFblTo9jR+tbWo13hqeLPFLJJtpXyLMJllpybXOF0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QcMeBiSTX/Cg1/7/EK8tc50MltO33yHeQqRPCH26M+afgVX6iw2wh+7LdkX9ORnQLOQ2pR1fxYZu1FFVhq7FowlpjiNymDoE5O4NRSnBxgviXrCMyTJCGXPpto8olM2INw8KUS2EcHMpp1qtIdfs/LOeiy2fLjMEU5wjc/L4P18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nJ/pcJMM; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nJ/pcJMM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38CF41F00893; Fri, 11 Sep 2026 19:59:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156759; bh=5uE+zJX+cJHlmwy8MvJu4YBmM5FApU/EJi4q/YwUTtw=; h=From:To:Cc:Subject:Date:Reply-To; b=nJ/pcJMMXltR29OCBYrXpI16MRX0IgA7UrcdQDaRv82HVmElh8VhBIrkQB3ZLlW4U +i0UBGNGzY1pEAyb2qreW2m/K08S2z0bPnqAm5AGIBDuGq+8tCIlUFAcJRCc/72U6G rHoCMU1nH9+d2zC+8n1V4FzbSwBLkrd+uAKByU3I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89623: HID: mcp2221: stop device IO before hid_hw_stop Date: Fri, 11 Sep 2026 21:45:12 +0200 Message-ID: <2026091138-CVE-2026-89623-2419@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2912; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QLgWmgydIke1U1+q60n/rICFVILSj1lQUwzVMA26SX8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIov2yX+48axAo0x27Uu1/Sl9T+aU/Hp/8mhZgv1j7 gqGyzF5HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRTbEMC/pT3n59dEVZUcj3 vtO8k7pZ146ImzLM073yQ/p2TVzP1FliBzeKs29d4M4RCQA= 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: HID: mcp2221: stop device IO before hid_hw_stop Quiesce device IO at the start of the devm cleanup callback mcp2221_hid_unregister() so that incoming HID reports cannot race with hardware teardown during probe failure or device removal, addressing a potential use-after-free. Guard the call to hid_device_io_stop() with io_started. On normal removal hid_device_remove() has already cleared io_started before the devres group is released, so an unconditional call would otherwise hit the !io_started path and emit a spurious "io already stopped" warning on every removal. The guard preserves the probe-failure balancing, where io_started is still set after hid_device_io_start(), while staying silent on the normal removal path. The Linux kernel CVE team has assigned CVE-2026-89623 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.8 with commit d4b50ac06ea6e47bdd2b04e97d1090c673c80645 and fixed in 6.12.109 with commit 0ae90a19e6b5a8557d25d95facb7e01c9c07af38 Issue introduced in 6.6.8 with commit d4b50ac06ea6e47bdd2b04e97d1090c673c80645 and fixed in 6.18.50 with commit c99ba6c234d4d537c317336376b78c088174034a Issue introduced in 6.6.8 with commit d4b50ac06ea6e47bdd2b04e97d1090c673c80645 and fixed in 7.2.4 with commit 2eda1513f573945c1e3a0090341f3d28740463b1 Issue introduced in 6.6.8 with commit d4b50ac06ea6e47bdd2b04e97d1090c673c80645 and fixed in 7.3-rc1 with commit dca151633c0fde90935311c60e7cfc064aa56134 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-2026-89623 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/hid/hid-mcp2221.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/0ae90a19e6b5a8557d25d95facb7e01c9c07af38 https://git.kernel.org/stable/c/c99ba6c234d4d537c317336376b78c088174034a https://git.kernel.org/stable/c/2eda1513f573945c1e3a0090341f3d28740463b1 https://git.kernel.org/stable/c/dca151633c0fde90935311c60e7cfc064aa56134