Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-138865

published

mm/hugetlb: fix subpool minimum reservation rollback

Published
30 Nov 2026, 13:25:42 UTC
Updated
30 Nov 2026, 13:25:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa833a693a490ecff8ba377654c6d4d333718b6b1 to < 4b10d04a68b8e17bb805df65f81a36a9041dd7bd · a833a693a490ecff8ba377654c6d4d333718b6b1 to < 156cd6874ed93737820d7818f09aff59ae50f6c7 · a833a693a490ecff8ba377654c6d4d333718b6b1 to < e4949a80f3b07e52dca76c34ce353633927a28a5 · adb5c2e55524e3a96b02c3904b0bb6d5a5404d21 · 6.14.8 to < 6.15 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected; Pending Fix Not stated Amazon Linux assessment

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a833a693a490ecff8ba377654c6d4d333718b6b1 to < 4b10d04a68b8e17bb805df65f81a36a9041dd7bd (affected · git)a833a693a490ecff8ba377654c6d4d333718b6b1 to < 156cd6874ed93737820d7818f09aff59ae50f6c7 (affected · git)a833a693a490ecff8ba377654c6d4d333718b6b1 to < e4949a80f3b07e52dca76c34ce353633927a28a5 (affected · git)adb5c2e55524e3a96b02c3904b0bb6d5a5404d21 (affected · git)6.14.8 to < 6.15 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.15 (affected)0 to < 6.15 (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

mm/hugetlb: fix subpool minimum reservation rollback

Provenance

Schema
5.2
Searchable
yes
Content hash
60b835c312aa8b0a8c6c308747ae1e5cd7dd3d7d9e8210335f8980e39872d6aa
Ingested
30 Nov 2026, 13:30:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected