{"id":"CVE-2022-50088","aliases":["CVE-2022-50088"],"related":[],"kind":"vulnerability","state":"published","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() 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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() 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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mm/damon/reclaim: se corrige una posible fuga de memoria en damon_reclaim_init(). damon_reclaim_init() asigna un fragmento de memoria para ctx con damon_new_ctx(). Cuando damon_select_ops() falla, ctx no se libera, lo que provoca una fuga de memoria. Deberíamos liberar ctx con damon_destroy_ctx() cuando damon_select_ops() no solucione la fuga de memoria.","source":"nvd"}],"published":"2025-06-18T11:02:28.802Z","modified":"2026-11-05T20:17:23.250Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"4d69c3457821100a39fa8c6e0c23ed910bb6c29d","fixed":"9d3e9e1e0856f4c905bbb870f16f42ae72477071","status":"affected"},{"type":"git","introduced":"4d69c3457821100a39fa8c6e0c23ed910bb6c29d","fixed":"700aa4e11a3c4d2a44d06758db431a013d9e1b61","status":"affected"},{"type":"git","introduced":"4d69c3457821100a39fa8c6e0c23ed910bb6c29d","fixed":"188043c7f4f2bd662f2a55957d684fffa543e600","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"5.18.18","lastAffected":"5.18.*","status":"unaffected"},{"type":"semver","introduced":"5.19.2","lastAffected":"5.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.18","fixed":"5.18.18"},{"status":"affected","introduced":"5.19","fixed":"5.19.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9d3e9e1e0856f4c905bbb870f16f42ae72477071","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/700aa4e11a3c4d2a44d06758db431a013d9e1b61","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/188043c7f4f2bd662f2a55957d684fffa543e600","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T19:54:17.313Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50088","url":"https://www.cve.org/CVERecord?id=CVE-2022-50088","licence":"CVE Terms of Use","modified":"2026-11-05T20:00:16.612Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50088","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50088","licence":"Public domain","modified":"2026-11-05T20:17:23.250Z"}],"updatedAt":"2026-11-25T22:58:21.047Z","epss":{"score":0.002,"percentile":0.10328,"date":"2026-12-01T12:00:22.000Z"}}