Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: mm/damon/reclaim: fix potential memory leak in damon_reclaim_init() damon_reclaim_init() allocates a memory chunk for ctx with damon_new_ctx(). When damon_select_ops() fails, ctx is not released, which will lead to a memory leak. We should release the ctx with damon_destroy_ctx() when damon_select_ops() fails to fix the memory leak.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.18, < 5.18.18 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/188043c7f4f2bd662f2a55957d684fffa543e600Patch
- https://git.kernel.org/stable/c/700aa4e11a3c4d2a44d06758db431a013d9e1b61Patch
- https://git.kernel.org/stable/c/9d3e9e1e0856f4c905bbb870f16f42ae72477071Patch
FAQ
What is CVE-2022-50088?
CVE-2022-50088 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: mm/damon/reclaim: fix potential memory leak in damon_reclaim_init() damon_reclaim_init() allocates a memory chunk for ctx with dam...
How severe is CVE-2022-50088?
CVE-2022-50088 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-50088?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.