CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of mlx5_st_idx_data, where repeated allocation and deallocation of mkeys can lead to memory leaks, specifically one struct mlx5_st_idx_data per cycle. This can result in increased memory consumption over time, potentially degrading system performance. Organizations utilizing Linux with RDMA MRs should prioritize addressing this issue to prevent resource exhaustion and maintain system stability.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: free mlx5_st_idx_data on final dealloc Workloads that repeatedly allocate and release mkeys carrying TPH steering-tag hints (e.g. churning RDMA MRs) leak one struct mlx5_st_idx_data per cycle; kmemleak flags it as unreferenced and the kmalloc slab grows over time. When the last reference to an ST table entry is dropped, mlx5_st_dealloc_index() removed the entry from idx_xa but the backing mlx5_st_idx_data allocation was never freed. Free idx_data after the xa_erase() so the lifetime of the bookkeeping struct matches the lifetime of the ST entry it tracks.