{"id":"CVE-2022-49954","aliases":["CVE-2022-49954"],"related":[],"kind":"vulnerability","state":"published","title":"Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag","summary":"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->mutex 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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->mutex 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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Entrada: iforce - reactivar tras borrar el indicador IFORCE_XMIT_RUNNING. syzbot informa que la tarea está bloqueada en __input_unregister_device() [1], ya que iforce_close() espera en wait_event_interruptible() con dev-&gt;mutex retenido, lo que bloquea input_disconnect_device() desde __input_unregister_device(). Parece que la causa es simplemente que el commit c2b27ef672992a20 (\"Entrada: iforce - esperar a que se complete el comando al cerrar el dispositivo\") olvidó llamar a wake_up() después de clear_bit(). Se soluciona este problema mediante un asistente que llame a clear_bit() seguido de wake_up_all().","source":"nvd"}],"published":"2025-06-18T11:00:16.928Z","modified":"2026-06-17T05:19:36.850Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c2b27ef672992a206e5b221b8676972dd840ffa5","fixed":"d186c65599bff0222da37b9215784ddfe39f9e1b","status":"affected"},{"type":"git","introduced":"c2b27ef672992a206e5b221b8676972dd840ffa5","fixed":"b271090eea3899399e2adcf79c9c95367d472b03","status":"affected"},{"type":"git","introduced":"c2b27ef672992a206e5b221b8676972dd840ffa5","fixed":"df1b53bc799d58f79701c465505a206c72ad4ab8","status":"affected"},{"type":"git","introduced":"c2b27ef672992a206e5b221b8676972dd840ffa5","fixed":"b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c","status":"affected"},{"type":"git","introduced":"c2b27ef672992a206e5b221b8676972dd840ffa5","fixed":"98e01215708b6d416345465c09dce2bd4868c67a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.33","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.33","status":"unaffected"},{"type":"semver","introduced":"5.4.213","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.142","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.66","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.8","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.34","fixed":"5.4.213"},{"status":"affected","introduced":"5.5","fixed":"5.10.142"},{"status":"affected","introduced":"5.11","fixed":"5.15.66"},{"status":"affected","introduced":"5.16","fixed":"5.19.8"},{"status":"affected","version":"2.6.33"},{"status":"affected","version":"2.6.33"},{"status":"affected","version":"2.6.33"},{"status":"affected","version":"2.6.33"},{"status":"affected","version":"2.6.33"},{"status":"affected","version":"2.6.33"},{"status":"affected","version":"2.6.33"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"},{"status":"affected","version":"6.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d186c65599bff0222da37b9215784ddfe39f9e1b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b271090eea3899399e2adcf79c9c95367d472b03","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df1b53bc799d58f79701c465505a206c72ad4ab8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98e01215708b6d416345465c09dce2bd4868c67a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49954","url":"https://www.cve.org/CVERecord?id=CVE-2022-49954","licence":"CVE Terms of Use","modified":"2026-05-11T19:09:53.509Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49954","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49954","licence":"Public domain","modified":"2026-06-17T05:19:36.850Z"}],"updatedAt":"2026-11-25T22:58:20.979Z","epss":{"score":0.00263,"percentile":0.19428,"date":"2026-12-01T12:00:22.000Z"}}