PT-2026-162725
CVE-2026-138865
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In 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.
Found an issue in the description? Have something to add? Feel free to write us 👾