Skip to main content

Linux Kernel EUVDEUVD-2026-48802

| CVE-2026-64458 MEDIUM
Divide By Zero (CWE-369)
2026-07-25 Linux GHSA-fhqc-6xwp-7x74
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain privileged DAMON sysfs write access
  2. Delivery
    Set sampling/aggregation interval to zero or extreme value
  3. Exploit
    Commit config via state write
  4. Execution
    Trigger divide-by-zero or OOB read in damon_hot_score()
  5. Impact
    Kernel 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Linux patch: 7.2-rc3
Linux 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f <76e415ea88d20f022ed5cfcf78c50e156a267e91
Linux 5.16
Linux patch: 7.1.4
Linux 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f <9c8f31eaae6140ecadec0c07320498a944556de2
Linux patch: 6.12.96
Linux 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f <74fef68d521150281e36cdaa20e9e1ee3e3aa146
Linux patch: 0
Linux patch: 6.1.178
Linux 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f <ef2ae10a4582bc92b7e944181bbd2f87f3d30f3a
Linux patch: 6.6.145
Linux 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f <58321b4e6e4f0f412069ab27ccdd56292757343a
Linux patch: 6.18.39
Linux 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f <35d4a3cf70a855b50e53189ac2f8463e20a02046

Affected Packages

euvd linux no fix

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.4 MEDIUM

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.

3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.1 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Nov 12, 2026 - 17:52 NVD
5.5 (MEDIUM)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:51 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:51 nvd
MEDIUM 5.5

DescriptionNVD

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Ubiquitous
Linux kernel is ubiquitous, though the DAMON subsystem must be enabled and configured
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy