CVE-2026-68164
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-devel | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.103-127.188.amzn2023 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 97d482f4592fde2322c319f07bc54f3a0d37861c, 97d482f4592fde2322c319f07bc54f3a0d37861c, 97d482f4592fde2322c319f07bc54f3a0d37861c |
| Linux | Linux | 5.19, 0, 6.1.183 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| linux | linux_kernel | 5.19, 5.19, 5.19 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-livepatch-6.12.103-127.188 | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
…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