{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6b8f0798b85aa529011570369db985a788f3003f"
            },
            {
              "fixed": "3833e6abdbbfb59ec8203a84a84206cb7ffb41ac"
            },
            {
              "fixed": "722e6c54bde6391fb95f0357f555aca887c7b18c"
            },
            {
              "fixed": "2f9e3ec17c3d2093c664c00a027588a446c39894"
            },
            {
              "fixed": "2fac4afa0e2e68841334c78c1821e49f74fbc66a"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.8.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72212.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/memory_hotplug: fix incorrect altmap passing in error path\n\nIn create_altmaps_and_memory_blocks(), when arch_add_memory() succeeds\nwith memmap_on_memory enabled, the vmemmap pages are allocated from\nparams.altmap.  If create_memory_block_devices() subsequently fails, the\nerror path calls arch_remove_memory() with a NULL altmap instead of\nparams.altmap.\n\nThis is a bug that could lead to memory corruption.  Since altmap is NULL,\nvmemmap_free() falls back to freeing the vmemmap pages into the system\nbuddy allocator via free_pages() instead of the altmap. \narch_remove_memory() then immediately destroys the physical linear mapping\nfor this memory.  This injects unowned pages into the buddy allocator,\ncausing machine checks or memory corruption if the system later attempts\nto allocate and use those freed pages.\n\nFix this by passing params.altmap to arch_remove_memory() in the error\npath.",
  "id": "CVE-2026-72212",
  "modified": "2026-08-18T03:31:04.842569099Z",
  "published": "2026-08-15T05:54:07.077Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2f9e3ec17c3d2093c664c00a027588a446c39894"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2fac4afa0e2e68841334c78c1821e49f74fbc66a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3833e6abdbbfb59ec8203a84a84206cb7ffb41ac"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/722e6c54bde6391fb95f0357f555aca887c7b18c"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72212.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-72212"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "mm/memory_hotplug: fix incorrect altmap passing in error path"
}