CVE-2026-53335

mm/damon/lru_sort: handle ctx allocation failure

published July 1, 2026

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

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/lru_sort: handle ctx allocation failure

DAMON_LRU_SORT allocates the damon_ctx object for its kdamond in its init

function. damon_lru_sort_enabled_store() wrongly assumes the allocation

will always succeed once tried. If the damon_ctx allocation was failed,

therefore, code execution reaches to damon_commit_ctx() while 'ctx' is

NULL. As a result, it dereferences the NULL 'ctx' pointer. Avoid the

NULL dereference by returning -ENOMEM if 'ctx' is NULL.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00126 · 2.1th percentile
Published
2026-07-01T13:32Z
EPSS history
Timeline
  • 01 JUL 13:32Z
    mm/damon/lru_sort: handle ctx allocation failure
    cvelistv5