Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-138897

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

Published 30/11/2026 · Updated 30/11/2026 · 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 products and versions

Linux Linux0e1c773b501f33437d87b72c7d26080361e224b1 – < 34902f2cbcc8d218f64f0ff827c131f26ba01630 · 0e1c773b501f33437d87b72c7d26080361e224b1 – < dd5f656874190a4d4590cb741fec6f7b14cedf08 · 0e1c773b501f33437d87b72c7d26080361e224b1 – < 485a9149ad406e00949327a3231b9084d7073706Fixed in: 34902f2cbcc8d218f64f0ff827c131f26ba01630 · dd5f656874190a4d4590cb741fec6f7b14cedf08 · 485a9149ad406e00949327a3231b9084d7073706
Linux Linux6.16Fixed in: 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.