CVE-2022-49790 Details
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.
A vulnerability has been identified in the Linux kernel's handling of the iforce input device, specifically in versions prior to the patch for CVE-2022-49790. The issue arises from an uninitialized value being used when the device ID is fetched. The vulnerability is rooted in a length validation error: the code incorrectly checks that the valid length is shorter than the bytes to read. This flaw allows for potential exploitation by manipulating the data buffer during the ID retrieval process.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/24cc679abbf31477d0cc6106ec83c2fbae6b3cdf | kernel.org | Patch |
| https://git.kernel.org/stable/c/5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6365569d62a75ddf53fb0c2936c16587a365984c | kernel.org | Patch |
| https://git.kernel.org/stable/c/b8ebf250997c5fb253582f42bfe98673801ebebd | kernel.org | Patch |
| https://git.kernel.org/stable/c/fdd57c20d4408cac3c3c535c120d244e083406c9 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-908 | Use of Uninitialized Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.3, < 5.4.225 >= 5.5, < 5.10.156 >= 5.11, < 5.15.80 >= 5.16, < 6.0.10 6.1 rc1 6.1 rc2 6.1 rc3 6.1 rc4 6.1 rc5 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 5, 2025 | Initial Analysis | [email protected] |
| May 1, 2025 | New CVE Received | kernel.org |