{"id":"CVE-2026-53335","published":"2026-07-01T13:32:17Z","modified":"2026-07-01T13:32:17Z","title":"mm/damon/lru_sort: handle ctx allocation failure","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/lru_sort: handle ctx allocation failure\n\nDAMON_LRU_SORT allocates the damon_ctx object for its kdamond in its init\nfunction.  damon_lru_sort_enabled_store() wrongly assumes the allocation\nwill always succeed once tried.  If the damon_ctx allocation was failed,\ntherefore, code execution reaches to damon_commit_ctx() while 'ctx' is\nNULL.  As a result, it dereferences the NULL 'ctx' pointer.  Avoid the\nNULL dereference by returning -ENOMEM if 'ctx' is NULL.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0017,"percentile":0.06322,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6d48f15659395bf1381114f01be91bc68e0be46a","tags":[]},{"url":"https://git.kernel.org/stable/c/daab1996431a71f43219dcac48ecc9ad2aad3f1c","tags":[]},{"url":"https://git.kernel.org/stable/c/ab04340b5ae5d52c1d46b750538febcde9d889e7","tags":[]}],"priority":{"score":1.3,"factors":[{"name":"EPSS percentile","points":1.26}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c4a8e662c839ac0003e4781aa324cb2d68ed9cb1, < 6d48f15659395bf1381114f01be91bc68e0be46a",">= c4a8e662c839ac0003e4781aa324cb2d68ed9cb1, < daab1996431a71f43219dcac48ecc9ad2aad3f1c",">= c4a8e662c839ac0003e4781aa324cb2d68ed9cb1, < ab04340b5ae5d52c1d46b750538febcde9d889e7"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-40969","exploited":false,"provenance":"source"}}