Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Fix memory leak in error flow for subscribe event routine In case the second xa_insert() fails, the obj_event is not released. Fix the error unwind flow to free that memory to avoid a memory leak.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7597385371425febdaa8c6a1da3625d4ffff16f5 to < 0174a89663a5ef83617da15bf24c0af2f62b6c7faffected7597385371425febdaa8c6a1da3625d4ffff16f5 to < c98d903ff9e79c210beddea4e6bc15ac38e25aa5affected7597385371425febdaa8c6a1da3625d4ffff16f5 to < 8dd392e352d3269938fea32061a74655a613f929affected7597385371425febdaa8c6a1da3625d4ffff16f5 to < d66498507801fd9a20307a15a0814a0a016c3cdeaffected7597385371425febdaa8c6a1da3625d4ffff16f5 to < 414b4e8738484379f18d6c4e780787c80dbf8a2caffected7597385371425febdaa8c6a1da3625d4ffff16f5 to < 087f9c3f2309ed183f7e4b85ae57121d8663224daffected
Linux Linux
Default version status: affected
5.3affected0 to < 5.3unaffected5.4.189 to ≤ 5.4.*unaffected5.10.110 to ≤ 5.10.*unaffected5.15.33 to ≤ 5.15.*unaffected5.16.19 to ≤ 5.16.*unaffected5.17.2 to ≤ 5.17.*unaffected5.18 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/0174a89663a5ef83617da15bf24c0af2f62b6c7f ↗
- https://git.kernel.org/stable/c/c98d903ff9e79c210beddea4e6bc15ac38e25aa5 ↗
- https://git.kernel.org/stable/c/8dd392e352d3269938fea32061a74655a613f929 ↗
- https://git.kernel.org/stable/c/d66498507801fd9a20307a15a0814a0a016c3cde ↗
- https://git.kernel.org/stable/c/414b4e8738484379f18d6c4e780787c80dbf8a2c ↗
- https://git.kernel.org/stable/c/087f9c3f2309ed183f7e4b85ae57121d8663224d ↗