CVE-2022-49208
MediumIn the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Prevent some integer underflows My static checker complains that: drivers/infiniband/hw/irdma/ctrl.c:3605 irdma_sc_ceq_init() warn: can subtract underflow 'info->dev->hmc_fpm_misc.max_ceqs'? It appears that "info->dev->hmc_fpm_misc.max_ceqs" comes from the firmware in irdma_sc_parse_fpm_query_buf() so, yes, there is a chance that it could be zero. Even if we trust the firmware, it's easy enough to change the condition just as a hardenning measure.
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-191CVE-2022-49208 is classified as CWE-191
See CWE-191 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
5.14
and later are affected. Fixed in
5.15.33,
5.16.19,
5.17.2,
5.18
and their respective stable series.
References
The following references provide additional information about CVE-2022-49208 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/6f6dbb819dfc1a35bcb8b709b5c83a3ea8beff75
-
PatchKernel patch commithttps://git.kernel.org/stable/c/7340c3675d7ac946f4019b84cd7c64ed542dfe4c
-
PatchKernel patch commithttps://git.kernel.org/stable/c/d52dab6e03550f9c97121b0c11c0a3ed78ee76a4
Frequently asked questions
-
What is CVE-2022-49208?
CVE-2022-49208 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.14 onward and has been patched in 5.15.33, 5.16.19, 5.17.2 and others. CVE-2022-49208 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49208?
CVE-2022-49208 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-49208?
Yes — CVE-2022-49208 has been patched. Fixed versions include 5.15.33, 5.16.19, 5.17.2 and others. If you are running Linux kernel 5.14 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49208 actively exploited?
No — CVE-2022-49208 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.