# CVE-2022-49206: RDMA/mlx5: Fix memory leak in error flow for subscribe event routine

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Published: 2025-02-26T01:55:45.685Z
- Modified: 2026-06-17T05:17:22.800Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7597385371425febdaa8c6a1da3625d4ffff16f5 before 0174a89663a5ef83617da15bf24c0af2f62b6c7f; from 7597385371425febdaa8c6a1da3625d4ffff16f5 before c98d903ff9e79c210beddea4e6bc15ac38e25aa5; from 7597385371425febdaa8c6a1da3625d4ffff16f5 before 8dd392e352d3269938fea32061a74655a613f929; from 7597385371425febdaa8c6a1da3625d4ffff16f5 before d66498507801fd9a20307a15a0814a0a016c3cde; from 7597385371425febdaa8c6a1da3625d4ffff16f5 before 414b4e8738484379f18d6c4e780787c80dbf8a2c; from 7597385371425febdaa8c6a1da3625d4ffff16f5 before 087f9c3f2309ed183f7e4b85ae57121d8663224d; 5.3 (not affected: before 5.3; from 5.4.189 up to 5.4.*; from 5.10.110 up to 5.10.*; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 5.3 before 5.4.189; from 5.5 before 5.10.110; from 5.11 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/0174a89663a5ef83617da15bf24c0af2f62b6c7f> (patch)
- <https://git.kernel.org/stable/c/c98d903ff9e79c210beddea4e6bc15ac38e25aa5> (patch)
- <https://git.kernel.org/stable/c/8dd392e352d3269938fea32061a74655a613f929> (patch)
- <https://git.kernel.org/stable/c/d66498507801fd9a20307a15a0814a0a016c3cde> (patch)
- <https://git.kernel.org/stable/c/414b4e8738484379f18d6c4e780787c80dbf8a2c> (patch)
- <https://git.kernel.org/stable/c/087f9c3f2309ed183f7e4b85ae57121d8663224d> (patch)

## Sources

- CVE List: [CVE-2022-49206](https://www.cve.org/CVERecord?id=CVE-2022-49206), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49206](https://nvd.nist.gov/vuln/detail/CVE-2022-49206), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49206 · Whole record: https://cve.day/CVE-2022-49206.json · Rebuilt by cve.day 2026-11-25T22:58:20.284Z
