CVE-2026-64244 (GCVE-0-2026-64244)
Vulnerability from cvelistv5
Published
2026-07-24 15:29
Modified
2026-08-17 04:51
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: drivers/base/memory: set mem->altmap after successful device registration If __add_memory_block() fails at xa_store() (under memory pressure for example), device_unregister() is called, which eventually triggers memory_block_release() with mem->altmap still set, causing a WARN_ON(mem->altmap). This was triggered by modifying virtio-mem driver. Fix this by delaying the assignment of mem->altmap until after __add_memory_block() has succeeded.
Impacted products
Vendor Product Version
Linux Linux Version: 1a8c64e110435e44e71bcd50a75663174b575f22
Version: 1a8c64e110435e44e71bcd50a75663174b575f22
Version: 1a8c64e110435e44e71bcd50a75663174b575f22
Version: 1a8c64e110435e44e71bcd50a75663174b575f22
Version: 1a8c64e110435e44e71bcd50a75663174b575f22
Version: 1a8c64e110435e44e71bcd50a75663174b575f22
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/memory.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "802e113cf120df7208e4c7e604950a85e87120a8",
              "status": "affected",
              "version": "1a8c64e110435e44e71bcd50a75663174b575f22",
              "versionType": "git"
            },
            {
              "lessThan": "22dc0d042f02ce82aa61422ea5f232628bfd9e9c",
              "status": "affected",
              "version": "1a8c64e110435e44e71bcd50a75663174b575f22",
              "versionType": "git"
            },
            {
              "lessThan": "6c25bf4e44a2b6a14332f952bba0974521f5b72d",
              "status": "affected",
              "version": "1a8c64e110435e44e71bcd50a75663174b575f22",
              "versionType": "git"
            },
            {
              "lessThan": "bc3dd82a0ffd488bb902f4c69c3d28fd4088d973",
              "status": "affected",
              "version": "1a8c64e110435e44e71bcd50a75663174b575f22",
              "versionType": "git"
            },
            {
              "lessThan": "059ac6252a63edf1cea79bf30bd860a8c264b62c",
              "status": "affected",
              "version": "1a8c64e110435e44e71bcd50a75663174b575f22",
              "versionType": "git"
            },
            {
              "lessThan": "a2b8d7827f48ee54a686cb80e4a1d0ff954ec42a",
              "status": "affected",
              "version": "1a8c64e110435e44e71bcd50a75663174b575f22",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/base/memory.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.6"
            },
            {
              "lessThan": "6.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.144",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.95",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.37",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.14",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.2",
              "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.6.144",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.95",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.37",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.14",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.2",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "6.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers/base/memory: set mem-\u003ealtmap after successful device registration\n\nIf __add_memory_block() fails at xa_store() (under memory pressure for\nexample), device_unregister() is called, which eventually triggers\nmemory_block_release() with mem-\u003ealtmap still set, causing a\nWARN_ON(mem-\u003ealtmap).  This was triggered by modifying virtio-mem driver.\n\nFix this by delaying the assignment of mem-\u003ealtmap until after\n__add_memory_block() has succeeded."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T04:51:55.230Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/802e113cf120df7208e4c7e604950a85e87120a8"
        },
        {
          "url": "https://git.kernel.org/stable/c/22dc0d042f02ce82aa61422ea5f232628bfd9e9c"
        },
        {
          "url": "https://git.kernel.org/stable/c/6c25bf4e44a2b6a14332f952bba0974521f5b72d"
        },
        {
          "url": "https://git.kernel.org/stable/c/bc3dd82a0ffd488bb902f4c69c3d28fd4088d973"
        },
        {
          "url": "https://git.kernel.org/stable/c/059ac6252a63edf1cea79bf30bd860a8c264b62c"
        },
        {
          "url": "https://git.kernel.org/stable/c/a2b8d7827f48ee54a686cb80e4a1d0ff954ec42a"
        }
      ],
      "title": "drivers/base/memory: set mem-\u003ealtmap after successful device registration",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64244",
    "datePublished": "2026-07-24T15:29:59.891Z",
    "dateReserved": "2026-07-19T15:36:31.772Z",
    "dateUpdated": "2026-08-17T04:51:55.230Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…