GHSA-M3QC-FPMM-CGM8
Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32In the Linux kernel, the following vulnerability has been resolved:
mm/hugetlb: fix subpool minimum reservation rollback
When a reservation request is partially covered by a subpool minimum and the remaining global reservation fails, the error path first calls hugepage_subpool_put_pages() for the subpool-backed portion. It removes the failed global portion from used_hpages only afterwards.
hugepage_subpool_put_pages() uses used_hpages to decide whether rsv_hpages should be restored. Since used_hpages still includes the global portion, it can remain at or above min_hpages and prevent that restoration. It then reports the subpool reservation as releasable, causing hugetlb_acct_memory() to incorrectly decrement h->resv_huge_pages.
This was reproduced with four 2 MB huge pages and a hugetlbfs mount with size=10M,min_size=8M. After a successful three-page reservation, a two-page reservation which needed one subpool page and one global page failed with -ENOMEM. HugePages_Rsvd incorrectly dropped from four to three even though the subpool minimum was still four pages.
Roll back the failed global portion from used_hpages first, so that hugepage_subpool_put_pages() evaluates the minimum reservation against the current usage and returns the correct global adjustment.
{
"affected": [],
"aliases": [
"CVE-2026-138865"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-30T14:17:42Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: fix subpool minimum reservation rollback\n\nWhen a reservation request is partially covered by a subpool minimum and\nthe remaining global reservation fails, the error path first calls\nhugepage_subpool_put_pages() for the subpool-backed portion. It removes\nthe failed global portion from used_hpages only afterwards.\n\nhugepage_subpool_put_pages() uses used_hpages to decide whether rsv_hpages\nshould be restored. Since used_hpages still includes the global portion,\nit can remain at or above min_hpages and prevent that restoration. It\nthen reports the subpool reservation as releasable, causing\nhugetlb_acct_memory() to incorrectly decrement h-\u003eresv_huge_pages.\n\nThis was reproduced with four 2 MB huge pages and a hugetlbfs mount with\nsize=10M,min_size=8M. After a successful three-page reservation, a\ntwo-page reservation which needed one subpool page and one global page\nfailed with -ENOMEM. HugePages_Rsvd incorrectly dropped from four to\nthree even though the subpool minimum was still four pages.\n\nRoll back the failed global portion from used_hpages first, so that\nhugepage_subpool_put_pages() evaluates the minimum reservation against the\ncurrent usage and returns the correct global adjustment.",
"id": "GHSA-m3qc-fpmm-cgm8",
"modified": "2026-11-30T15:32:07Z",
"published": "2026-11-30T15:32:07Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138865"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/156cd6874ed93737820d7818f09aff59ae50f6c7"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/4b10d04a68b8e17bb805df65f81a36a9041dd7bd"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e4949a80f3b07e52dca76c34ce353633927a28a5"
}
],
"schema_version": "1.4.0",
"severity": []
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
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.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.