CVE-2022-49790

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

State
Published
Severity
Not scored
Published
May 1, 2025
Updated
May 11, 2026
Reserved
May 1, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6ac0aec6b0a651d64eef759fddf17d9145b51033 to before 5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3Affected
  • 6ac0aec6b0a651d64eef759fddf17d9145b51033 to before 24cc679abbf31477d0cc6106ec83c2fbae6b3cdfAffected
  • 6ac0aec6b0a651d64eef759fddf17d9145b51033 to before fdd57c20d4408cac3c3c535c120d244e083406c9Affected
  • 6ac0aec6b0a651d64eef759fddf17d9145b51033 to before 6365569d62a75ddf53fb0c2936c16587a365984cAffected
  • 6ac0aec6b0a651d64eef759fddf17d9145b51033 to before b8ebf250997c5fb253582f42bfe98673801ebebdAffected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.4.225 through 5.4.*Not affected
  • 5.10.156 through 5.10.*Not affected
  • 5.15.80 through 5.15.*Not affected
  • 6.0.10 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.