CVE-2022-49954

Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag

No CVSS score yet EPSS 0.26%

Published 18 Jun 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-49954

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-49954 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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().

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c2b27ef672992a206e5b221b8676972dd840ffa5, before d186c65599bff0222da37b9215784ddfe39f9e1b
affected from c2b27ef672992a206e5b221b8676972dd840ffa5, before b271090eea3899399e2adcf79c9c95367d472b03
affected from c2b27ef672992a206e5b221b8676972dd840ffa5, before df1b53bc799d58f79701c465505a206c72ad4ab8
affected from c2b27ef672992a206e5b221b8676972dd840ffa5, before b533b9d3a0d1327cbb31c201dc8dbbf98c8bfe3c
affected from c2b27ef672992a206e5b221b8676972dd840ffa5, before 98e01215708b6d416345465c09dce2bd4868c67a
Other versions: unaffected
Linux
affected 2.6.33
unaffected before 2.6.33
unaffected from 5.4.213 up to and including 5.4.*
unaffected from 5.10.142 up to and including 5.10.*
unaffected from 5.15.66 up to and including 5.15.*
unaffected from 5.19.8 up to and including 5.19.*
unaffected 6.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-49954 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49954

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-49954
trivy image --scanners vuln IMAGE | grep CVE-2022-49954

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-49954 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.