FKIE_CVE-2026-64244

Vulnerability from fkie_nvd - Published: 2026-07-24 16:16 - Updated: 2026-07-30 15:00
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

{
  "affected": [
    {
      "affectedData": [
        {
          "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-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "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."
    }
  ],
  "id": "CVE-2026-64244",
  "lastModified": "2026-07-30T15:00:27.343",
  "metrics": {},
  "published": "2026-07-24T16:16:53.803",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/059ac6252a63edf1cea79bf30bd860a8c264b62c"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/22dc0d042f02ce82aa61422ea5f232628bfd9e9c"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/6c25bf4e44a2b6a14332f952bba0974521f5b72d"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/802e113cf120df7208e4c7e604950a85e87120a8"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a2b8d7827f48ee54a686cb80e4a1d0ff954ec42a"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/bc3dd82a0ffd488bb902f4c69c3d28fd4088d973"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Awaiting Analysis"
}



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…