CVE-2022-49790

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

MEDIUM
5.5
CVSS Score
Published: May 1, 2025 at 02:09 PM UTC
Updated: June 17, 2026 at 05:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.805.16 ≤ v < 6.0.105.3 ≤ v < 5.10.1565.3 ≤ v < 5.15.805.3 ≤ v < 5.4.2255.3 ≤ v < 6.0.105.3 ≤ v < 6.15.5 ≤ v < 5.10.1565.36.1 rc16.1 rc26.1 rc36.1 rc46.1 rc56ac0aec6b0a651d64eef759fddf17d9145b51033
Vendor states this is fixed in 24cc679abbf31477d0cc6106ec83c2fbae6b3cdf (fixed)
Vendor states this is fixed in 5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3 (fixed)
Vendor states this is fixed in 6365569d62a75ddf53fb0c2936c16587a365984c (fixed)
Vendor states this is fixed in b8ebf250997c5fb253582f42bfe98673801ebebd (fixed)
Vendor states this is fixed in fdd57c20d4408cac3c3c535c120d244e083406c9 (fixed)
Vendor states this is fixed in 5.10.156 (unaffected)
Vendor states this is fixed in 5.15.80 (unaffected)
Vendor states this is fixed in 5.3 (unaffected)
Vendor states this is fixed in 5.4.225 (unaffected)
Vendor states this is fixed in 6.0.10 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/24cc679abbf31477d0cc6106ec83c2fbae6b3cdf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6365569d62a75ddf53fb0c2936c16587a365984c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b8ebf250997c5fb253582f42bfe98673801ebebd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fdd57c20d4408cac3c3c535c120d244e083406c9

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card