CVE-2026-68164
NoneCVSS
—
EPSS
0.2%
Published
Aug 10, 2026
CISA due date
—
Cloudanix analysis
A flaw in a Linux memory-monitoring feature can let someone with high local privileges feed bad settings that may make the system unstable or crash.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
CVE-2026-68164 is an improper input validation flaw in the Linux kernel DAMON memory-monitoring subsystem. The vulnerable code path accepts DAMON region definitions through the DAMON region-setting interface without enforcing the expected invariant that address ranges are sorted and non-overlapping. Malformed or overlapping ranges can cause incorrect monitoring results, repeated DAMOS actions against the same memory range, quota miscalculation, creation of invalid negative-size regions, kernel WARN_ONCE conditions when DAMON sanity debugging is enabled, and in some kernel states a division-by-zero fault in damon_merge_two_regions(). The realistic impact is local kernel instability or denial of service by a user or process able to configure DAMON, typically requiring elevated local privileges such as root or CAP_SYS_ADMIN depending on system configuration.
Why it matters to the business
Systems exposing DAMON configuration to administrators, automation, performance tooling, or privileged containers could be destabilized by malformed DAMON region inputs. The most likely business consequence is host disruption, service interruption, or degraded reliability from a kernel warning, fault, or crash. Because this issue is newly published, not listed in CISA KEV, not associated with ransomware, and has no reported exploit maturity, urgency is lower than for actively exploited remote vulnerabilities; however, Linux kernel flaws should still be addressed through normal kernel patch cycles, especially on shared compute, virtualization, container-host, high-availability, and performance-sensitive systems.
How an attack unfolds
An attacker first needs local access to a Linux system and sufficient permission to interact with DAMON configuration, usually through privileged sysfs/debugfs-style kernel interfaces or tooling that writes to them. The attacker then submits a crafted set of monitored memory regions that are unsorted, overlapping, or otherwise violate the assumptions expected by damon_set_regions(). Because vulnerable kernels fail to reject those inputs, DAMON may store inconsistent region state. Subsequent monitoring or DAMOS processing can apply actions multiple times to overlapping regions, compute incorrect quotas, create negative-size regions, trigger DAMON sanity warnings, or reach code paths such as damon_merge_two_regions() where invalid sizes can cause a division-by-zero exception. The attack outcome is most likely a local denial of service or system instability rather than data theft or remote code execution.
How to fix it
Upgrade to a Linux kernel version that includes the upstream fix validating DAMON input ranges in damon_set_regions() and rejecting overlapping or unsorted ranges. No exact fixed product versions were provided in the input, so use the fixed kernel packages from the relevant Linux distribution or vendor advisory once available. If immediate patching is not possible, reduce exposure by disabling DAMON where it is not required, preventing untrusted users and workloads from accessing DAMON sysfs/debugfs interfaces, avoiding delegation of CAP_SYS_ADMIN to containers or untrusted processes, and auditing or restricting automation that writes to /sys/kernel/mm/damon or related DAMON control paths. Consider disabling DAMOS policies on systems where malformed configuration could affect production memory-management behavior until patched.
How to confirm the fix worked
Confirm remediation by verifying the running kernel package includes the vendor or upstream fix for CVE-2026-68164, not only that the package is installed on disk. Reboot into the patched kernel where required. Validate exposure by checking whether DAMON is enabled in the running kernel and whether DAMON administration paths are mounted and writable, especially /sys/kernel/mm/damon/admin and any DAMON debugfs interfaces. On a non-production test system only, attempt to submit overlapping or unsorted DAMON regions and confirm the kernel rejects the configuration with an error instead of accepting it. Review access controls to ensure only trusted administrative users and processes can write DAMON configuration.
Typical attack path
- Gain local access to a Linux host where DAMON is enabled or available.
- Obtain sufficient privileges to write DAMON configuration, typically root, CAP_SYS_ADMIN, or equivalent access to privileged kernel sysfs/debugfs interfaces.
- Create or modify a DAMON context and provide monitored target address ranges that are overlapping, unsorted, or otherwise invalid.
- Trigger DAMON monitoring or DAMOS operations so the malformed region set is processed.
- Cause incorrect DAMON behavior, repeated DAMOS actions, quota anomalies, kernel warnings, division-by-zero faults, or host instability depending on kernel build and runtime configuration.
How to detect it
To assess possible prior exploitation, focus on local privileged activity rather than network telemetry. Review kernel logs from journalctl, dmesg, syslog, and crash dump infrastructure for DAMON warnings, divide-by-zero exceptions, kernel oops events, or stack traces involving damon_set_regions(), damon_merge_two_regions(), or mm/damon/core. Review auditd, EDR, shell history, sudo logs, and process accounting for writes to DAMON configuration paths such as /sys/kernel/mm/damon/admin or DAMON debugfs paths. Pay particular attention to unexpected processes, containers, scripts, or users modifying DAMON region files shortly before kernel instability, reboot, panic, or service interruption. If audit rules were not previously enabled for sysfs/debugfs writes, detection may rely on kernel crash logs, command history, endpoint telemetry, and correlation with unexplained host instability. There are no known public exploit-specific payload strings from the provided intelligence, so treat DAMON configuration writes by unauthorized principals and kernel traces in DAMON functions as suspicious but not individually conclusive.
- /sys/kernel/mm/damon/admin
- /sys/kernel/debug/damon
- damon_set_regions
- damon_merge_two_regions
- mm/damon/core
- CONFIG_DAMON_DEBUG_SANITY
- DAMOS
- divide error
- division by zero
- WARN_ONCE
- kernel BUG
- kernel oops
- panic_on_warn
What your security team should do
- Inventory Linux systems running kernels with DAMON enabled or available, prioritizing container hosts, virtualization hosts, shared compute, and production systems using DAMOS or memory-monitoring automation.
- Track the applicable Linux distribution or vendor advisory and schedule kernel updates once fixed packages are available; reboot systems into the patched kernel.
- Restrict write access to DAMON sysfs/debugfs interfaces to trusted administrators only and avoid granting CAP_SYS_ADMIN or host sysfs access to untrusted containers or services.
- Search recent kernel logs and audit records for DAMON-related warnings, division-by-zero faults, and writes to DAMON control paths.
- If DAMON is not operationally required, disable or avoid mounting DAMON administration interfaces until systems are patched.
- Add change-control review for performance or memory-management automation that writes DAMON region configuration.
- Because this is not currently KEV-listed and has no known exploit maturity, handle through expedited normal patch management rather than emergency internet-facing incident response unless local abuse indicators are present.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|