{"api_version":"1","generated_at":"2026-12-03T13:40:17+00:00","cve":"CVE-2026-143398","urls":{"html":"https://cve.report/CVE-2026-143398","api":"https://cve.report/api/cve/CVE-2026-143398.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143398","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143398"},"summary":{"title":"Input: destroy force-feedback device on input unregistration","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:33","updated_at":"2026-12-03 10:18:33"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/37e81f10ece145cb0e9b6c98a3addef95d227f1c","name":"https://git.kernel.org/stable/c/37e81f10ece145cb0e9b6c98a3addef95d227f1c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d4dbb53c0d20ce8e19deb043ae3b8b90bb2fb91e","name":"https://git.kernel.org/stable/c/d4dbb53c0d20ce8e19deb043ae3b8b90bb2fb91e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/99d14d228e47d6c63832b52aef210ba372234c7a","name":"https://git.kernel.org/stable/c/99d14d228e47d6c63832b52aef210ba372234c7a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ae0731b721fc5bc3a9e0b9cbc3feb34fef7758cf","name":"https://git.kernel.org/stable/c/ae0731b721fc5bc3a9e0b9cbc3feb34fef7758cf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2ae35f090d029d2d8491b0a7f98a04c5c05d0a44","name":"https://git.kernel.org/stable/c/2ae35f090d029d2d8491b0a7f98a04c5c05d0a44","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b3f2d3771b712a49fbd4cea760480f39e06404ca","name":"https://git.kernel.org/stable/c/b3f2d3771b712a49fbd4cea760480f39e06404ca","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143398","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143398","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b d4dbb53c0d20ce8e19deb043ae3b8b90bb2fb91e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b ae0731b721fc5bc3a9e0b9cbc3feb34fef7758cf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b 99d14d228e47d6c63832b52aef210ba372234c7a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b b3f2d3771b712a49fbd4cea760480f39e06404ca git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b 37e81f10ece145cb0e9b6c98a3addef95d227f1c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b 2ae35f090d029d2d8491b0a7f98a04c5c05d0a44 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.276 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc4 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/input/ff-core.c","drivers/input/ff-memless.c","drivers/input/input.c","include/linux/input.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"d4dbb53c0d20ce8e19deb043ae3b8b90bb2fb91e","status":"affected","version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","versionType":"git"},{"lessThan":"ae0731b721fc5bc3a9e0b9cbc3feb34fef7758cf","status":"affected","version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","versionType":"git"},{"lessThan":"99d14d228e47d6c63832b52aef210ba372234c7a","status":"affected","version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","versionType":"git"},{"lessThan":"b3f2d3771b712a49fbd4cea760480f39e06404ca","status":"affected","version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","versionType":"git"},{"lessThan":"37e81f10ece145cb0e9b6c98a3addef95d227f1c","status":"affected","version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","versionType":"git"},{"lessThan":"2ae35f090d029d2d8491b0a7f98a04c5c05d0a44","status":"affected","version":"509ca1a9383601fdc5612d3d3ba5b981f6eb6c8b","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/input/ff-core.c","drivers/input/ff-memless.c","drivers/input/input.c","include/linux/input.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.19"},{"lessThan":"2.6.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.276","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc4","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.276","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"2.6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc4","versionStartIncluding":"2.6.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:22:38.805Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143398","datePublished":"2026-12-03T09:22:38.805Z","dateReserved":"2026-12-03T03:10:28.373Z","dateUpdated":"2026-12-03T09:22:38.805Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:33","lastModifiedDate":"2026-12-03 10:18:33","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143398","Ordinal":"1","Title":"Input: destroy force-feedback device on input unregistration","CVE":"CVE-2026-143398","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143398","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Input: destroy force-feedback device on input unregistration"}]}}}