# CVE-2026-138897: mm/damon/core: handle extreme memory state in damon_get_node_mem_bp()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:00.301Z
- Modified: 2026-11-30T14:17:47.620Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)

## References

- <https://git.kernel.org/stable/c/34902f2cbcc8d218f64f0ff827c131f26ba01630>
- <https://git.kernel.org/stable/c/dd5f656874190a4d4590cb741fec6f7b14cedf08>
- <https://git.kernel.org/stable/c/485a9149ad406e00949327a3231b9084d7073706>

## Sources

- CVE List: [CVE-2026-138897](https://www.cve.org/CVERecord?id=CVE-2026-138897), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138897](https://nvd.nist.gov/vuln/detail/CVE-2026-138897), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138897 · Whole record: https://cve.day/CVE-2026-138897.json · Rebuilt by cve.day 2026-11-30T14:33:02.271Z
