CVE-2026-138865

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.

Package Linux Kernel
Published 2026-11-30
Last modified 2026-11-30
Patch available
Yes

Affected versions

Linux kernel versions 6.14.8, 6.15 and later are affected. Fixed in 6.18.63, 7.3.4, 7.4-rc1 and their respective stable series.

Affected from
≥ 6.14.8 ≥ 6.15
Fixed in
✓ 6.18.63 6.18.x ✓ 7.3.4 7.3.x ✓ 7.4-rc1

Frequently asked questions

  • What is CVE-2026-138865?

    CVE-2026-138865 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.14.8 onward and has been patched in 6.18.63, 7.3.4 and 7.4-rc1. CVE-2026-138865 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-138865?

    Yes. CVE-2026-138865 has been patched. Fixed versions include 6.18.63, 7.3.4 and 7.4-rc1. If you are running Linux kernel 6.14.8 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-138865 actively exploited?

    No. CVE-2026-138865 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.