{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0e1c773b501f33437d87b72c7d26080361e224b1"
            },
            {
              "fixed": "34902f2cbcc8d218f64f0ff827c131f26ba01630"
            },
            {
              "fixed": "dd5f656874190a4d4590cb741fec6f7b14cedf08"
            },
            {
              "fixed": "485a9149ad406e00949327a3231b9084d7073706"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.16.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138897.json"
  },
  "details": "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.",
  "id": "CVE-2026-138897",
  "modified": "2026-12-01T20:45:49.301885373Z",
  "published": "2026-11-30T13:26:00.301Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/34902f2cbcc8d218f64f0ff827c131f26ba01630"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/485a9149ad406e00949327a3231b9084d7073706"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dd5f656874190a4d4590cb741fec6f7b14cedf08"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138897.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138897"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mm/damon/core: handle extreme memory state in damon_get_node_mem_bp()"
}