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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux0e1c773b501f33437d87b72c7d26080361e224b1 to before 34902f2cbcc8d218f64f0ff827c131f26ba01630 Affected0e1c773b501f33437d87b72c7d26080361e224b1 to before dd5f656874190a4d4590cb741fec6f7b14cedf08 Affected0e1c773b501f33437d87b72c7d26080361e224b1 to before 485a9149ad406e00949327a3231b9084d7073706 Affected
Linux Linux6.16 Affectedbefore 6.16 Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.