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.
https://git.kernel.org/stable/c/dd5f656874190a4d4590cb741fec6f7b14cedf08
https://git.kernel.org/stable/c/485a9149ad406e00949327a3231b9084d7073706
https://git.kernel.org/stable/c/34902f2cbcc8d218f64f0ff827c131f26ba01630