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 6A1D4541E52 for ; Thu, 17 Sep 2026 16:41:25 +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=1789663286; cv=none; b=Ph+CYlyqJbiiGDpblWUZyVZlSp+v3UF88FXp41Bwxz0Vi3ID7obZflYzBRuKPv2+zUVFi9PBCvPJLZduFSApdCCHSPKUks2yPsfxF/8F0jzCGKeb2obCMPaK43OChJ8bDJKAx9/X0oKt8XVR6Y1W2rTdZspb5hFeWR7RXsjXf20= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663286; c=relaxed/simple; bh=SunfABOqpT3HfVoneqAd2Re7q031SGr7bgERNfF+dZw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Acg3+aIng0mq+jHN4ny9pQl5056JIUqoTkmNocARkXBXPJdTJMvTaeIE2gsJVp6C79Y5tgqxH82u3fIZ+uckbrYR/nYj3ypZYzfxS9Ey+8WAYvLxkgnlcnXkEjOfPOR/jmnruHjRvO+Pf53r+MnwcVobRfNm3M4Yf4QSflcKBAo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FuxI2gzX; 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="FuxI2gzX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C26881F000FF; Thu, 17 Sep 2026 16:41:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663285; bh=oZ44p+prcYcfY2LETAdtjtxNG/2/AWx9y9QnSszUIKI=; h=From:To:Cc:Subject:Date:Reply-To; b=FuxI2gzXJgnS0osCXrwOHKtzPOFpmjfzkgfuvwEwhmcJMdJdWVJ83p3h/IdGQyWKk Xfdk59UxXQcSWcWshbR+1ir3OhP/D+8QMjshpSbmnryswpFT/wUEtYfSbODLFQxHGG lvnVuGfx0x/3Ev4FiSukqn3j+btyiUJXYz/07Rp4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93189: HID: core: quiesce input in hid_hw_stop() to prevent use-after-free Date: Thu, 17 Sep 2026 17:17:46 +0100 Message-ID: <2026091704-CVE-2026-93189-a9df@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=4256; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=R4s/8cLYLuDs9ULl5vMHuRYjPJILLME6Xfr8Ia8J6p4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBO5MFz+j33z8sdrqjqk8Ks2Oa2ZstYxW33/sR67Yl 2uvTj7c2BHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATmTiJYcG50577FuzVbw9N E91wNf6dhudhlSMM85PLvm+zyfJu2SUVb3HfunbyNNMpLgA= 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: core: quiesce input in hid_hw_stop() to prevent use-after-free A driver's probe calls hid_device_io_start() to enable input delivery, then fails at a later initialization step and unwinds via hid_hw_stop(). The unwind frees struct hidraw via hidraw_disconnect() while in-flight HID reports may still be running on another CPU, dereferencing the freed object through hidraw_report_event(). syzbot reports the resulting use-after-free for the corsair-psu HID driver. Edward Adam Davis posted a per-driver fix for corsair-psu that adds an explicit hid_device_io_stop() before hid_hw_stop() in the probe error path ("hwmon: prevent packets from going to driver for probe", 2026-04-28). Auditing the tree shows 15 drivers call hid_device_io_start(); 7 also call hid_device_io_stop() and 8 do not: drivers calling hid_device_io_start() without a matching hid_device_io_stop() before hid_hw_stop(): drivers/hwmon/corsair-psu.c (fix posted by Edward) drivers/hwmon/corsair-cpro.c drivers/hwmon/nzxt-kraken3.c drivers/hwmon/nzxt-smart2.c drivers/hwmon/gigabyte_waterforce.c drivers/hid/hid-logitech-dj.c drivers/hid/hid-nintendo.c drivers/hid/hid-mcp2221.c Roughly half of all callers of the API are exposed. Centralize the quiesce in hid_hw_stop() so callers do not have to remember the matching stop: if a driver has left hdev->io_started true on entry, call hid_device_io_stop() before hid_disconnect(). For the 7 drivers that already call hid_device_io_stop() correctly, hdev->io_started is false on entry, the guard short-circuits, and behavior is unchanged. No Fixes: tag because the affected drivers gained their hid_device_io_start() calls independently over years; the bug is a class-wide API misuse rather than a regression from one commit. The Linux kernel CVE team has assigned CVE-2026-93189 to this issue. Affected and fixed versions =========================== Fixed in 5.10.270 with commit 0744cb9520aade37e78f69134f3111086158f1d2 Fixed in 5.15.221 with commit c876c437d188911685d8bed645416f2e86bd0354 Fixed in 6.1.188 with commit 6787f1828f5616f17250e108c0031fb96fd2cfe6 Fixed in 6.6.157 with commit 92cca302a4eaf65d1b38b3fb600b4ee5eb856a51 Fixed in 6.12.110 with commit 02246d8b462fd9bd90bc7ae7d6cab1acf69bcb87 Fixed in 6.18.52 with commit 544ebb25bd58f67e821573412ab7a982b9e02211 Fixed in 7.2.6 with commit 0fecd89f979a8653b9a5b0816570329b7a94a081 Fixed in 7.3-rc1 with commit a4bc41504690b7d7064931909874f5b98cd148b6 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-93189 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-core.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/0744cb9520aade37e78f69134f3111086158f1d2 https://git.kernel.org/stable/c/c876c437d188911685d8bed645416f2e86bd0354 https://git.kernel.org/stable/c/6787f1828f5616f17250e108c0031fb96fd2cfe6 https://git.kernel.org/stable/c/92cca302a4eaf65d1b38b3fb600b4ee5eb856a51 https://git.kernel.org/stable/c/02246d8b462fd9bd90bc7ae7d6cab1acf69bcb87 https://git.kernel.org/stable/c/544ebb25bd58f67e821573412ab7a982b9e02211 https://git.kernel.org/stable/c/0fecd89f979a8653b9a5b0816570329b7a94a081 https://git.kernel.org/stable/c/a4bc41504690b7d7064931909874f5b98cd148b6