CVE-2026-68164

Source
https://cve.org/CVERecord?id=CVE-2026-68164
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68164.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68164
Downstream
Published
2026-08-10T11:59:31.670Z
Modified
2026-08-12T04:19:21.650568755Z
Summary
mm/damon/core: disallow overlapping input ranges for damon_set_regions()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

damonsetregions() 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 damonsetregions() 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 WARNONCE() if the kernel is built with CONFIGDAMONDEBUGSANITY=y. Depending on the monitoring results, the negative size region can further trigger division by zero in damonmergetwo_regions().

Note that some of the consequences including the WARNONCE() and the divide by zero depend on commits that were introduced after the root cause commit 97d482f4592f ("mm/damon/sysfs: reuse damonset_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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68164.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
97d482f4592fde2322c319f07bc54f3a0d37861c
Fixed
4b4a3e7ef7bb622237495db9ba4dfd7417d6530e
Fixed
06a4beeeec8f03f0b3e9c78a98f1ae4f0f18cfbd
Fixed
6ce0db97fb37ab8cf8596edca0e3de8618ab009a
Fixed
e33adf96afb5883f84b0d98747976bde293e33cb
Fixed
954157679ec34661c2e87e7eb796104a797c32db

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68164.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.6.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68164.json"