CVE-2026-138897

mm/damon/core: handle extreme memory state in damon_get_node_mem_bp()

Published Nov 30, 2026 CVSS 3.1 · 4.1 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

mm/damon/core: handle extreme memory state in damon_get_node_mem_bp()

In an extreme and unlikely situation, si_meminfo_node() might let the
caller show zero total ram. That could cause a divide by zero in
damon_get_node_mem_bp(). It could also show free memory larger than the
total memory. This could cause underflow and make DAMOS temporarily make
unexpected behavior. Thanks to safety guards in the auto-tuning feedback
loop, that should not be a real problem, though. Fix the problems by
respectively returning 100% and 0% for used and free memory queries in the
corner cases.

The issue was discovered [1] by Sashiko.

Analysis

AI-generated

Technical impact

In the Linux kernel, the damon_get_node_mem_bp() function can divide by zero when a node reports zero total RAM or free memory that exceeds the total, leading to incorrect memory usage accounting. These arithmetic errors may produce unexpected values that the DAMON auto‑tuning feedback loop could react to, potentially causing temporary erratic behavior of memory pressure handling. Safety guards mitigate the effect, but the underlying logic flaw remains present.

Affected Systems

The vulnerability affects the Linux kernel's DAMON subsystem; any kernel collection that includes damon within the mm/damon/core module is impacted. Specific version information was not supplied, so all builds before the patch that contains the recent commits from the referenced kernel patches are likely affected.

Risk and Exploitability

No CVSS or EPSS score is available and the vulnerability is not listed in the CISA KEV catalog, making its public exploitability unclear. The weakness resides in kernel space, implying that exploitation would require local privilege or the ability to influence kernel memory queries. Because no public exploits are known, the principal risk is mis‑tuned memory pressure handling rather than a direct remote code execution vector.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Rebuild or update the kernel to a version that includes the commit which fixes damon_get_node_mem_bp to return 100% used and 0% free for extreme memory states.
  • Boot the patched kernel so the updated DAMON logic takes effect.
  • If patching is temporarily unavailable, consider disabling the DAMON subsystem via kernel boot parameters or sysctl to avoid the faulty memory accounting.

Generated by OpenCVE AI on November 30, 2026 at 17:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-369
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: handle extreme memory state in damon_get_node_mem_bp() In an extreme and unlikely situation, si_meminfo_node() might let the caller show zero total ram. That could cause a divide by zero in damon_get_node_mem_bp(). It could also show free memory larger than the total memory. This could cause underflow and make DAMOS temporarily make unexpected behavior. Thanks to safety guards in the auto-tuning feedback loop, that should not be a real problem, though. Fix the problems by respectively returning 100% and 0% for used and free memory queries in the corner cases. The issue was discovered [1] by Sashiko.
Title mm/damon/core: handle extreme memory state in damon_get_node_mem_bp()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:26 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:17 PM
Modified
Nov 30, 2026, 2:17 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:26 PM