CVEvulnerability

CVE-2022-49790

5.5 MEDIUM Published 2025-05-01 Modified 2026-06-17 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