CVE-2022-49790

Input: iforce - invert valid length check when fetching device IDs

No CVSS score yet EPSS 0.21%

Published 1 May 2025 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2022-49790

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-49790 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 - invert valid length check when fetching device IDs

syzbot is reporting uninitialized value at iforce_init_device() [1], for commit 6ac0aec6b0a6 ("Input: iforce - allow callers supply data buffer when fetching device IDs") is checking that valid length is shorter than bytes to read. Since iforce_get_id_packet() stores valid length when returning 0, the caller needs to check that valid length is longer than or equals to bytes to read.

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 6ac0aec6b0a651d64eef759fddf17d9145b51033, before 5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3
affected from 6ac0aec6b0a651d64eef759fddf17d9145b51033, before 24cc679abbf31477d0cc6106ec83c2fbae6b3cdf
affected from 6ac0aec6b0a651d64eef759fddf17d9145b51033, before fdd57c20d4408cac3c3c535c120d244e083406c9
affected from 6ac0aec6b0a651d64eef759fddf17d9145b51033, before 6365569d62a75ddf53fb0c2936c16587a365984c
affected from 6ac0aec6b0a651d64eef759fddf17d9145b51033, before b8ebf250997c5fb253582f42bfe98673801ebebd
Other versions: unaffected
Linux
affected 5.3
unaffected before 5.3
unaffected from 5.4.225 up to and including 5.4.*
unaffected from 5.10.156 up to and including 5.10.*
unaffected from 5.15.80 up to and including 5.15.*
unaffected from 6.0.10 up to and including 6.0.*
unaffected 6.1 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-49790 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-49790

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-49790
trivy image --scanners vuln IMAGE | grep CVE-2022-49790

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-49790 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.