{"id":"CVE-2022-49954","summary":"Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag\n\nsyzbot is reporting hung task at __input_unregister_device() [1], for\niforce_close() waiting at wait_event_interruptible() with dev-\u003emutex held\nis blocking input_disconnect_device() from __input_unregister_device().\n\nIt seems that the cause is simply that commit c2b27ef672992a20 (\"Input:\niforce - wait for command completion when closing the device\") forgot to\ncall wake_up() after clear_bit().\n\nFix this problem by introducing a helper that calls clear_bit() followed\nby wake_up_all().","modified":"2026-04-11T12:44:43.656154Z","published":"2025-06-18T11:00:16.928Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02320-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02334-1","SUSE-SU-2025:02537-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49954.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/98e01215708b6d416345465c09dce2bd4868c67a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b271090eea3899399e2adcf79c9c95367d472b03"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d186c65599bff0222da37b9215784ddfe39f9e1b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df1b53bc799d58f79701c465505a206c72ad4ab8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49954.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49954"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c2b27ef672992a206e5b221b8676972dd840ffa5"},{"fixed":"d186c65599bff0222da37b9215784ddfe39f9e1b"},{"fixed":"b271090eea3899399e2adcf79c9c95367d472b03"},{"fixed":"df1b53bc799d58f79701c465505a206c72ad4ab8"},{"fixed":"b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c"},{"fixed":"98e01215708b6d416345465c09dce2bd4868c67a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49954.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.33"},{"fixed":"5.4.213"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.142"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49954.json"}}],"schema_version":"1.7.5"}