CVE-2026-68165 (GCVE-0-2026-68165)

Vulnerability from cvelistv5 – Published: 2026-08-10 11:59 – Updated: 2026-08-19 16:30
VLAI
Title
mm/damon/core: validate ranges in damon_set_regions()
Summary
In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: validate ranges in damon_set_regions() DAMON core logic assumes zero length regions don't exist. However, a few DAMON API callers including DAMON_SYSFS, DAMON_RECLAIM and DAMON_LRU_SORT allow users to set empty monitoring target regions. This could result in WARN_ONCE() on CONFIG_DAMON_DEBUG_SANITY enabled kernel, and divide-by-zero from damon_merge_two_regions(). For example, the WANR_ONCE() can be triggered like below. # grep DAMON_DEBUG_SANITY /boot/config-$(uname -r) # CONFIG_DAMON_DEBUG_SANITY=y # damo start # cd /sys/kernel/mm/damon/admin/kdamonds/0 # echo 0 > contexts/0/targets/0/regions/0/start # echo 0 > contexts/0/targets/0/regions/0/end # echo commit > state # dmesg [....] [ 73.705780] ------------[ cut here ]------------ [ 73.707552] start 0 >= end 0 [ 73.708452] WARNING: mm/damon/core.c:359 at damon_new_region+0x6e/0x80, CPU#1: kdamond.0/758 [...] All DAMON API callers eventually use damon_set_regions() to setup the regions. Add the validation logic in the function.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 43b0536cb4710e7bb591edfda7e68a1c327a3409 , < 71cf8a3ee1c18cfa8b88cc14bac9c2f43dd29f9b (git)
Affected: 43b0536cb4710e7bb591edfda7e68a1c327a3409 , < b585facbafbb5cf117b37b1c75819ac046646c27 (git)
Affected: 43b0536cb4710e7bb591edfda7e68a1c327a3409 , < c927b73a5694c735314ea10e7c81c07f9bd51ad7 (git)
Affected: 43b0536cb4710e7bb591edfda7e68a1c327a3409 , < 4b6f1d6d5d07855bd1bb9e64922b049062138bfa (git)
Affected: 43b0536cb4710e7bb591edfda7e68a1c327a3409 , < 43aaddd0fa92010a68adeda7744c7cf497a1c8e9 (git)
Affected: 43b0536cb4710e7bb591edfda7e68a1c327a3409 , < 1292c0ecb1caefb8ca064a3639d5673991e8810c (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.16
Unaffected: 0 , < 5.16 (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": "71cf8a3ee1c18cfa8b88cc14bac9c2f43dd29f9b",
              "status": "affected",
              "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
              "versionType": "git"
            },
            {
              "lessThan": "b585facbafbb5cf117b37b1c75819ac046646c27",
              "status": "affected",
              "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
              "versionType": "git"
            },
            {
              "lessThan": "c927b73a5694c735314ea10e7c81c07f9bd51ad7",
              "status": "affected",
              "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
              "versionType": "git"
            },
            {
              "lessThan": "4b6f1d6d5d07855bd1bb9e64922b049062138bfa",
              "status": "affected",
              "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
              "versionType": "git"
            },
            {
              "lessThan": "43aaddd0fa92010a68adeda7744c7cf497a1c8e9",
              "status": "affected",
              "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
              "versionType": "git"
            },
            {
              "lessThan": "1292c0ecb1caefb8ca064a3639d5673991e8810c",
              "status": "affected",
              "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
              "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.16"
            },
            {
              "lessThan": "5.16",
              "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.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.148",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.101",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027t 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 \u003e contexts/0/targets/0/regions/0/start\n    # echo 0 \u003e contexts/0/targets/0/regions/0/end\n    # echo commit \u003e state\n    # dmesg\n    [....]\n    [   73.705780] ------------[ cut here ]------------\n    [   73.707552] start 0 \u003e= 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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-19T16:30:37.581Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/71cf8a3ee1c18cfa8b88cc14bac9c2f43dd29f9b"
        },
        {
          "url": "https://git.kernel.org/stable/c/b585facbafbb5cf117b37b1c75819ac046646c27"
        },
        {
          "url": "https://git.kernel.org/stable/c/c927b73a5694c735314ea10e7c81c07f9bd51ad7"
        },
        {
          "url": "https://git.kernel.org/stable/c/4b6f1d6d5d07855bd1bb9e64922b049062138bfa"
        },
        {
          "url": "https://git.kernel.org/stable/c/43aaddd0fa92010a68adeda7744c7cf497a1c8e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/1292c0ecb1caefb8ca064a3639d5673991e8810c"
        }
      ],
      "title": "mm/damon/core: validate ranges in damon_set_regions()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-68165",
    "datePublished": "2026-08-10T11:59:33.152Z",
    "dateReserved": "2026-07-30T09:28:09.372Z",
    "dateUpdated": "2026-08-19T16:30:37.581Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-68165",
      "date": "2026-09-20",
      "epss": "0.00205",
      "percentile": "0.10918"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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": "71cf8a3ee1c18cfa8b88cc14bac9c2f43dd29f9b",
                    "status": "affected",
                    "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b585facbafbb5cf117b37b1c75819ac046646c27",
                    "status": "affected",
                    "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c927b73a5694c735314ea10e7c81c07f9bd51ad7",
                    "status": "affected",
                    "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4b6f1d6d5d07855bd1bb9e64922b049062138bfa",
                    "status": "affected",
                    "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "43aaddd0fa92010a68adeda7744c7cf497a1c8e9",
                    "status": "affected",
                    "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "1292c0ecb1caefb8ca064a3639d5673991e8810c",
                    "status": "affected",
                    "version": "43b0536cb4710e7bb591edfda7e68a1c327a3409",
                    "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.16"
                  },
                  {
                    "lessThan": "5.16",
                    "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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\u0027t 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 \u003e contexts/0/targets/0/regions/0/start\n    # echo 0 \u003e contexts/0/targets/0/regions/0/end\n    # echo commit \u003e state\n    # dmesg\n    [....]\n    [   73.705780] ------------[ cut here ]------------\n    [   73.707552] start 0 \u003e= 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."
          }
        ],
        "id": "CVE-2026-68165",
        "lastModified": "2026-08-19T17:20:33.833",
        "metrics": {},
        "published": "2026-08-10T13:20:02.973",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/1292c0ecb1caefb8ca064a3639d5673991e8810c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/43aaddd0fa92010a68adeda7744c7cf497a1c8e9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4b6f1d6d5d07855bd1bb9e64922b049062138bfa"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/71cf8a3ee1c18cfa8b88cc14bac9c2f43dd29f9b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b585facbafbb5cf117b37b1c75819ac046646c27"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c927b73a5694c735314ea10e7c81c07f9bd51ad7"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-11T13:42:09+00:00",
      "cve": "CVE-2026-68165",
      "id": "CVE-2026-68165",
      "initial_release_date": "2026-08-10T00:00:00+00:00",
      "product_status:known_affected": "232",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: mm/damon/core: validate ranges in damon_set_regions()",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-68165.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "low",
      "current_release_date": "2026-09-15T01:40:24Z",
      "cve": "CVE-2026-68165",
      "id": "CVE-2026-68165",
      "initial_release_date": "2026-08-13T16:23:55Z",
      "product_status:known_affected": "123",
      "product_status:known_not_affected": "251",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-68165",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-68165.json",
      "version": "4"
    }
  }
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…