A use-after-free vulnerability in the Linux kernel input subsystem was fixed by ensuring force-feedback device destruction occurs synchronously during input device unregistration. Previously, force-feedback teardown could happen after the driver was unloaded, causing potential memory errors or page faults.