Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
RDMA/mlx5: Fix UMR XLT cleanup on ODP populate failure
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.
References
Affected products
Linux
- ==6.16
- <6.16
- =<*
- <1eae35b37923cb71b0cb5136d00671440d488b9f
- =<6.18.*
- =<7.1.*
- <ffa85a2c197935ace6f1634ad9eb0a44bc615670
- <9619909d4869afe720904c6888a289b9ac3055b8