
Cloud Vulnerability DB
A community-led vulnerabilities database
In the Linux kernel, a vulnerability was discovered in the ice driver's IDA (ID Allocator) handling. The issue involves an attempt to free the aux_idx IDA in the remove path regardless of whether it was allocated or not. This vulnerability was identified and fixed in 2021, affecting systems using the Intel ICE network driver (Kernel Git).
The vulnerability stems from an improper handling of the aux_idx IDA in the driver's remove path. The issue occurs because the driver attempts to free the IDA regardless of its allocation status. While this could be controlled by the RDMA status bit, such an approach would be insufficient since the IDA might be allocated during probe time when RDMA support is detected, but the driver could later enter a state where RDMA is not supported (Kernel Git).
This vulnerability can potentially cause a system crash when unloading the driver on systems that do not initialize support for RDMA. Additionally, if not properly handled, it could lead to memory leaks in scenarios where RDMA support changes state after initial allocation (Kernel Git).
The vulnerability is triggered during the driver removal process and requires the ability to load and unload the ice driver. It specifically affects systems using the Intel ICE network driver, particularly in configurations where RDMA support may change state (Kernel Git).
The issue has been fixed by initializing aux_idx to an invalid value (-1) during probe time and adding a validation check before freeing the IDA. The fix ensures that ida_free is only called when aux_idx has a valid value (>= 0). This prevents both the crash scenario and potential memory leaks (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."