{"id":"AZL-118721","summary":"CVE-2026-143398 affecting package kernel 6.6.161.1-1","details":"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-\u003edestroy\nand freeing ff-\u003eprivate) 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-\u003estop callback for\nff-memless, but left ff-\u003edestroy 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-\u003eff anymore. Call\ninput_ff_destroy() directly in __input_unregister_device() so that\nff-\u003edestroy() always runs synchronously while the driver and its module\nare still active, and remove the now-redundant ff-\u003estop callback. Keep\ninput_ff_destroy() in input_dev_release() (where it is a no-op once\ndev-\u003eff is NULL) to handle input_free_device() on devices that were\nnever registered.","modified":"2026-12-04T14:18:41.728403924Z","published":"2026-12-03T10:18:33Z","upstream":["CVE-2026-143398"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143398"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-118721.json"}}],"schema_version":"1.9.2"}