CVE-2022-50088

mm/damon/reclaim: fix potential memory leak in damon_reclaim_init()

published June 18, 2025

CVSS
—
EPSS
0%
Percentile
8.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00191 · 8.3th percentile
Published
2025-06-18T11:02Z
EPSS history
Timeline
  • 18 JUN 11:02Z
    mm/damon/reclaim: fix potential memory leak in damon_reclaim_init()
    cvelistv5