CVE-2026-138897
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0e1c773b501f33437d87b72c7d26080361e224b1 before 34902f2cbcc8d218f64f0ff827c131f26ba01630, from 0e1c773b501f33437d87b72c7d26080361e224b1 before dd5f656874190a4d4590cb741fec6f7b14cedf08, from 0e1c773b501f33437d87b72c7d26080361e224b1 before 485a9149ad406e00949327a3231b9084d7073706, 6.16
Not affected: before 6.16, from 6.18.63 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-138897 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-138897 changed 2026-11-30Public domain