CVE-2022-49208
EUVD-2022-5501826.02.2025, 07:00
In 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.Affected Products (NVD)
| Vendor | Product | Version |
|---|---|---|
| linux | linux_kernel | 5.14 ≤ 𝑥 < 5.15.33 |
| linux | linux_kernel | 5.16 ≤ 𝑥 < 5.16.19 |
| linux | linux_kernel | 5.17 ≤ 𝑥 < 5.17.2 |
𝑥
= Vulnerable software versions
Debian Releases
openSUSE / SLES Releases
openSUSE Product | |||||
|---|---|---|---|---|---|
| cluster-md-kmp-default |
| ||||
| dlm-kmp-default |
| ||||
| gfs2-kmp-default |
| ||||
| kernel-64kb |
| ||||
| kernel-default |
| ||||
| kernel-default-base |
| ||||
| kernel-docs |
| ||||
| kernel-macros |
| ||||
| kernel-obs-build |
| ||||
| kernel-source |
| ||||
| kernel-syms |
| ||||
| kernel-zfcpdump |
| ||||
| ocfs2-kmp-default |
| ||||
| reiserfs-kmp-default |
|
Common Weakness Enumeration