CVE-2026-68164 (GCVE-0-2026-68164)

Vulnerability from cvelistv5 – Published: 2026-08-10 11:59 – Updated: 2026-08-19 16:30
VLAI
Title
mm/damon/core: disallow overlapping input ranges for damon_set_regions()
Summary
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 97d482f4592fde2322c319f07bc54f3a0d37861c , < a5c453fffb6f2ce75fc10b5d8bc475f1758010bd (git)
Affected: 97d482f4592fde2322c319f07bc54f3a0d37861c , < 4b4a3e7ef7bb622237495db9ba4dfd7417d6530e (git)
Affected: 97d482f4592fde2322c319f07bc54f3a0d37861c , < 06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd (git)
Affected: 97d482f4592fde2322c319f07bc54f3a0d37861c , < 6ce0db97fb37ab8cf8596edca0e3de8618ab009a (git)
Affected: 97d482f4592fde2322c319f07bc54f3a0d37861c , < e33adf96afb5883f84b0d98747976bde293e33cb (git)
Affected: 97d482f4592fde2322c319f07bc54f3a0d37861c , < 954157679ec34661c2e87e7eb796104a797c32db (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.19
Unaffected: 0 , < 5.19 (semver)
Unaffected: 6.1.183 , ≤ 6.1.* (semver)
Unaffected: 6.6.148 , ≤ 6.6.* (semver)
Unaffected: 6.12.101 , ≤ 6.12.* (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "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\u0027t 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\u0027t 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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68164",
      "date": "2026-08-20",
      "epss": "0.00215",
      "percentile": "0.12135"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-68164\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-10T13:20:02.840\",\"lastModified\":\"2026-08-19T17:20:33.483\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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\u0027t 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\u0027t meet the assumption.\\n\\nThe issue was discovered [1] by Sashiko.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"mm/damon/core.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"97d482f4592fde2322c319f07bc54f3a0d37861c\",\"lessThan\":\"a5c453fffb6f2ce75fc10b5d8bc475f1758010bd\",\"versionType\":\"git\",\"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\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"mm/damon/core.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.19\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.19\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.183\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.148\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.101\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.42\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4b4a3e7ef7bb622237495db9ba4dfd7417d6530e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6ce0db97fb37ab8cf8596edca0e3de8618ab009a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/954157679ec34661c2e87e7eb796104a797c32db\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a5c453fffb6f2ce75fc10b5d8bc475f1758010bd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e33adf96afb5883f84b0d98747976bde293e33cb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-13T22:53:24+00:00",
      "cve": "CVE-2026-68164",
      "id": "CVE-2026-68164",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "184",
      "product_status:known_not_affected": "92",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: mm/damon/core: disallow overlapping input ranges for damon_set_regions()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68164.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-13T16:23:57Z",
      "cve": "CVE-2026-68164",
      "id": "CVE-2026-68164",
      "initial_release_date": "2026-08-13T16:23:57Z",
      "product_status:known_affected": "234",
      "product_status:known_not_affected": "62",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68164",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68164.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…