CVE-2026-64244 (GCVE-0-2026-64244)

Vulnerability from cvelistv5 – Published: 2026-07-24 15:29 – Updated: 2026-08-17 04:51
VLAI
Title
drivers/base/memory: set mem->altmap after successful device registration
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 CPE status
Linux Linux Affected: 1a8c64e110435e44e71bcd50a75663174b575f22 , < 802e113cf120df7208e4c7e604950a85e87120a8 (git)
Affected: 1a8c64e110435e44e71bcd50a75663174b575f22 , < 22dc0d042f02ce82aa61422ea5f232628bfd9e9c (git)
Affected: 1a8c64e110435e44e71bcd50a75663174b575f22 , < 6c25bf4e44a2b6a14332f952bba0974521f5b72d (git)
Affected: 1a8c64e110435e44e71bcd50a75663174b575f22 , < bc3dd82a0ffd488bb902f4c69c3d28fd4088d973 (git)
Affected: 1a8c64e110435e44e71bcd50a75663174b575f22 , < 059ac6252a63edf1cea79bf30bd860a8c264b62c (git)
Affected: 1a8c64e110435e44e71bcd50a75663174b575f22 , < a2b8d7827f48ee54a686cb80e4a1d0ff954ec42a (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.6
Unaffected: 0 , < 6.6 (semver)
Unaffected: 6.6.144 , ≤ 6.6.* (semver)
Unaffected: 6.12.95 , ≤ 6.12.* (semver)
Unaffected: 6.18.37 , ≤ 6.18.* (semver)
Unaffected: 7.0.14 , ≤ 7.0.* (semver)
Unaffected: 7.1.2 , ≤ 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": [
            "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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64244",
      "date": "2026-09-20",
      "epss": "0.00115",
      "percentile": "0.01733"
    },
    "microsoft_vex": {
      "current_release_date": "2026-08-14T18:13:10.000Z",
      "cve": "CVE-2026-64244",
      "id": "msrc_CVE-2026-64244",
      "initial_release_date": "2026-07-26T01:02:00.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "drivers/base/memory: set mem-\u003ealtmap after successful device registration",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-64244.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "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",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "EB06F04F-FCFC-49B0-8B6C-FE1EA3A596E1",
                    "versionEndExcluding": "6.6.144",
                    "versionStartIncluding": "6.6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "4E206B86-E0E3-4394-A93F-39F2D50A8AA8",
                    "versionEndExcluding": "6.12.95",
                    "versionStartIncluding": "6.7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E08ACB05-518A-4D61-A6C4-268D1BB6BF46",
                    "versionEndExcluding": "6.18.37",
                    "versionStartIncluding": "6.13",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6241DF06-E6F3-4B61-B5A2-A60F2AE5B982",
                    "versionEndExcluding": "7.0.14",
                    "versionStartIncluding": "6.19",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C18FAA06-B61A-4036-A12D-F06F5135E64B",
                    "versionEndExcluding": "7.1.2",
                    "versionStartIncluding": "7.1",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "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-08-17T19:25:13.990",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2026-07-24T16:16:53.803",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/059ac6252a63edf1cea79bf30bd860a8c264b62c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/22dc0d042f02ce82aa61422ea5f232628bfd9e9c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/6c25bf4e44a2b6a14332f952bba0974521f5b72d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/802e113cf120df7208e4c7e604950a85e87120a8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/a2b8d7827f48ee54a686cb80e4a1d0ff954ec42a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/bc3dd82a0ffd488bb902f4c69c3d28fd4088d973"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-noinfo"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-19T05:25:41+00:00",
      "cve": "CVE-2026-64244",
      "id": "CVE-2026-64244",
      "initial_release_date": "2026-07-24T00:00:00+00:00",
      "product_status:known_affected": "198",
      "product_status:known_not_affected": "76",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: drivers/base/memory: set mem-\u003ealtmap after successful device registration",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64244.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-18T00:42:34Z",
      "cve": "CVE-2026-64244",
      "id": "CVE-2026-64244",
      "initial_release_date": "2026-07-25T00:13:46Z",
      "product_status:known_affected": "58",
      "product_status:known_not_affected": "298",
      "product_status:recommended": "87",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64244",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64244.json",
      "version": "9"
    }
  }
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…