GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-72212 (GCVE-0-2026-72212)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:54 – Updated: 2026-08-17 05:10
VLAI
Title
mm/memory_hotplug: fix incorrect altmap passing in error path
Summary
In the Linux kernel, the following vulnerability has been resolved: mm/memory_hotplug: fix incorrect altmap passing in error path In create_altmaps_and_memory_blocks(), when arch_add_memory() succeeds with memmap_on_memory enabled, the vmemmap pages are allocated from params.altmap. If create_memory_block_devices() subsequently fails, the error path calls arch_remove_memory() with a NULL altmap instead of params.altmap. This is a bug that could lead to memory corruption. Since altmap is NULL, vmemmap_free() falls back to freeing the vmemmap pages into the system buddy allocator via free_pages() instead of the altmap. arch_remove_memory() then immediately destroys the physical linear mapping for this memory. This injects unowned pages into the buddy allocator, causing machine checks or memory corruption if the system later attempts to allocate and use those freed pages. Fix this by passing params.altmap to arch_remove_memory() in the error path.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 6b8f0798b85aa529011570369db985a788f3003f , < 3833e6abdbbfb59ec8203a84a84206cb7ffb41ac (git)
Affected: 6b8f0798b85aa529011570369db985a788f3003f , < 722e6c54bde6391fb95f0357f555aca887c7b18c (git)
Affected: 6b8f0798b85aa529011570369db985a788f3003f , < 2f9e3ec17c3d2093c664c00a027588a446c39894 (git)
Affected: 6b8f0798b85aa529011570369db985a788f3003f , < 2fac4afa0e2e68841334c78c1821e49f74fbc66a (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.8
Unaffected: 0 , < 6.8 (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "mm/memory_hotplug.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "3833e6abdbbfb59ec8203a84a84206cb7ffb41ac",
              "status": "affected",
              "version": "6b8f0798b85aa529011570369db985a788f3003f",
              "versionType": "git"
            },
            {
              "lessThan": "722e6c54bde6391fb95f0357f555aca887c7b18c",
              "status": "affected",
              "version": "6b8f0798b85aa529011570369db985a788f3003f",
              "versionType": "git"
            },
            {
              "lessThan": "2f9e3ec17c3d2093c664c00a027588a446c39894",
              "status": "affected",
              "version": "6b8f0798b85aa529011570369db985a788f3003f",
              "versionType": "git"
            },
            {
              "lessThan": "2fac4afa0e2e68841334c78c1821e49f74fbc66a",
              "status": "affected",
              "version": "6b8f0798b85aa529011570369db985a788f3003f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "mm/memory_hotplug.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:10:26.630Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/3833e6abdbbfb59ec8203a84a84206cb7ffb41ac"
        },
        {
          "url": "https://git.kernel.org/stable/c/722e6c54bde6391fb95f0357f555aca887c7b18c"
        },
        {
          "url": "https://git.kernel.org/stable/c/2f9e3ec17c3d2093c664c00a027588a446c39894"
        },
        {
          "url": "https://git.kernel.org/stable/c/2fac4afa0e2e68841334c78c1821e49f74fbc66a"
        }
      ],
      "title": "mm/memory_hotplug: fix incorrect altmap passing in error path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-72212",
    "datePublished": "2026-08-15T05:54:07.077Z",
    "dateReserved": "2026-08-09T03:40:39.912Z",
    "dateUpdated": "2026-08-17T05:10:26.630Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-72212",
      "date": "2026-09-04",
      "epss": "0.002",
      "percentile": "0.09865"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-72212\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:21:39.913\",\"lastModified\":\"2026-08-17T06:18:22.150\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"mm/memory_hotplug.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6b8f0798b85aa529011570369db985a788f3003f\",\"lessThan\":\"3833e6abdbbfb59ec8203a84a84206cb7ffb41ac\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6b8f0798b85aa529011570369db985a788f3003f\",\"lessThan\":\"722e6c54bde6391fb95f0357f555aca887c7b18c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6b8f0798b85aa529011570369db985a788f3003f\",\"lessThan\":\"2f9e3ec17c3d2093c664c00a027588a446c39894\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"6b8f0798b85aa529011570369db985a788f3003f\",\"lessThan\":\"2fac4afa0e2e68841334c78c1821e49f74fbc66a\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"mm/memory_hotplug.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.8\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.8\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2f9e3ec17c3d2093c664c00a027588a446c39894\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2fac4afa0e2e68841334c78c1821e49f74fbc66a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/3833e6abdbbfb59ec8203a84a84206cb7ffb41ac\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/722e6c54bde6391fb95f0357f555aca887c7b18c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-18T16:29:08+00:00",
      "cve": "CVE-2026-72212",
      "id": "CVE-2026-72212",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "14",
      "product_status:known_not_affected": "260",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: mm/memory_hotplug: fix incorrect altmap passing in error path",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72212.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…