VDB

CVE-2026-68164

CVE-2026-68164 PUBLISHED

mm/damon/core: disallow overlapping input ranges for damon_set_regions()

Reported by linux · Published August 10, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-develAmazon Linux1:6.12.103-127.188.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.103-127.188.amzn2023

Affected products

VendorProductVersions
LinuxLinux97d482f4592fde2322c319f07bc54f3a0d37861c, 97d482f4592fde2322c319f07bc54f3a0d37861c, 97d482f4592fde2322c319f07bc54f3a0d37861c
LinuxLinux5.19, 0, 6.1.183
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-modules-extra0
linuxlinux_kernel5.19, 5.19, 5.19
amazon:2023kernel-tools0
amazon:2023kernel-livepatch-6.12.103-127.1880
amazon:2023python3-perf0
amazon:2023python3-perf6.180
amazon:2023perf6.180
amazon:2023perf0
amazon:2023bpftool0
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.120
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-headers0

…and 18 more

Timeline

  • Aug 10, 2026 CVE Published
  • Aug 11, 2026 Coalition ESS Score
  • Aug 16, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (17 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-68164
vulnetix vdb fixes CVE-2026-68164

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-68164/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›