data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2026-89624 in the interactive tracker

CVE-2026-89624

HID: universal-pidff: stop the device when force-feedback init fails

7.8 EPSS 0.2% AV:L

Published 2026-09-11 (37 days ago) by the Linux kernel CNA. Subsystem drivers/hid. Debian urgency: unimportant.

What to do, per Debian release

Debian's own status for CVE-2026-89624 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source

ReleaseStatus VersionWhat this means
Debian 12bookwormnot affected6.1.190-1Nothing to do. bookworm never shipped the vulnerable code.
Debian 13trixiefixedDSA-6528-1 · 2026-09-29 · text6.12.111-1Update the kernel and reboot. DSA-6528-1 shipped the fix on 2026-09-29, in 6.12.111-1. A running kernel keeps the old code until the machine restarts.
Debian 14forkyfixed7.2.6-1Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.2.6-1Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts.
Debian 12bookworm · linux-6.12fixedDLA-4817-1 · 2026-10-04 · text6.12.111-1~deb12u1Update the kernel and reboot. DLA-4817-1 shipped the fix on 2026-10-04, in 6.12.111-1~deb12u1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

universal_pidff_probe() starts the device with hid_hw_start() and then, if force-feedback initialisation fails, returns the error through a label that only does "return error". The device is left started. The HID core does not unwind on the driver's behalf. __hid_device_probe() releases the devres group, closes the report and clears hdev->driver: if (ret) { devres_release_group(&hdev->dev, hdev->devres_group_id); hid_close_report(hdev); hdev->driver = NULL; } The hidraw character device that hid_hw_start() registered through hid_connect() is allocated with kzalloc() and added with cdev_device_add(), so it is not devres-managed and survives that. With hdev->driver NULL, hid_device_remove() skips hid_hw_stop() as well, because it only unwinds while a driver is still attached. The registration therefore outlives the device on both paths. Opening the surviving /dev/hidrawX writes into freed memory. KASAN reports a use-after-free write from hidraw_open() -> hid_hw_open() -> the transport's open callback, which takes a spinlock inside the freed object. A descriptor that carries a PID usage page and no input reports is enough: hidraw claims the device so hid_hw_start() succeeds, while hid->inputs stays empty so force-feedback init fails. The other failure returns in hid_pidff_init_with_quirks() - no output reports, an allocation failure, pidff_init_fields(), pidff_check_autocenter(), an unusable effect count, input_ff_create() - all reach the same label. Stop the device on that path. hid-dr.c and hid-emsff.c, which start the device with the same HID_CONNECT_DEFAULT & ~HID_CONNECT_FF mask, already do this. The two earlier gotos must keep returning without hid_hw_stop(), since neither has a started device, so give the path that fails after the start its own label. Discovered by XBOW, triaged by Baul Lee <baul.lee@xbow.com>

Where it lives

The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.

drivers/hid/hid-universal-pidff.c

What this is
USB HID PID DRIVERS (USB WHEELBASES, JOYSTICKS, RUDDERS, ...)MAINTAINERS section matched on drivers/hid/hid-universal-pidff.c · linux-input@vger.kernel.org · Maintained
Kernel module
hid_universal_pidff

Check it on the machine

grep -wE 'CONFIG_HID_SUPPORT|CONFIG_HID_UNIVERSAL_PIDFF' /boot/config-$(uname -r)

Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.

lsmod | grep -w hid_universal_pidff

Prints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.

Show whether Debian builds this, per release

Debian builds this, but not on every flavour. At least one release below builds the code on some of its kernel flavours and not on others, so the answer depends on the architecture and flavour installed. The build rule could not be established for 1 release, so nothing is claimed about those.

  • bookworm?
  • trixie, forky, sid, bookworm · linux-6.12Mnot built on amd64/cloud-amd64, arm64/cloud-arm64
?
not established - no Makefile entry for the affected file
M
a module where it is built at all; some flavours do not build it

Where a release above reads "not established", no build rule for the affected file was found in that release's kernel tree. That is a gap in this lookup, not a finding that the code is absent.

Build switches
CONFIG_HID_SUPPORT, CONFIG_HID_UNIVERSAL_PIDFF
Reads as
all on means the file is compiled; any one off means it is not.

From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages

Signals

Published
2026-09-11 (37 days ago)source
CVSS
7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it
Attack vector
local (AV:L)source
EPSS
0.17%, higher than 6.0% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
unimportantsource
Subsystem
drivers/hid

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
6.12.246.12.111519fa26695b0
6.156.18.5001d9874e84d3
6.157.2.4c457bb516b61
6.157.3ce08c5555cab
6.6.8800
6.13.1200
6.14.300

Debian advisories

AdvisoryDateShipped toDebian
DLA-4817-12026-10-04bookworm 6.12.111-1~deb12u1tracker
DSA-6528-12026-09-29trixie 6.12.111-1tracker

Why the CNA scored it this way

Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source

AV:LAttack vector, local
A local process reaches the bug via /dev/uhid: uhid_dev_create2 copies bus/vendor/product and the report descriptor from userspace, so a synthetic BUS_USB device matching hid-universal-pidff binds without hardware. A malicious USB PID gadget is only a lower-severity physical alternative.
AC:LAttack complexity, low
The attacker supplies a PID-page descriptor with no input reports so hid_hw_start() registers hidraw while hid_pidff_init_with_quirks() fails, then destroys the uhid device and opens the leftover hidraw node. Both sides of that lifecycle are attacker-controlled; no race or uninfluenced condition is required.
PR:LPrivileges required, low
uhid_dev_create2() and hidraw_open() have no capable() gate; reachability is only DAC on /dev/uhid and /dev/hidraw*, which udev uaccess-tags for the logged-in seat user on desktop and Android-class systems. Real init-namespace root is not required.
UI:NUser interaction, none
The attacker’s own process creates the uhid device, tears it down after the failed probe, and opens the surviving /dev/hidrawX. No separate victim action such as mounting a filesystem or plugging in a device is required.
S:UScope, unchanged
The use-after-free is of the host kernel hid_device, hidraw state, and transport private object under a single kernel security authority. It is not a VM escape, IOMMU/DMA bypass, or sandbox boundary crossing.
C:HConfidentiality impact, high
Opening the leftover hidraw node is a slab use-after-free of the freed hid_device and ll_driver private data. Per UAF scoring guidance, control over the reallocated object yields an arbitrary kernel read primitive.
I:HIntegrity impact, high
hidraw_open() -> hid_hw_open() writes the mutex/lock inside the freed hid_device and calls ll_driver->open from freed memory, which is a write plus an indirect call. That is an arbitrary-write/control-flow hijack primitive.
A:HAvailability impact, high
The same UAF produces KASAN use-after-free reports and a kernel oops/panic on hidraw open after teardown, and the create/destroy/open cycle can be repeated at will.