CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's RDMA mlx5 driver, specifically in the handling of XLT buffer cleanup during error conditions in the ODP population process. This oversight can lead to memory leaks and potential deadlocks due to a locked mutex, which may impact system stability and performance. Organizations using Linux systems with RDMA mlx5 capabilities should prioritize addressing this issue to ensure optimal resource management and prevent potential disruptions.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix UMR XLT cleanup on ODP populate failure mlx5r_umr_update_xlt() allocates and DMA maps an XLT buffer with mlx5r_umr_create_xlt(). The buffer is released by the common cleanup path through mlx5r_umr_unmap_free_xlt(). After mlx5_odp_populate_xlt() became fallible, its error path returned directly and skipped that cleanup. This leaks the XLT DMA mapping and buffer. If the emergency XLT page was used, it also leaves xlt_emergency_page_mutex locked. Break out of the loop so execution falls through the existing cleanup path.