CVE-2022-49790
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-908CVE-2022-49790 is classified as CWE-908
See CWE-908 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
5.3
and later are affected. Fixed in
5.4.225,
5.10.156,
5.15.80,
6.0.10,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-49790 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/24cc679abbf31477d0cc6106ec83c2fbae6b3cdf
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5d53797ce7ce8fb1d95a5bebc5efa9418c4217a3
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6365569d62a75ddf53fb0c2936c16587a365984c
Frequently asked questions
-
What is CVE-2022-49790?
CVE-2022-49790 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.3 onward and has been patched in 5.4.225, 5.10.156, 5.15.80 and others. CVE-2022-49790 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49790?
CVE-2022-49790 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49790?
Yes — CVE-2022-49790 has been patched. Fixed versions include 5.4.225, 5.10.156, 5.15.80 and others. If you are running Linux kernel 5.3 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49790 actively exploited?
No — CVE-2022-49790 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.