{"id":"CVE-2026-68165","aliases":["CVE-2026-68165"],"related":[],"kind":"vulnerability","state":"published","title":"mm/damon/core: validate ranges in damon_set_regions()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: validate ranges in damon_set_regions()\n\nDAMON core logic assumes zero length regions don't exist.  However, a few\nDAMON API callers including DAMON_SYSFS, DAMON_RECLAIM and DAMON_LRU_SORT\nallow users to set empty monitoring target regions.  This could result in\nWARN_ONCE() on CONFIG_DAMON_DEBUG_SANITY enabled kernel, and\ndivide-by-zero from damon_merge_two_regions().\n\nFor example, the WANR_ONCE() can be triggered like below.\n\n    # grep DAMON_DEBUG_SANITY /boot/config-$(uname -r)\n    # CONFIG_DAMON_DEBUG_SANITY=y\n    # damo start\n    # cd /sys/kernel/mm/damon/admin/kdamonds/0\n    # echo 0 > contexts/0/targets/0/regions/0/start\n    # echo 0 > contexts/0/targets/0/regions/0/end\n    # echo commit > state\n    # dmesg\n    [....]\n    [   73.705780] ------------[ cut here ]------------\n    [   73.707552] start 0 >= end 0\n    [   73.708452] WARNING: mm/damon/core.c:359 at damon_new_region+0x6e/0x80, CPU#1: kdamond.0/758\n    [...]\n\nAll DAMON API callers eventually use damon_set_regions() to setup the\nregions.  Add the validation logic in the function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: validate ranges in damon_set_regions()\n\nDAMON core logic assumes zero length regions don't exist.  However, a few\nDAMON API callers including DAMON_SYSFS, DAMON_RECLAIM and DAMON_LRU_SORT\nallow users to set empty monitoring target regions.  This could result in\nWARN_ONCE() on CONFIG_DAMON_DEBUG_SANITY enabled kernel, and\ndivide-by-zero from damon_merge_two_regions().\n\nFor example, the WANR_ONCE() can be triggered like below.\n\n    # grep DAMON_DEBUG_SANITY /boot/config-$(uname -r)\n    # CONFIG_DAMON_DEBUG_SANITY=y\n    # damo start\n    # cd /sys/kernel/mm/damon/admin/kdamonds/0\n    # echo 0 > contexts/0/targets/0/regions/0/start\n    # echo 0 > contexts/0/targets/0/regions/0/end\n    # echo commit > state\n    # dmesg\n    [....]\n    [   73.705780] ------------[ cut here ]------------\n    [   73.707552] start 0 >= end 0\n    [   73.708452] WARNING: mm/damon/core.c:359 at damon_new_region+0x6e/0x80, CPU#1: kdamond.0/758\n    [...]\n\nAll DAMON API callers eventually use damon_set_regions() to setup the\nregions.  Add the validation logic in the function.","source":"cvelist"}],"published":"2026-08-10T11:59:33.152Z","modified":"2026-11-30T16:13:21.673Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"43b0536cb4710e7bb591edfda7e68a1c327a3409","fixed":"71cf8a3ee1c18cfa8b88cc14bac9c2f43dd29f9b","status":"affected"},{"type":"git","introduced":"43b0536cb4710e7bb591edfda7e68a1c327a3409","fixed":"b585facbafbb5cf117b37b1c75819ac046646c27","status":"affected"},{"type":"git","introduced":"43b0536cb4710e7bb591edfda7e68a1c327a3409","fixed":"c927b73a5694c735314ea10e7c81c07f9bd51ad7","status":"affected"},{"type":"git","introduced":"43b0536cb4710e7bb591edfda7e68a1c327a3409","fixed":"4b6f1d6d5d07855bd1bb9e64922b049062138bfa","status":"affected"},{"type":"git","introduced":"43b0536cb4710e7bb591edfda7e68a1c327a3409","fixed":"43aaddd0fa92010a68adeda7744c7cf497a1c8e9","status":"affected"},{"type":"git","introduced":"43b0536cb4710e7bb591edfda7e68a1c327a3409","fixed":"1292c0ecb1caefb8ca064a3639d5673991e8810c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.148","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.101","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.42","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.6","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/71cf8a3ee1c18cfa8b88cc14bac9c2f43dd29f9b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b585facbafbb5cf117b37b1c75819ac046646c27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c927b73a5694c735314ea10e7c81c07f9bd51ad7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b6f1d6d5d07855bd1bb9e64922b049062138bfa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43aaddd0fa92010a68adeda7744c7cf497a1c8e9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1292c0ecb1caefb8ca064a3639d5673991e8810c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:43:25.650Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-68165","url":"https://www.cve.org/CVERecord?id=CVE-2026-68165","licence":"CVE Terms of Use","modified":"2026-11-06T16:44:59.951Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-68165","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68165","licence":"Public domain","modified":"2026-11-30T16:13:21.673Z"}],"updatedAt":"2026-11-30T16:17:31.223Z","epss":{"score":0.00212,"percentile":0.12197,"date":"2026-12-01T12:00:22.000Z"}}