CVE-2022-49206Published Feb 26, 2025 · Feb 26Updated Oct 28
RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7597385371425febdaa8c6a1da3625d4ffff16f5 · < 087f9c3f2309ed183f7e4b85ae57121d8663224d| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's RDMA/mlx5 subscribe-event routine can leak memory if its second xa_insert() call fails. The input does not specify whether an attacker can trigger this condition, or any access or user-interaction requirements.
Engineers running Linux kernels with RDMA/mlx5 should check their versions; affected versions are not specified.