{"id":"CVE-2022-50088","title":"mm/damon/reclaim: fix potential memory leak in damon_reclaim_init()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/reclaim: fix potential memory leak in damon_reclaim_init()\n\ndamon_reclaim_init() allocates a memory chunk for ctx with\ndamon_new_ctx().  When damon_select_ops(…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 4d69c3457821100a39fa8c6e0c23ed910bb6c29d < 9d3e9e1e0856f4c905bbb870f16f42ae72477071","Linux >= 4d69c3457821100a39fa8c6e0c23ed910bb6c29d < 700aa4e11a3c4d2a44d06758db431a013d9e1b61","Linux >= 4d69c3457821100a39fa8c6e0c23ed910bb6c29d < 188043c7f4f2bd662f2a55957d684fffa543e600","Linux 5.18"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T19:54:17.313313Z"},"published":"2025-06-18","updated":"2026-11-05","sourceUpdated":"2026-11-05T20:00:16.612Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2022-50088","references":[{"url":"https://git.kernel.org/stable/c/9d3e9e1e0856f4c905bbb870f16f42ae72477071"},{"url":"https://git.kernel.org/stable/c/700aa4e11a3c4d2a44d06758db431a013d9e1b61"},{"url":"https://git.kernel.org/stable/c/188043c7f4f2bd662f2a55957d684fffa543e600"}],"tags":["cve.org"],"epss":0.00191,"epssPercentile":0.08781,"ingestedAt":"2026-11-05T22:38:31.649Z","slug":"CVE-2022-50088","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/reclaim: fix potential memory leak in damon_reclaim_init()\n\ndamon_reclaim_init() allocates a memory chunk for ctx with\ndamon_new_ctx().  When damon_select_ops() fails, ctx is not released,\nwhich will lead to a memory leak.\n\nWe should release the ctx with damon_destroy_ctx() when damon_select_ops()\nfails to fix the memory leak.\n\n## Affected\n\n- `Linux >= 4d69c3457821100a39fa8c6e0c23ed910bb6c29d < 9d3e9e1e0856f4c905bbb870f16f42ae72477071`\n- `Linux >= 4d69c3457821100a39fa8c6e0c23ed910bb6c29d < 700aa4e11a3c4d2a44d06758db431a013d9e1b61`\n- `Linux >= 4d69c3457821100a39fa8c6e0c23ed910bb6c29d < 188043c7f4f2bd662f2a55957d684fffa543e600`\n- `Linux 5.18`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}