{"id":"CVE-2026-138897","aliases":["CVE-2026-138897"],"related":[],"kind":"vulnerability","state":"published","title":"mm/damon/core: handle extreme memory state in damon_get_node_mem_bp()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: handle extreme memory state in damon_get_node_mem_bp()\n\nIn an extreme and unlikely situation, si_meminfo_node() might let the\ncaller show zero total ram.  That could cause a divide by zero in\ndamon_get_node_mem_bp().  It could also show free memory larger than the\ntotal memory.  This could cause underflow and make DAMOS temporarily make\nunexpected behavior.  Thanks to safety guards in the auto-tuning feedback\nloop, that should not be a real problem, though.  Fix the problems by\nrespectively returning 100% and 0% for used and free memory queries in the\ncorner cases.\n\nThe issue was discovered [1] by Sashiko.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/core: handle extreme memory state in damon_get_node_mem_bp()\n\nIn an extreme and unlikely situation, si_meminfo_node() might let the\ncaller show zero total ram.  That could cause a divide by zero in\ndamon_get_node_mem_bp().  It could also show free memory larger than the\ntotal memory.  This could cause underflow and make DAMOS temporarily make\nunexpected behavior.  Thanks to safety guards in the auto-tuning feedback\nloop, that should not be a real problem, though.  Fix the problems by\nrespectively returning 100% and 0% for used and free memory queries in the\ncorner cases.\n\nThe issue was discovered [1] by Sashiko.","source":"cvelist"}],"published":"2026-11-30T13:26:00.301Z","modified":"2026-11-30T14:17:47.620Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0e1c773b501f33437d87b72c7d26080361e224b1","fixed":"34902f2cbcc8d218f64f0ff827c131f26ba01630","status":"affected"},{"type":"git","introduced":"0e1c773b501f33437d87b72c7d26080361e224b1","fixed":"dd5f656874190a4d4590cb741fec6f7b14cedf08","status":"affected"},{"type":"git","introduced":"0e1c773b501f33437d87b72c7d26080361e224b1","fixed":"485a9149ad406e00949327a3231b9084d7073706","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/34902f2cbcc8d218f64f0ff827c131f26ba01630","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd5f656874190a4d4590cb741fec6f7b14cedf08","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/485a9149ad406e00949327a3231b9084d7073706","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138897","url":"https://www.cve.org/CVERecord?id=CVE-2026-138897","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:00.301Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138897","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138897","licence":"Public domain","modified":"2026-11-30T14:17:47.620Z"}],"updatedAt":"2026-11-30T14:33:02.271Z","epss":{"score":0.00207,"percentile":0.11437,"date":"2026-12-01T12:00:22.000Z"}}