CVE-2022-49206
RDMA/mlx5: Fix memory leak in error flow for subscribe event routine
MEDIUM 5.5
At a glance
- Source
- NVD
- EPSS
- EPSS 0.27 % · percentile 19 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | CISA-ADP |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
European references
- ENISA EUVD · EUVD-2022-55020
- GCVE · GCVE-0-2022-49206
CERT-FR advisories
- CERTFR-2025-AVI-1057 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0336 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0307 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0252 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.3 < 5.4.189cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.110cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.33cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.16.19cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.17 < 5.17.2
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 7597385371425febdaa8c6a1da3625d4ffff16f5 < 0174a89663a5ef83617da15bf24c0af2f62b6c7f ; affected 7597385371425febdaa8c6a1da3625d4ffff16f5 < c98d903ff9e79c210beddea4e6bc15ac38e25aa5 ; affected 7597385371425febdaa8c6a1da3625d4ffff16f5 < 8dd392e352d3269938fea32061a74655a613f929 ; affected 7597385371425febdaa8c6a1da3625d4ffff16f5 < d66498507801fd9a20307a15a0814a0a016c3cde ; affected 7597385371425febdaa8c6a1da3625d4ffff16f5 < 414b4e8738484379f18d6c4e780787c80dbf8a2c ; affected 7597385371425febdaa8c6a1da3625d4ffff16f5 < 087f9c3f2309ed183f7e4b85ae57121d8663224d |
| Linux · Linux | affected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.189 ≤ 5.4.* ; unaffected 5.10.110 ≤ 5.10.* ; unaffected 5.15.33 ≤ 5.15.* ; unaffected 5.16.19 ≤ 5.16.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |