Kernel Kit / Infix / v26.10.0latest
CVE-2026-93189
8.8highlinux6.18.60 · 6.18.54 · 6.18.8 · 6.12.21in 4 of 4 releases
Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach linux · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
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.cRoughly 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.
Published 2026-09-17NVD
CVSS 3.1Adjacent network · no privileges · no user interaction
How it is reached
- Attack vector
- Adjacent network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
What it costs
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Scope
- Unchanged
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References 8
- git.kernel.org/stable/c/02246d8b462fd9bd90bc7ae7d6cab1acf69bcb87
- git.kernel.org/stable/c/0744cb9520aade37e78f69134f3111086158f1d2
- git.kernel.org/stable/c/0fecd89f979a8653b9a5b0816570329b7a94a081
- git.kernel.org/stable/c/544ebb25bd58f67e821573412ab7a982b9e02211
- git.kernel.org/stable/c/6787f1828f5616f17250e108c0031fb96fd2cfe6
- git.kernel.org/stable/c/92cca302a4eaf65d1b38b3fb600b4ee5eb856a51
- git.kernel.org/stable/c/a4bc41504690b7d7064931909874f5b98cd148b6
- git.kernel.org/stable/c/c876c437d188911685d8bed645416f2e86bd0354
Fable 5.2 · high confidence · 2026-11-19
The fix for CVE-2026-93189 is already in the kernel source this build compiles. hid_hw_stop() in output/build/linux-6.18.60/drivers/hid/hid-core.c checks hdev->io_started and calls hid_device_io_stop() before hid_disconnect(), which is exactly the change the CVE describes.
No patch under patches/ touches hid_hw_stop, so the fix is part of the 6.18.60 source itself and not a local patch. The NVD match on 6.18.60 therefore flags a version that already has the fix.
Independently of the fix, none of the drivers the CVE lists that I could check are enabled, and CONFIG_HIDRAW is off, so the hidraw_report_event() path named in the CVE is not built.
Evidence 9
`hid_hw_stop()` contains the fix: `if (hdev->io_started) hid_device_io_stop(hdev);` runs before `hid_disconnect(hdev)`.
output/build/linux-6.18.60/drivers/hid/hid-core.c:2459-2465
The kernel-doc comment added by the fix commit is present (quiesce input so in-flight reports cannot reach `hidraw_report_event`).
output/build/linux-6.18.60/drivers/hid/hid-core.c:2454-2457
The source tree is VERSION 6, PATCHLEVEL 18, SUBLEVEL 60, matching the SBOM version.
output/build/linux-6.18.60/Makefile:2-4
`grep -rl hid_hw_stop patches` returns nothing, so no patch in `patches/` adds the fix; it comes with the 6.18.60 source.
patches/
139 patches applied; none has `hid` in its name.
output/build/linux-6.18.60/.applied_patches_list
`drivers/hid/hid-core.o` was built, so the fixed `hid_hw_stop()` is the code in the image.
output/objects.txt:22892
`# CONFIG_HIDRAW is not set`: the hidraw object named in the use-after-free is not built.
output/build/linux-6.18.60/.config:3314
`CONFIG_SENSORS_CORSAIR_CPRO`, `CONFIG_SENSORS_CORSAIR_PSU`, `CONFIG_SENSORS_GIGABYTE_WATERFORCE`, `CONFIG_SENSORS_NZXT_KRAKEN3`, `CONFIG_SENSORS_NZXT_SMART2`, `CONFIG_HID_NINTENDO` and `CONFIG_HID_MCP2221` are all not set.
output/build/linux-6.18.60/.config:2915-2916,2926,2999-3000,3380,3421
`BR2_LINUX_KERNEL=y` with `BR2_LINUX_KERNEL_VERSION="6.18.60"`: the kernel is a target package at this version.
output/.config:445,455
Version and patches
The fixed code is in the 6.18.60 source: hid_hw_stop() at output/build/linux-6.18.60/drivers/hid/hid-core.c:2459-2465 has the io_started guard. It is not added by any of the 139 applied patches as far as the tree shows (no patch under patches/ mentions hid_hw_stop). I could not read the upstream stable commits or the CNA affected range offline, so the exact 6.18.y release that first carried the fix is not established; the source in this tree is the evidence.
Recommendation
Document as not applicable: the fix is already in the shipped 6.18.60 source, so no upgrade or backport is needed for this CVE.
Open questions
The upstream commit pages and the CNA version range were not available, so I did not confirm which 6.18.y point release introduced the fix; this does not change the verdict.
CONFIG_HID_LOGITECH_DJ did not appear in my search of the kernel .config, so its state is unconfirmed; it does not matter once the core fix is present.
One of my shell commands was denied by the sandbox (a compound cd command); I read the same files with the Read tool instead, so nothing is missing from the review.
Members of Kernel Kit decide. Sign in if you are one.