Vulnerability in Linux
CVE-2022-49954
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().
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 18.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions c2b27ef672992a206e5b221b8676972dd840ffa5, 2.6.33, 0
- Linux Kernel — versions 2.6.33, 6.0
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/d186c65599bff0222da37b9215784ddfe39f9e1b (Patch)
- git.kernel.org/stable/c/b271090eea3899399e2adcf79c9c95367d472b03 (Patch)
- git.kernel.org/stable/c/df1b53bc799d58f79701c465505a206c72ad4ab8 (Patch)
- git.kernel.org/stable/c/b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c (Patch)
- git.kernel.org/stable/c/98e01215708b6d416345465c09dce2bd4868c67a (Patch)