CVE-2026-143398: Input: destroy force-feedback device on input unregistration

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Input: destroy force-feedback device on input unregistration

When an input device is unregistered while userspace holds an open file descriptor to its event node, inputdevrelease() is deferred until the last file descriptor is closed. Because inputffdestroy() was only called from inputdevrelease(), force-feedback teardown (ff->destroy and freeing ff->private) could run after the parent driver had already unbound, freed its device state, or even been unloaded via rmmod, causing use-after-free errors or page faults in unmapped module text.

Commit ef166ce08801 ("Input: stop force-feedback timer when unregistering input devices") added a separate ff->stop callback for ff-memless, but left ff->destroy invoked from inputdevrelease().

Once inputunregisterdevice() has disconnected all input handlers (which flushes effects, closes the device, and marks evdev dead) and deleted the device from sysfs, nothing accesses dev->ff anymore. Call inputffdestroy() directly in inputunregisterdevice() so that ff->destroy() always runs synchronously while the driver and its module are still active, and remove the now-redundant ff->stop callback. Keep inputffdestroy() in inputdevrelease() (where it is a no-op once dev->ff is NULL) to handle inputfreedevice() on devices that were never registered.

Affected Software

10 affected componentsFixes available
Linux Linux kernel
linux/kernel>=2.6.19<5.10.276
5.10.276
linux/kernel>=5.11.0<5.15.227
5.15.227
linux/kernel>=5.16.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7
debian/linux*
debian/linux*
debian/linux*
debian/linux<=6.1.176-1, <=6.1.192-3, <=6.12.117-1, <=6.12.118-1, <=7.3.6-1
7.3.7-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.276
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.227
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7
  6. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.7-1
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch ef166ce08801

Event History

Dec 3, 2026
CVE Published
via MITRE·09:22 AM
Data Sourced
via MITRE·09:22 AM
Description
Data Sourced
via OSV·09:22 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using Linux input devices with force-feedback support are exposed when such a device is unregistered while a userspace process still holds an open file descriptor to its event node.

2

What condition is required to trigger the use-after-free?

An input device must be unregistered before all userspace file descriptors for its event device are closed. The deferred device release can then invoke force-feedback destruction after the parent driver has unbound, freed its state, or been unloaded.

3

How can I tell whether a system may already be affected?

Look for force-feedback input devices being removed or drivers being unbound or unloaded while applications retain open event-device file descriptors. Failures may appear as use-after-free errors or page faults in unmapped module text during force-feedback teardown.

4

What is the mitigation if an update cannot be applied immediately?

Avoid unregistering force-feedback input devices, unbinding their drivers, or unloading their modules until userspace applications have closed all file descriptors to the associated event nodes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203