CVE-2026-143398

UnknownEPSS 0.28%

Last modified

CVE-2026-143398 is a vulnerability of currently unknown severity. 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, input_dev_release() is deferred until the last file descriptor is closed. Because input_ff_destroy() was only called from input_dev_release(), 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 input_dev_release(). Once __input_unregister_device() 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. EPSS estimates a 0.28% chance of exploitation in the next 30 days.

Description

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, input_dev_release() is deferred until the last file descriptor is closed. Because input_ff_destroy() was only called from input_dev_release(), 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 input_dev_release(). Once __input_unregister_device() 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 input_ff_destroy() directly in __input_unregister_device() 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 input_ff_destroy() in input_dev_release() (where it is a no-op once dev->ff is NULL) to handle input_free_device() on devices that were never registered.

Metrics

EPSS Probability
0.28%

22.4th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b, < d4dbb53c0d20ce8e19deb043ae3b8b90bb2fb91e; >= 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b, < ae0731b721fc5bc3a9e0b9cbc3feb34fef7758cf; >= 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b, < 0d83551b2a82ad8453df5f4284e9029f5d8e331b; >= 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b, < 12abeda01a69cc4471fe8149a3c925e2da081df0; >= 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b, < 99d14d228e47d6c63832b52aef210ba372234c7a; >= 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b, < b3f2d3771b712a49fbd4cea760480f39e06404ca; >= 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b, < 37e81f10ece145cb0e9b6c98a3addef95d227f1c; >= 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b, < 2ae35f090d029d2d8491b0a7f98a04c5c05d0a44
LinuxLinux2.6.19

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-143398?
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, input_dev_release() is deferred until the last file descriptor is closed. Because input_ff_destroy() was only called from input_dev_release(), 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 input_dev_release(). Once __input_unregister_device() 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 input_ff_destroy() directly in __input_unregister_device() 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 input_ff_destroy() in input_dev_release() (where it is a no-op once dev->ff is NULL) to handle input_free_device() on devices that were never registered.
How severe is CVE-2026-143398?
Severity scoring for CVE-2026-143398 is pending analysis. The EPSS model estimates a 0.28% probability of exploitation in the next 30 days.
How do I fix CVE-2026-143398?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-143398?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST