{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143398","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.373Z","datePublished":"2026-12-03T09:22:38.805Z","dateUpdated":"2026-12-03T09:22:38.805Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T09:22:38.805Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: destroy force-feedback device on input unregistration\n\nWhen an input device is unregistered while userspace holds an open file\ndescriptor to its event node, input_dev_release() is deferred until the\nlast file descriptor is closed. Because input_ff_destroy() was only\ncalled from input_dev_release(), force-feedback teardown (ff->destroy\nand freeing ff->private) could run after the parent driver had already\nunbound, freed its device state, or even been unloaded via rmmod,\ncausing use-after-free errors or page faults in unmapped module text.\n\nCommit ef166ce08801 (\"Input: stop force-feedback timer when\nunregistering input devices\") added a separate ff->stop callback for\nff-memless, but left ff->destroy invoked from input_dev_release().\n\nOnce __input_unregister_device() has disconnected all input handlers\n(which flushes effects, closes the device, and marks evdev dead) and\ndeleted the device from sysfs, nothing accesses dev->ff anymore. Call\ninput_ff_destroy() directly in __input_unregister_device() so that\nff->destroy() always runs synchronously while the driver and its module\nare still active, and remove the now-redundant ff->stop callback. Keep\ninput_ff_destroy() in input_dev_release() (where it is a no-op once\ndev->ff is NULL) to handle input_free_device() on devices that were\nnever registered."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/ff-core.c","drivers/input/ff-memless.c","drivers/input/input.c","include/linux/input.h"],"versions":[{"version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","lessThan":"d4dbb53c0d20ce8e19deb043ae3b8b90bb2fb91e","status":"affected","versionType":"git"},{"version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","lessThan":"ae0731b721fc5bc3a9e0b9cbc3feb34fef7758cf","status":"affected","versionType":"git"},{"version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","lessThan":"99d14d228e47d6c63832b52aef210ba372234c7a","status":"affected","versionType":"git"},{"version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","lessThan":"b3f2d3771b712a49fbd4cea760480f39e06404ca","status":"affected","versionType":"git"},{"version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","lessThan":"37e81f10ece145cb0e9b6c98a3addef95d227f1c","status":"affected","versionType":"git"},{"version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","lessThan":"2ae35f090d029d2d8491b0a7f98a04c5c05d0a44","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/input/ff-core.c","drivers/input/ff-memless.c","drivers/input/input.c","include/linux/input.h"],"versions":[{"version":"2.6.19","status":"affected"},{"version":"0","lessThan":"2.6.19","status":"unaffected","versionType":"semver"},{"version":"5.10.276","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.227","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.12.120","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.66","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.7","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc4","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.19","versionEndExcluding":"7.4-rc4"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/d4dbb53c0d20ce8e19deb043ae3b8b90bb2fb91e"},{"url":"https://git.kernel.org/stable/c/ae0731b721fc5bc3a9e0b9cbc3feb34fef7758cf"},{"url":"https://git.kernel.org/stable/c/99d14d228e47d6c63832b52aef210ba372234c7a"},{"url":"https://git.kernel.org/stable/c/b3f2d3771b712a49fbd4cea760480f39e06404ca"},{"url":"https://git.kernel.org/stable/c/37e81f10ece145cb0e9b6c98a3addef95d227f1c"},{"url":"https://git.kernel.org/stable/c/2ae35f090d029d2d8491b0a7f98a04c5c05d0a44"}],"title":"Input: destroy force-feedback device on input unregistration","x_generator":{"engine":"bippy-1.2.0"}}}}