CVE-2026-68165
mm/damon/core: validate ranges in damon_set_regions()
Description
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.
INFO
Published Date :
Aug. 10, 2026, 1:20 p.m.
Last Modified :
Aug. 17, 2026, 5:18 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Validate region ranges in damon_set_regions.
- Ensure zero-length regions are not allowed.
- Update DAMON API callers to handle region validation.
- Apply kernel patches that fix DAMON API issues.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-68165.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-68165 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-68165
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-68165 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-68165 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': 'b585facbafbb5cf117b37b1c75819ac046646c27', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': 'c927b73a5694c735314ea10e7c81c07f9bd51ad7', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': '4b6f1d6d5d07855bd1bb9e64922b049062138bfa', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': '43aaddd0fa92010a68adeda7744c7cf497a1c8e9', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': '1292c0ecb1caefb8ca064a3639d5673991e8810c', 'versionType': 'git'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': 'b585facbafbb5cf117b37b1c75819ac046646c27', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': 'c927b73a5694c735314ea10e7c81c07f9bd51ad7', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': '4b6f1d6d5d07855bd1bb9e64922b049062138bfa', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': '43aaddd0fa92010a68adeda7744c7cf497a1c8e9', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': '1292c0ecb1caefb8ca064a3639d5673991e8810c', 'versionType': 'git'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'affected'}] -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 10, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': 'b585facbafbb5cf117b37b1c75819ac046646c27', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': 'c927b73a5694c735314ea10e7c81c07f9bd51ad7', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': '4b6f1d6d5d07855bd1bb9e64922b049062138bfa', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': '43aaddd0fa92010a68adeda7744c7cf497a1c8e9', 'versionType': 'git'}, {'status': 'affected', 'version': '43b0536cb4710e7bb591edfda7e68a1c327a3409', 'lessThan': '1292c0ecb1caefb8ca064a3639d5673991e8810c', 'versionType': 'git'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc5', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['mm/damon/core.c'], 'defaultStatus': 'affected'}] Added Description 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. Added Reference https://git.kernel.org/stable/c/1292c0ecb1caefb8ca064a3639d5673991e8810c Added Reference https://git.kernel.org/stable/c/43aaddd0fa92010a68adeda7744c7cf497a1c8e9 Added Reference https://git.kernel.org/stable/c/4b6f1d6d5d07855bd1bb9e64922b049062138bfa Added Reference https://git.kernel.org/stable/c/b585facbafbb5cf117b37b1c75819ac046646c27 Added Reference https://git.kernel.org/stable/c/c927b73a5694c735314ea10e7c81c07f9bd51ad7