CVE-2022-49954

Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag

syzbot is reporting hung task at __input_unregister_device() [1], for iforce_close() waiting at wait_event_interruptible() with dev->mutex held is blocking input_disconnect_device() from __input_unregister_device().

It seems that the cause is simply that commit c2b27ef672992a20 ("Input: iforce - wait for command completion when closing the device") forgot to call wake_up() after clear_bit().

Fix this problem by introducing a helper that calls clear_bit() followed by wake_up_all().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c2b27ef672992a206e5b221b8676972dd840ffa5 to before d186c65599bff0222da37b9215784ddfe39f9e1bAffected
  • c2b27ef672992a206e5b221b8676972dd840ffa5 to before b271090eea3899399e2adcf79c9c95367d472b03Affected
  • c2b27ef672992a206e5b221b8676972dd840ffa5 to before df1b53bc799d58f79701c465505a206c72ad4ab8Affected
  • c2b27ef672992a206e5b221b8676972dd840ffa5 to before b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3cAffected
  • c2b27ef672992a206e5b221b8676972dd840ffa5 to before 98e01215708b6d416345465c09dce2bd4868c67aAffected
LinuxLinux
  • 2.6.33Affected
  • before 2.6.33Not affected
  • 5.4.213 through 5.4.*Not affected
  • 5.10.142 through 5.10.*Not affected
  • 5.15.66 through 5.15.*Not affected
  • 5.19.8 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.