CVE-2026-89593 (GCVE-0-2026-89593)
Vulnerability from cvelistv5
Published
2026-09-11 19:44
Modified
2026-10-19 08:49
Summary
In the Linux kernel, the following vulnerability has been resolved: hugetlb: only adjust reservation during unmapping if mapcount is 0 Since df7a6d1f6405, __unmap_hugepage_range can adjust reservations. In the case of folio mapped in both a parent and a child, if the parent unmaps the range first, the reservation adjustment will result in an underflow of the reserved count. Once the child unmaps the range, the count is restored. Change __unmap_hugepage_range() to check the mapcount before adjusting the reservation.
Impacted products
Vendor Product Version
Linux Linux Version: df7a6d1f64056aec572162c5d35ed9ff86ece6f3
Version: df7a6d1f64056aec572162c5d35ed9ff86ece6f3
Version: df7a6d1f64056aec572162c5d35ed9ff86ece6f3
Version: df7a6d1f64056aec572162c5d35ed9ff86ece6f3
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "mm/hugetlb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b0b1b9ca80b795ed2223e76dd787db7067121fb9",
              "status": "affected",
              "version": "df7a6d1f64056aec572162c5d35ed9ff86ece6f3",
              "versionType": "git"
            },
            {
              "lessThan": "a3c65af20cceb7f997847727636b4017326f845d",
              "status": "affected",
              "version": "df7a6d1f64056aec572162c5d35ed9ff86ece6f3",
              "versionType": "git"
            },
            {
              "lessThan": "0f001491e5a2ec69aa9d5dd6b799e5742245f9ea",
              "status": "affected",
              "version": "df7a6d1f64056aec572162c5d35ed9ff86ece6f3",
              "versionType": "git"
            },
            {
              "lessThan": "5120b1e048d48596ffaec1a8412012a91adba73b",
              "status": "affected",
              "version": "df7a6d1f64056aec572162c5d35ed9ff86ece6f3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "mm/hugetlb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.50",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.50",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.4",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhugetlb: only adjust reservation during unmapping if mapcount is 0\n\nSince df7a6d1f6405, __unmap_hugepage_range can adjust reservations.  In\nthe case of folio mapped in both a parent and a child, if the parent\nunmaps the range first, the reservation adjustment will result in an\nunderflow of the reserved count.  Once the child unmaps the range, the\ncount is restored.  Change __unmap_hugepage_range() to check the mapcount\nbefore adjusting the reservation."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is in __unmap_hugepage_range() on munmap/madvise of a private MAP_HUGETLB VMA after fork, reached only via local mmap/fault/fork/unmap syscalls, not from any network protocol or remote packet path.\nAC:L - Triggering is a deterministic sequence: MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB mmap, fault the page, fork, then munmap in the parent while the child keeps the mapping. The reporter\u0027s reproducer underflows HugePages_Rsvd on every run with no race.\nPR:L - mmap(MAP_ANONYMOUS|MAP_HUGETLB) uses hugetlb_file_setup(HUGETLB_ANONHUGE_INODE) with no CAP_IPC_LOCK check. An unprivileged local user on a host with hugepages (typical for VMs, databases, DPDK, and HPC) can exercise this path, including from a user namespace.\nUI:N - The attacker creates the private hugetlb mapping, forks, and unmaps in their own processes; no action by another user or administrator is required.\nS:U - Impact is corruption of the host kernel\u0027s global hugetlb reservation counter (h-\u003eresv_huge_pages) within the same kernel security domain; it does not escape a VM, bypass an IOMMU, or cross another authority.\nC:N - The flaw only underflows and wraps the hugepage reservation counter; it does not provide an out-of-bounds read, use-after-free, or other primitive that discloses kernel memory or confidential data.\nI:H - Parent unmap while a child still maps the folio restores the reserve map, then hugetlb_vm_op_close() decrements resv_huge_pages from zero and wraps it to ULONG_MAX, corrupting global reservation accounting so later allocations can steal hugepages reserved for other tenants and bypass reservation guarantees.\nA:H - With resv_huge_pages wrapped, available_huge_pages() and gather_surplus_pages() treat the pool as having extra pages, so other hugepage users (QEMU, databases, DPDK) can be denied reserved pages and SIGBUS. The attacker controls the child lifetime, so broken accounting can persist and remain desynchronized."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T08:49:25.740Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b0b1b9ca80b795ed2223e76dd787db7067121fb9"
        },
        {
          "url": "https://git.kernel.org/stable/c/a3c65af20cceb7f997847727636b4017326f845d"
        },
        {
          "url": "https://git.kernel.org/stable/c/0f001491e5a2ec69aa9d5dd6b799e5742245f9ea"
        },
        {
          "url": "https://git.kernel.org/stable/c/5120b1e048d48596ffaec1a8412012a91adba73b"
        }
      ],
      "title": "hugetlb: only adjust reservation during unmapping if mapcount is 0",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89593",
    "datePublished": "2026-09-11T19:44:56.557Z",
    "dateReserved": "2026-09-11T19:38:34.730Z",
    "dateUpdated": "2026-10-19T08:49:25.740Z",
    "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…