Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain privileged DAMON sysfs write access
-
DeliverySet sampling/aggregation interval to zero or extreme value
-
ExploitCommit config via state write
-
ExecutionTrigger divide-by-zero or OOB read in damon_hot_score()
-
ImpactKernel oops / denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
|
| Exploitation Conditions | The kernel must be built with and actively running DAMON (Data Access MONitor), and the attacker must have write access to the DAMON sysfs admin interface at /sys/kernel/mm/damon/admin/kdamonds/*/contexts/*/monitoring_attrs/intervals/ - per the description this requires sysfs write permission, i.e. privileged/root (CAP_SYS_ADMIN) control. The flaw is triggered by writing an extreme monitoring interval (zero sample_us or aggr_us causing divide-by-zero in damon_max_nr_accesses()/damon_hot_score(), or a very high aggregation interval causing an out-of-bounds index into the regions_score_histogram array) and committing it via the state file. Limiting factors: exploitation is local only (AV:L), requires the DAMON feature to be enabled and a kdamond configured, and requires operator-level privileges to the sysfs tree - it is not reachable by an unprivileged remote or local user against a default system where DAMON is not in use. |
| Impact | This is a genuine but low-urgency defect whose signals align consistently toward limited real-world risk. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5 MEDIUM) describes a local, privileged, availability-only flaw: a divide-by-zero and an out-of-bounds array read in damon_hot_score() reachable through the DAMON sysfs interface. The description explicitly states 'The sysfs write permission is required,' which confirms privileged access to /sys/kernel/mm/damon/admin - in practice root/CAP_SYS_ADMIN - so the PR:L in the supplied vector arguably understates the privilege barrier (operator-level control of monitoring intervals). EPSS is low at 0.21% (12th percentile) and the CVE is NOT on CISA KEV, so there is no public exploit identified at time of analysis - only a reporter credit ('discovered by Sashiko') and upstream fix commits, which are patch references, not weaponized exploit code. The vuln.today Decision label is 'this_month' (not act_now/emergency), consistent with an availability-only, privilege-gated bug. Net: this is correctly a routine patch-management item, not a high-priority emergency. Two data issues to note explicitly: (1) the Tags list 'Information Disclosure,' which contradicts the CVSS impact profile C:N/I:N/A:H - there is no confidentiality impact; this is a denial-of-service/kernel-crash bug. (2) The 'Linux patch: 0' entry in the EUVD affected-versions list is malformed and should be ignored. |
| Exploit ScenarioDerived | A local user or process that already holds write access to the DAMON sysfs admin interface (effectively root/CAP_SYS_ADMIN) sets the sampling or aggregation interval to zero, or to an extremely high value, and commits the configuration. This triggers a divide-by-zero kernel oops (RIP: damon_hot_score) or an out-of-bounds read of the regions_score_histogram array, crashing the kernel. No public exploit is identified at time of analysis, and the attack is local and privileged, so the practical impact is a self-inflicted or insider-triggered denial of service rather than remote compromise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Divide-by-zero and out-of-bounds array indexing in the Linux kernel's DAMON hot-score calculation can crash the kernel when a privileged local operator writes extreme monitoring intervals to the DAMON sysfs interface. Linux 5.16 and later releases using DAMON across the 6.1, 6.6, 6.12, 6.18 and 7.x branches are affected before the fixed versions, and exploitation requires DAMON to be enabled plus write access to its admin sysfs files. No public exploit was identified at time of analysis, EPSS is low at 0.21%, and the assessed impact is availability only.
RemediationAI
Vendor-released patch: Linux 6.1.178, 6.6.145, 6.12.96, 6.18.39, 7.1.4 and 7.2-rc3; apply the kernel update for your distribution branch or use the corresponding stable commit listed in the kernel.org references. Ubuntu users should follow USN-8727-1 and USN-8726-1. Until the kernel is updated, restrict write access to /sys/kernel/mm/damon/admin/kdamonds/*/contexts/*/monitoring_attrs/intervals/ to trusted privileged operators and do not set sample_us or aggr_us to zero or extreme values; if DAMON is not required, leaving it unconfigured or disabled removes the reachable attack surface. These access restrictions and configuration controls are compensating measures only and do not replace the kernel fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DAMON (Data Access MONitor) is a Linux kernel framework for monitoring memory access patterns and feeding access-aware policies. This defect is CWE-369 (divide by zero) with an additional out-of-bounds indexing consequence in damon_hot_score(), which computes a hotness score used as an index into the regions_score_histogram array of size DAMOS_MAX_SCORE+1. In damon_max_nr_accesses(), a sampling interval of zero causes a divide-by-zero; an aggregation interval of zero returns zero and can cause a second divide-by-zero in the caller; and a very high aggregation interval can make damon_hot_score() return a value outside [0, DAMOS_MAX_SCORE], producing an out-of-bounds array access. The trigger described in the sources is a privileged write to /sys/kernel/mm/damon/admin/kdamonds/0/contexts/0/monitoring_attrs/intervals/sample_us and aggr_us followed by writing commit to the state file. The CPE data identifies generic linux:linux entries, so branch-level version mapping depends on the stable release and distribution rather than CPE alone. One feed tags the issue as Information Disclosure, but the authoritative assessment is availability-only (C:N/I:N/A:H).
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Trigger requires write access to the DAMON admin sysfs tree (effectively root), so PR:H; local-only AV:L, deterministic AC:L, and only a kernel crash, giving A:H with C:N/I:N.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
In the Linux kernel, the following vulnerability has been resolved:
mm/damon/ops-common: handle extreme intervals in damon_hot_score()
Fix three issues in damon_hot_score() that comes from wrong handling of extreme (zero or too high) monitoring intervals user setup.
When the user sets sampling interval zero, damon_max_nr_accesses(), which is called from damon_hot_score(), causes a divide-by-zero. Needless to say, it is a problem.
When the user sets the aggregation interval zero, the function returns zero. It is wrong, since the real maximum nr_acceses in the setup should be one. Worse yet, it can cause another divide-by-zero from its caller, damon_hot_score(), since it uses damon_max_nr_accesses() return value as a denominator.
When the user sets the aggregation interval very high, damon_hot_score() could return a value out of [0, DAMOS_MAX_SCORE] range. Since the return value is used as an index to the regions_score_histogram array, which is DAMOS_MAX_SCORE+1 size, it causes out of bounds array access.
The issues can be relatively easily reproduced like below. The sysfs write permission is required, though.
./damo start --damos_action lru_prio --damos_quota_space 100M \
--damos_quota_interval 1s
cd /sys/kernel/mm/damon/admin/kdamonds/0
echo 0 > contexts/0/monitoring_attrs/intervals/sample_us
echo 0 > contexts/0/monitoring_attrs/intervals/aggr_us
echo commit > state
dmesg
[...] [ 131.329762] Oops: divide error: 0000 [#1] SMP NOPTI [...] [ 131.336089] RIP: 0010:damon_hot_score+0x27/0xd0 [...]
Fix the divide-by-zero intervals problems by explicitly handling the zero intervals in damon_max_nr_accesses(). Fix the out-of-bound array access by applying [0, DAMOS_MAX_SCORE] bounds before returning from damon_hot_score().
The issue was discovered [1] by Sashiko.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-48802
GHSA-fhqc-6xwp-7x74
NVD
CVE.org
EPSS
VulDB
Exploit-DB