Security mailing lists by PureSourceCode

CVE-2026-138865

not scored yet

mm/hugetlb: fix subpool minimum reservation rollback

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= a833a693a490ecff8ba377654c6d4d333718b6b1, < 4b10d04a68b8e17bb805df65f81a36a9041dd7bd; >= a833a693a490ecff8ba377654c6d4d333718b6b1, < 156cd6874ed93737820d7818f09aff59ae50f6c7; >= a833a693a490ecff8ba377654c6d4d333718b6b1, < e4949a80f3b07e52dca76c34ce353633927a28a5; = adb5c2e55524e3a96b02c3904b0bb6d5a5404d21; >= 6.14.8, < 6.15 4b10d04a68b8e17bb805df65f81a36a9041dd7bd, 156cd6874ed93737820d7818f09aff59ae50f6c7, e4949a80f3b07e52dca76c34ce353633927a28a5, 6.15
CVE List Linux Linux = 6.15

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.