{"api_version":"1","generated_at":"2026-08-25T09:23:58+00:00","cve":"CVE-2026-68164","urls":{"html":"https://cve.report/CVE-2026-68164","api":"https://cve.report/api/cve/CVE-2026-68164.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-68164","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-68164"},"summary":{"title":"mm/damon/core: disallow overlapping input ranges for damon_set_regions()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: disallow overlapping input ranges for damon_set_regions()\n\ndamon_set_regions() assumes the input ranges are sorted by the address and\ndon't overlap each other.  Hence the assumption was initially to be\nexplicitly validated.  But commit 97d482f4592f (\"mm/damon/sysfs: reuse\ndamon_set_regions() for regions setting\") has mistakenly removed the\nvalidation.\n\nThis can make DAMON behave in unexpected ways.  At the best, the\nmonitoring results snapshot will just look weird since there will be\noverlapping regions.  DAMOS will also work weirdly, applying the same\naction multiple times for overlapping regions, and make DAMOS quota weird.\nMore seriously, depending on the setup and regions updates sequence,\nnegative size regions can be made.  It will trigger WARN_ONCE() if the\nkernel is built with CONFIG_DAMON_DEBUG_SANITY=y.  Depending on the\nmonitoring results, the negative size region can further trigger division\nby zero in damon_merge_two_regions().\n\nNote that some of the consequences including the WARN_ONCE() and the\ndivide by zero depend on commits that were introduced after the root cause\ncommit 97d482f4592f (\"mm/damon/sysfs: reuse damon_set_regions() for\nregions setting\").\n\nFix the problems by checking the assumption and returning an error if\nthe input ranges don't meet the assumption.\n\nThe issue was discovered [1] by Sashiko.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-10 13:20:02","updated_at":"2026-08-19 17:20:33"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/954157679ec34661c2e87e7eb796104a797c32db","name":"https://git.kernel.org/stable/c/954157679ec34661c2e87e7eb796104a797c32db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd","name":"https://git.kernel.org/stable/c/06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a5c453fffb6f2ce75fc10b5d8bc475f1758010bd","name":"https://git.kernel.org/stable/c/a5c453fffb6f2ce75fc10b5d8bc475f1758010bd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e33adf96afb5883f84b0d98747976bde293e33cb","name":"https://git.kernel.org/stable/c/e33adf96afb5883f84b0d98747976bde293e33cb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6ce0db97fb37ab8cf8596edca0e3de8618ab009a","name":"https://git.kernel.org/stable/c/6ce0db97fb37ab8cf8596edca0e3de8618ab009a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4b4a3e7ef7bb622237495db9ba4dfd7417d6530e","name":"https://git.kernel.org/stable/c/4b4a3e7ef7bb622237495db9ba4dfd7417d6530e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-68164","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68164","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 97d482f4592fde2322c319f07bc54f3a0d37861c a5c453fffb6f2ce75fc10b5d8bc475f1758010bd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 97d482f4592fde2322c319f07bc54f3a0d37861c 4b4a3e7ef7bb622237495db9ba4dfd7417d6530e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 97d482f4592fde2322c319f07bc54f3a0d37861c 06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 97d482f4592fde2322c319f07bc54f3a0d37861c 6ce0db97fb37ab8cf8596edca0e3de8618ab009a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 97d482f4592fde2322c319f07bc54f3a0d37861c e33adf96afb5883f84b0d98747976bde293e33cb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 97d482f4592fde2322c319f07bc54f3a0d37861c 954157679ec34661c2e87e7eb796104a797c32db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.183 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.148 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.101 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.42 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.6 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"68164","cve":"CVE-2026-68164","epss":"0.002090000","percentile":"0.113400000","score_date":"2026-08-19","updated_at":"2026-08-20 00:13:09"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/damon/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a5c453fffb6f2ce75fc10b5d8bc475f1758010bd","status":"affected","version":"97d482f4592fde2322c319f07bc54f3a0d37861c","versionType":"git"},{"lessThan":"4b4a3e7ef7bb622237495db9ba4dfd7417d6530e","status":"affected","version":"97d482f4592fde2322c319f07bc54f3a0d37861c","versionType":"git"},{"lessThan":"06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd","status":"affected","version":"97d482f4592fde2322c319f07bc54f3a0d37861c","versionType":"git"},{"lessThan":"6ce0db97fb37ab8cf8596edca0e3de8618ab009a","status":"affected","version":"97d482f4592fde2322c319f07bc54f3a0d37861c","versionType":"git"},{"lessThan":"e33adf96afb5883f84b0d98747976bde293e33cb","status":"affected","version":"97d482f4592fde2322c319f07bc54f3a0d37861c","versionType":"git"},{"lessThan":"954157679ec34661c2e87e7eb796104a797c32db","status":"affected","version":"97d482f4592fde2322c319f07bc54f3a0d37861c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/damon/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.19"},{"lessThan":"5.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.183","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.148","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.101","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.42","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.183","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.148","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.101","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.42","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.6","versionStartIncluding":"5.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"5.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: disallow overlapping input ranges for damon_set_regions()\n\ndamon_set_regions() assumes the input ranges are sorted by the address and\ndon't overlap each other.  Hence the assumption was initially to be\nexplicitly validated.  But commit 97d482f4592f (\"mm/damon/sysfs: reuse\ndamon_set_regions() for regions setting\") has mistakenly removed the\nvalidation.\n\nThis can make DAMON behave in unexpected ways.  At the best, the\nmonitoring results snapshot will just look weird since there will be\noverlapping regions.  DAMOS will also work weirdly, applying the same\naction multiple times for overlapping regions, and make DAMOS quota weird.\nMore seriously, depending on the setup and regions updates sequence,\nnegative size regions can be made.  It will trigger WARN_ONCE() if the\nkernel is built with CONFIG_DAMON_DEBUG_SANITY=y.  Depending on the\nmonitoring results, the negative size region can further trigger division\nby zero in damon_merge_two_regions().\n\nNote that some of the consequences including the WARN_ONCE() and the\ndivide by zero depend on commits that were introduced after the root cause\ncommit 97d482f4592f (\"mm/damon/sysfs: reuse damon_set_regions() for\nregions setting\").\n\nFix the problems by checking the assumption and returning an error if\nthe input ranges don't meet the assumption.\n\nThe issue was discovered [1] by Sashiko."}],"providerMetadata":{"dateUpdated":"2026-08-19T16:30:34.916Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a5c453fffb6f2ce75fc10b5d8bc475f1758010bd"},{"url":"https://git.kernel.org/stable/c/4b4a3e7ef7bb622237495db9ba4dfd7417d6530e"},{"url":"https://git.kernel.org/stable/c/06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd"},{"url":"https://git.kernel.org/stable/c/6ce0db97fb37ab8cf8596edca0e3de8618ab009a"},{"url":"https://git.kernel.org/stable/c/e33adf96afb5883f84b0d98747976bde293e33cb"},{"url":"https://git.kernel.org/stable/c/954157679ec34661c2e87e7eb796104a797c32db"}],"title":"mm/damon/core: disallow overlapping input ranges for damon_set_regions()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-68164","datePublished":"2026-08-10T11:59:31.670Z","dateReserved":"2026-07-30T09:28:09.372Z","dateUpdated":"2026-08-19T16:30:34.916Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-10 13:20:02","lastModifiedDate":"2026-08-19 17:20:33","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"68164","Ordinal":"1","Title":"mm/damon/core: disallow overlapping input ranges for damon_set_r","CVE":"CVE-2026-68164","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"68164","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: disallow overlapping input ranges for damon_set_regions()\n\ndamon_set_regions() assumes the input ranges are sorted by the address and\ndon't overlap each other.  Hence the assumption was initially to be\nexplicitly validated.  But commit 97d482f4592f (\"mm/damon/sysfs: reuse\ndamon_set_regions() for regions setting\") has mistakenly removed the\nvalidation.\n\nThis can make DAMON behave in unexpected ways.  At the best, the\nmonitoring results snapshot will just look weird since there will be\noverlapping regions.  DAMOS will also work weirdly, applying the same\naction multiple times for overlapping regions, and make DAMOS quota weird.\nMore seriously, depending on the setup and regions updates sequence,\nnegative size regions can be made.  It will trigger WARN_ONCE() if the\nkernel is built with CONFIG_DAMON_DEBUG_SANITY=y.  Depending on the\nmonitoring results, the negative size region can further trigger division\nby zero in damon_merge_two_regions().\n\nNote that some of the consequences including the WARN_ONCE() and the\ndivide by zero depend on commits that were introduced after the root cause\ncommit 97d482f4592f (\"mm/damon/sysfs: reuse damon_set_regions() for\nregions setting\").\n\nFix the problems by checking the assumption and returning an error if\nthe input ranges don't meet the assumption.\n\nThe issue was discovered [1] by Sashiko.","Type":"Description","Title":"mm/damon/core: disallow overlapping input ranges for damon_set_r"}]}}}