{"id":"CVE-2026-53335","aliases":["CVE-2026-53335"],"related":[],"kind":"vulnerability","state":"published","title":"mm/damon/lru_sort: handle ctx allocation failure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-07-01T13:32:17.953Z","modified":"2026-07-23T21:33:33.100Z","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-476"],"affected":[{"ranges":[{"type":"git","introduced":"c4a8e662c839ac0003e4781aa324cb2d68ed9cb1","fixed":"6d48f15659395bf1381114f01be91bc68e0be46a","status":"affected"},{"type":"git","introduced":"c4a8e662c839ac0003e4781aa324cb2d68ed9cb1","fixed":"daab1996431a71f43219dcac48ecc9ad2aad3f1c","status":"affected"},{"type":"git","introduced":"c4a8e662c839ac0003e4781aa324cb2d68ed9cb1","fixed":"ab04340b5ae5d52c1d46b750538febcde9d889e7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.36","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.13","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","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":"6.18","fixed":"6.18.36"},{"status":"affected","introduced":"6.19","fixed":"7.0.13"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6d48f15659395bf1381114f01be91bc68e0be46a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/daab1996431a71f43219dcac48ecc9ad2aad3f1c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab04340b5ae5d52c1d46b750538febcde9d889e7","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-53335","url":"https://www.cve.org/CVERecord?id=CVE-2026-53335","licence":"CVE Terms of Use","modified":"2026-07-01T13:32:17.953Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-53335","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53335","licence":"Public domain","modified":"2026-07-23T21:33:33.100Z"}],"updatedAt":"2026-11-25T22:59:26.895Z","epss":{"score":0.00126,"percentile":0.02469,"date":"2026-12-01T12:00:22.000Z"}}