0.0
NA
CVE-2026-68164
mm/damon/core: disallow overlapping input ranges for damon_set_regions()
Description

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: disallow overlapping input ranges for damon_set_regions() damon_set_regions() assumes the input ranges are sorted by the address and don't overlap each other. Hence the assumption was initially to be explicitly validated. But commit 97d482f4592f ("mm/damon/sysfs: reuse damon_set_regions() for regions setting") has mistakenly removed the validation. This can make DAMON behave in unexpected ways. At the best, the monitoring results snapshot will just look weird since there will be overlapping regions. DAMOS will also work weirdly, applying the same action multiple times for overlapping regions, and make DAMOS quota weird. More seriously, depending on the setup and regions updates sequence, negative size regions can be made. It will trigger WARN_ONCE() if the kernel is built with CONFIG_DAMON_DEBUG_SANITY=y. Depending on the monitoring results, the negative size region can further trigger division by zero in damon_merge_two_regions(). Note that some of the consequences including the WARN_ONCE() and the divide by zero depend on commits that were introduced after the root cause commit 97d482f4592f ("mm/damon/sysfs: reuse damon_set_regions() for regions setting"). Fix the problems by checking the assumption and returning an error if the input ranges don't meet the assumption. The issue was discovered [1] by Sashiko.

INFO

Published Date :

Aug. 10, 2026, 1:20 p.m.

Last Modified :

Aug. 17, 2026, 5:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-68164 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Validate input ranges for damon_set_regions() to prevent unexpected behavior and errors.
  • Apply the kernel patch that fixes damon_set_regions() validation.
  • Ensure input ranges are sorted and non-overlapping.
  • Avoid negative size regions by validating input.
  • Update the kernel to the corrected version.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-68164 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-68164 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-68164 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-68164 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '4b4a3e7ef7bb622237495db9ba4dfd7417d6530e', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '6ce0db97fb37ab8cf8596edca0e3de8618ab009a', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': 'e33adf96afb5883f84b0d98747976bde293e33cb', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '954157679ec34661c2e87e7eb796104a797c32db', 'versionType': 'git'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.19', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '4b4a3e7ef7bb622237495db9ba4dfd7417d6530e', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '6ce0db97fb37ab8cf8596edca0e3de8618ab009a', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': 'e33adf96afb5883f84b0d98747976bde293e33cb', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '954157679ec34661c2e87e7eb796104a797c32db', 'versionType': 'git'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.19', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 10, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '4b4a3e7ef7bb622237495db9ba4dfd7417d6530e', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '6ce0db97fb37ab8cf8596edca0e3de8618ab009a', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': 'e33adf96afb5883f84b0d98747976bde293e33cb', 'versionType': 'git'}, {'status': 'affected', 'version': '97d482f4592fde2322c319f07bc54f3a0d37861c', 'lessThan': '954157679ec34661c2e87e7eb796104a797c32db', 'versionType': 'git'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.19'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.19', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: disallow overlapping input ranges for damon_set_regions() damon_set_regions() assumes the input ranges are sorted by the address and don't overlap each other. Hence the assumption was initially to be explicitly validated. But commit 97d482f4592f ("mm/damon/sysfs: reuse damon_set_regions() for regions setting") has mistakenly removed the validation. This can make DAMON behave in unexpected ways. At the best, the monitoring results snapshot will just look weird since there will be overlapping regions. DAMOS will also work weirdly, applying the same action multiple times for overlapping regions, and make DAMOS quota weird. More seriously, depending on the setup and regions updates sequence, negative size regions can be made. It will trigger WARN_ONCE() if the kernel is built with CONFIG_DAMON_DEBUG_SANITY=y. Depending on the monitoring results, the negative size region can further trigger division by zero in damon_merge_two_regions(). Note that some of the consequences including the WARN_ONCE() and the divide by zero depend on commits that were introduced after the root cause commit 97d482f4592f ("mm/damon/sysfs: reuse damon_set_regions() for regions setting"). Fix the problems by checking the assumption and returning an error if the input ranges don't meet the assumption. The issue was discovered [1] by Sashiko.
    Added Reference https://git.kernel.org/stable/c/06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd
    Added Reference https://git.kernel.org/stable/c/4b4a3e7ef7bb622237495db9ba4dfd7417d6530e
    Added Reference https://git.kernel.org/stable/c/6ce0db97fb37ab8cf8596edca0e3de8618ab009a
    Added Reference https://git.kernel.org/stable/c/954157679ec34661c2e87e7eb796104a797c32db
    Added Reference https://git.kernel.org/stable/c/e33adf96afb5883f84b0d98747976bde293e33cb
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.