CVEvulnerability
CVE-2022-49954
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-06-18
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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().
Affected configurations
• linux linux kernel (>= 2.6.34 < 5.4.213)
• linux linux kernel (>= 5.5 < 5.10.142)
• linux linux kernel (>= 5.11 < 5.15.66)
• linux linux kernel (>= 5.16 < 5.19.8)
• linux linux kernel 2.6.33
• linux linux kernel 6.0
References
- https://git.kernel.org/stable/c/98e01215708b6d416345465c09dce2bd4868c67a Patch
- https://git.kernel.org/stable/c/b271090eea3899399e2adcf79c9c95367d472b03 Patch
- https://git.kernel.org/stable/c/b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c Patch
- https://git.kernel.org/stable/c/d186c65599bff0222da37b9215784ddfe39f9e1b Patch
- https://git.kernel.org/stable/c/df1b53bc799d58f79701c465505a206c72ad4ab8 Patch