# CVE-2026-53154: mm/hugetlb: restore reservation on error in hugetlb folio copy paths

> 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-772
- **Published:** 2026-06-25T08:38:38.168Z
- **Modified:** 2026-11-06T17:18:11.560Z

## Who should check

- Anyone running Linux \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< 8d6e1dd3ad1340cd8b6d554b7aa93d8f0a1c6d38; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< e47bf16af3c45470ea32f2241fa69aefe0dd61bd; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< c72469ac0f274bde3f0df60a4584e14a123d0aa6; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< 45e33d43243d71d089af42f5077b8213cee6610f; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< 40c81856e622a9dc59294a90d169ac07ea25b0b0
- Anyone running Linux 6.4

## Description

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

mm/hugetlb: restore reservation on error in hugetlb folio copy paths

Two sites in mm/hugetlb.c allocate a hugetlb folio via
alloc\_hugetlb\_folio() (consuming a VMA reservation) and then call
copy\_user\_large\_folio(), which became int-returning in commit 1cb9dc4b475c
("mm: hwpoison: support recovery from HugePage copy-on-write faults") and
can now fail (e.g.  -EHWPOISON on a hwpoisoned source page).  On the
failure path, folio\_put() restores the global hugetlb pool count through
free\_huge\_folio(), but the per-VMA reservation map entry is left marked
consumed:

  - hugetlb\_mfill\_atomic\_pte() resubmission path (UFFDIO\_COPY)
  - copy\_hugetlb\_page\_range() fork-time CoW path when
    hugetlb\_try\_dup\_anon\_rmap() fails (rare: pinned hugetlb anon
    folio under fork)

User-visible effect: on UFFDIO\_COPY into a private hugetlb VMA where the
resubmission copy fails, the reservation for that address is leaked from
the VMA's reserve map.  A subsequent fault at the same address takes the
no-reservation path, and under hugetlb pool pressure the task is SIGBUSed
at an address it had previously reserved.  The fork-time CoW path leaks
the same way in the child VMA's reserve map, though it requires the much
rarer combination of pinned hugetlb anon page + hwpoisoned source.

Add the missing restore\_reserve\_on\_error() call before folio\_put() on both
error paths.

## Affected and fixed versions

- Linux: \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< 8d6e1dd3ad1340cd8b6d554b7aa93d8f0a1c6d38; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< e47bf16af3c45470ea32f2241fa69aefe0dd61bd; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< c72469ac0f274bde3f0df60a4584e14a123d0aa6; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< 45e33d43243d71d089af42f5077b8213cee6610f; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< 40c81856e622a9dc59294a90d169ac07ea25b0b0 (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- Upgrade Linux to 40c81856e622a9dc59294a90d169ac07ea25b0b0 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-53154. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53154.md
Affected: Linux >= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, < 8d6e1dd3ad1340cd8b6d554b7aa93d8f0a1c6d38; >= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, < e47bf16af3c45470ea32f2241fa69aefe0dd61bd; >= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, < c72469ac0f274bde3f0df60a4584e14a123d0aa6; >= 1cb9dc4b475c7418f925ab0…
Fixed in: Linux 8d6e1dd3ad1340cd8b6d554b7aa93d8f0a1c6d38, Linux 45e33d43243d71d089af42f5077b8213cee6610f, Linux 40c81856e622a9dc59294a90d169ac07ea25b0b0

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-53154 being exploited?

There is no confirmed exploitation: CVE-2026-53154 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-53154?

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

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

Linux \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< 8d6e1dd3ad1340cd8b6d554b7aa93d8f0a1c6d38; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< e47bf16af3c45470ea32f2241fa69aefe0dd61bd; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< c72469ac0f274bde3f0df60a4584e14a123d0aa6; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< 45e33d43243d71d089af42f5077b8213cee6610f; \>= 1cb9dc4b475c7418f925ab0c97b6750007d9f52e, \< 40c81856e622a9dc59294a90d169ac07ea25b0b0; Linux 6.4.

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

Yes. Fixed in Linux 8d6e1dd3ad1340cd8b6d554b7aa93d8f0a1c6d38, Linux 45e33d43243d71d089af42f5077b8213cee6610f, Linux 40c81856e622a9dc59294a90d169ac07ea25b0b0. Upgrade Linux to 40c81856e622a9dc59294a90d169ac07ea25b0b0 or later.

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

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/8d6e1dd3ad1340cd8b6d554b7aa93d8f0a1c6d38>
- patch: <https://git.kernel.org/stable/c/e47bf16af3c45470ea32f2241fa69aefe0dd61bd>
- patch: <https://git.kernel.org/stable/c/c72469ac0f274bde3f0df60a4584e14a123d0aa6>
- patch: <https://git.kernel.org/stable/c/45e33d43243d71d089af42f5077b8213cee6610f>
- patch: <https://git.kernel.org/stable/c/40c81856e622a9dc59294a90d169ac07ea25b0b0>

## 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-53154>

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