
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-49208 is a vulnerability in the Linux kernel's RDMA/irdma driver that involves potential integer underflows. The issue was discovered in the irdma_sc_ceq_init() function within the drivers/infiniband/hw/irdma/ctrl.c file, where there was a possibility of integer underflow when handling the 'info->dev->hmc_fpm_misc.max_ceqs' value received from firmware (Kernel Git).
The vulnerability exists in the condition checks for ceq_id values against max_ceqs. The original code used a subtraction operation that could lead to an integer underflow if max_ceqs was zero. The issue was identified in multiple functions including irdma_sc_ceq_init(), irdma_sc_cq_create(), and irdma_sc_ccq_init(). The fix involved changing the comparison logic from 'value > (max - 1)' to 'value >= max' to prevent potential underflows (Kernel Git).
While the full impact is not explicitly detailed in the sources, the integer underflow vulnerability could potentially lead to validation bypass in the RDMA/irdma driver, affecting the handling of CEQ (Completion Event Queue) operations in the Linux kernel.
The vulnerability can be triggered when the firmware provides a zero value for max_ceqs in the irdma_sc_parse_fpm_query_buf() function. While this requires specific conditions to be met, the fix was implemented as a hardening measure even in cases where the firmware is trusted (Kernel Git).
The issue has been fixed in the Linux kernel through a patch that modifies the comparison logic in the affected functions. The fix was implemented by Dan Carpenter and reviewed by Shiraz Saleem, with the final sign-off from Jason Gunthorpe (Kernel Git).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."