# CVE-2026-43286: mm/hugetlb: restore failed global reservations to subpool

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2026-05-08T13:11:11.867Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= a833a693a490ecff8ba377654c6d4d333718b6b1, \< 5eac1322a7b14b8cd05ec896618278b90fba7f39; \>= a833a693a490ecff8ba377654c6d4d333718b6b1, \< f055897c975d079a90af873c791ab58cf0f6f2a5; \>= a833a693a490ecff8ba377654c6d4d333718b6b1, \< 1d3f9bb4c8af70304d19c22e30f5d16a2d589bb5; adb5c2e55524e3a96b02c3904b0bb6d5a5404d21; \>= 6.14.8, \< 6.15
- Anyone running Linux 6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

mm/hugetlb: restore failed global reservations to subpool

Commit a833a693a490 ("mm: hugetlb: fix incorrect fallback for subpool")
fixed an underflow error for hstate-\>resv\_huge\_pages caused by incorrectly
attributing globally requested pages to the subpool's reservation.

Unfortunately, this fix also introduced the opposite problem, which would
leave spool-\>used\_hpages elevated if the globally requested pages could
not be acquired.  This is because while a subpool's reserve pages only
accounts for what is requested and allocated from the subpool, its "used"
counter keeps track of what is consumed in total, both from the subpool
and globally.  Thus, we need to adjust spool-\>used\_hpages in the other
direction, and make sure that globally requested pages are uncharged from
the subpool's used counter.

Each failed allocation attempt increments the used\_hpages counter by how
many pages were requested from the global pool.  Ultimately, this renders
the subpool unusable, as used\_hpages approaches the max limit.

The issue can be reproduced as follows:
1. Allocate 4 hugetlb pages
2. Create a hugetlb mount with max=4, min=2
3. Consume 2 pages globally
4. Request 3 pages from the subpool (2 from subpool + 1 from global)
	4.1 hugepage\_subpool\_get\_pages(spool, 3) succeeds.
		used\_hpages += 3
	4.2 hugetlb\_acct\_memory(h, 1) fails: no global pages left
		used\_hpages -= 2
5. Subpool now has used\_hpages = 1, despite not being able to
   successfully allocate any hugepages. It believes it can now only
   allocate 3 more hugepages, not 4.

With each failed allocation attempt incrementing the used counter, the
subpool eventually reaches a point where its used counter equals its
max counter.  At that point, any future allocations that try to
allocate hugeTLB pages from the subpool will fail, despite the subpool
not having any of its hugeTLB pages consumed by any user.

Once this happens, there is no way to make the subpool usable again,
since there is no way to decrement the used counter as no process is
really consuming the hugeTLB pages.

The underflow issue that the original commit fixes still remains fixed
as well.

Without this fix, used\_hpages would keep on leaking if
hugetlb\_acct\_memory() fails.

## Affected and fixed versions

- Linux: \>= a833a693a490ecff8ba377654c6d4d333718b6b1, \< 5eac1322a7b14b8cd05ec896618278b90fba7f39; \>= a833a693a490ecff8ba377654c6d4d333718b6b1, \< f055897c975d079a90af873c791ab58cf0f6f2a5; \>= a833a693a490ecff8ba377654c6d4d333718b6b1, \< 1d3f9bb4c8af70304d19c22e30f5d16a2d589bb5; adb5c2e55524e3a96b02c3904b0bb6d5a5404d21; \>= 6.14.8, \< 6.15 (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 6.15 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43286. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43286.md
Affected: Linux >= a833a693a490ecff8ba377654c6d4d333718b6b1, < 5eac1322a7b14b8cd05ec896618278b90fba7f39; >= a833a693a490ecff8ba377654c6d4d333718b6b1, < f055897c975d079a90af873c791ab58cf0f6f2a5; >= a833a693a490ecff8ba377654c6d4d333718b6b1, < 1d3f9bb4c8af70304d19c22e30f5d16a2d589bb5; adb5c2e55524e3a96b02c3904b…
Fixed in: Linux 5eac1322a7b14b8cd05ec896618278b90fba7f39, Linux 1d3f9bb4c8af70304d19c22e30f5d16a2d589bb5, Linux 6.15

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43286 being exploited?

There is no confirmed exploitation: CVE-2026-43286 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43286?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-43286?

Linux \>= a833a693a490ecff8ba377654c6d4d333718b6b1, \< 5eac1322a7b14b8cd05ec896618278b90fba7f39; \>= a833a693a490ecff8ba377654c6d4d333718b6b1, \< f055897c975d079a90af873c791ab58cf0f6f2a5; \>= a833a693a490ecff8ba377654c6d4d333718b6b1, \< 1d3f9bb4c8af70304d19c22e30f5d16a2d589bb5; adb5c2e55524e3a96b02c3904b0bb6d5a5404d21; \>= 6.14.8, \< 6.15; Linux 6.15.

### Is there a fix for CVE-2026-43286?

Yes. Fixed in Linux 5eac1322a7b14b8cd05ec896618278b90fba7f39, Linux 1d3f9bb4c8af70304d19c22e30f5d16a2d589bb5, Linux 6.15. Upgrade Linux to 6.15 or later.

### How do I check if I'm affected by CVE-2026-43286?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5eac1322a7b14b8cd05ec896618278b90fba7f39>
- patch: <https://git.kernel.org/stable/c/f055897c975d079a90af873c791ab58cf0f6f2a5>
- patch: <https://git.kernel.org/stable/c/1d3f9bb4c8af70304d19c22e30f5d16a2d589bb5>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43286>

HTML: <https://flawdb.com/CVE-2026-43286> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43286>
