CVE-2026-143398
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Affected 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Affected | — |
| sid | linux |
Affected | — |
| forky | linux |
Affected | — |
| bookworm | linux |
Affected | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| linux | linux | 2.6.19 | |
References
- https://git.kernel.org/stable/c/2ae35f090d029d2d8491b0a7f98a04c5c05d0a44
- https://git.kernel.org/stable/c/37e81f10ece145cb0e9b6c98a3addef95d227f1c
- https://git.kernel.org/stable/c/99d14d228e47d6c63832b52aef210ba372234c7a
- https://git.kernel.org/stable/c/ae0731b721fc5bc3a9e0b9cbc3feb34fef7758cf
- https://git.kernel.org/stable/c/b3f2d3771b712a49fbd4cea760480f39e06404ca
- https://git.kernel.org/stable/c/d4dbb53c0d20ce8e19deb043ae3b8b90bb2fb91e
- https://security-tracker.debian.org/tracker/CVE-2026-143398
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.