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 102713090D6 for ; Thu, 18 Sep 2025 13:36:18 +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=1758202578; cv=none; b=SHpB8NSV94/hX6Fg63aPdrK511zdKLd/LFma8hsV7Lh1EbIUKEJX3I7ySAbxjbHTe4ejCnVSBphLljix+LOzu9PKU/B/YILMBYPCo4TrF42wSmTiWNnu6qLr+cQH0urEGRALwYebqj+gkYuy13HL6FWb73ekdWCBknL/165Jy4U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202578; c=relaxed/simple; bh=Rh1XdLegXb0mXZOoUjd3QlEulVC5mxuDepcRjBxLBUk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Pj1iqr6OQQMO4p65n1VO0ZLZxM2p6rZd+Z1WBkshwlHsbiB3fqiuMLqVhIF02njpTN5nfXx5g1Jch73mU3Vr1xUKiS7L84/pKpgJFN44lRms0m7wtdL7VWSW9BTMRaYqaPZNsSkOkmWM26lSTjNC1LAiyeCnLDy3TH1WHJQIIZs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=VpqufwU5; 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="VpqufwU5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8227BC4CEE7; Thu, 18 Sep 2025 13:36:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202577; bh=Rh1XdLegXb0mXZOoUjd3QlEulVC5mxuDepcRjBxLBUk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=VpqufwU5x/49kNR/eAkw+SSazvVzXeIKiglNipsP8Hz2dHwTZ1SLBZDKO40TPj2Z/ Ayk1WiM915uvWWNTua4H3LI3pMFqaTJcZHn0GOdXEhbhWF7qN1pOw+hJfny56JynMY QJqId2igL6SnDeqwIlSiJn1NqGxcCb2lCd8vKJak= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53392: HID: intel-ish-hid: Fix kernel panic during warm reset Date: Thu, 18 Sep 2025 15:34:37 +0200 Message-ID: <2025091858-CVE-2023-53392-9703@gregkh> X-Mailer: git-send-email 2.51.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=3253; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6hLFcV3L3t0+BvWQRXTlMR9NEcwbpQrA46/krPSSU9w=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuNw+hWqlTfgX+G57kw7jInfDw4UVTLFiu7a9vL4vo 4458qlNRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyk7B7DfK+6nE7zlUlLA1et tsnfdF/DI/GaIcMcvkP3/bMdp1edXd2j8csxRqS1UPs1AA== 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: intel-ish-hid: Fix kernel panic during warm reset During warm reset device->fw_client is set to NULL. If a bus driver is registered after this NULL setting and before new firmware clients are enumerated by ISHTP, kernel panic will result in the function ishtp_cl_bus_match(). This is because of reference to device->fw_client->props.protocol_name. ISH firmware after getting successfully loaded, sends a warm reset notification to remove all clients from the bus and sets device->fw_client to NULL. Until kernel v5.15, all enabled ISHTP kernel module drivers were loaded right after any of the first ISHTP device was registered, regardless of whether it was a matched or an unmatched device. This resulted in all drivers getting registered much before the warm reset notification from ISH. Starting kernel v5.16, this issue got exposed after the change was introduced to load only bus drivers for the respective matching devices. In this scenario, cros_ec_ishtp device and cros_ec_ishtp driver are registered after the warm reset device fw_client NULL setting. cros_ec_ishtp driver_register() triggers the callback to ishtp_cl_bus_match() to match ISHTP driver to the device and causes kernel panic in guid_equal() when dereferencing fw_client NULL pointer to get protocol_name. The Linux kernel CVE team has assigned CVE-2023-53392 to this issue. Affected and fixed versions =========================== Issue introduced in 5.16 with commit 44e2a58cb8803e3e40eaf5708c4d15b4118913c4 and fixed in 6.1.25 with commit 6c8cc40c588f8080a164d88336b1490279e0f1da Issue introduced in 5.16 with commit 44e2a58cb8803e3e40eaf5708c4d15b4118913c4 and fixed in 6.2.12 with commit 45b9055a3a3ff6e8c08faad82ea36a8644a81587 Issue introduced in 5.16 with commit 44e2a58cb8803e3e40eaf5708c4d15b4118913c4 and fixed in 6.3 with commit 38518593ec55e897abda4b4be77b2ec8ec4447d1 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-2023-53392 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/intel-ish-hid/ishtp/bus.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/6c8cc40c588f8080a164d88336b1490279e0f1da https://git.kernel.org/stable/c/45b9055a3a3ff6e8c08faad82ea36a8644a81587 https://git.kernel.org/stable/c/38518593ec55e897abda4b4be77b2ec8ec4447d1