CVEvulnerability
CVE-2022-49790
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-05-01
- 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
- Weaknesses
- CWE-908
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.
Affected configurations
• linux linux kernel (>= 5.3 < 5.4.225)
• linux linux kernel (>= 5.5 < 5.10.156)
• linux linux kernel (>= 5.11 < 5.15.80)
• linux linux kernel (>= 5.16 < 6.0.10)
• linux linux kernel 6.1
Related
Weakness · CWE (1)
- CWE-908 Use of Uninitialized Resource weakness
References
- https://git.kernel.org/stable/c/24cc679abbf31477d0cc6106ec83c2fbae6b3cdf Patch
- https://git.kernel.org/stable/c/5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3 Patch
- https://git.kernel.org/stable/c/6365569d62a75ddf53fb0c2936c16587a365984c Patch
- https://git.kernel.org/stable/c/b8ebf250997c5fb253582f42bfe98673801ebebd Patch
- https://git.kernel.org/stable/c/fdd57c20d4408cac3c3c535c120d244e083406c9 Patch