mm/mremap: fix calling fixup_hugetlb_reservations() on the wrong VMA
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
mm/mremap: fix calling fixup_hugetlb_reservations() on the wrong VMA
In case we fail to move the page tables, for example, because we fail to allocate a page table, we actually keep the old VMA.
Calling fixup_hugetlb_reservations() on the old VMA is wrong. Fix it by just calling it on the VMA that will be removed.
The user-visible impact is that the VMA loses its reservations, meaning that the existing reservations get stranded (leaked) and new hugetlb folios that are getting allocated in the VMA cannot make use of the reservations, failing these allocations.
| Product | Versions |
|---|---|
| Linux Linux | b714ccb02a76e170f3e6475749ed0812ee25f777 to before fb307eadea56944075197c1d34905b458cf561f1 Affectedb714ccb02a76e170f3e6475749ed0812ee25f777 to before f240a59a02f75c537568423da72a581dd9886ffa Affectedb714ccb02a76e170f3e6475749ed0812ee25f777 to before cc078ca0b5b79b4a9e514b7f1b489f2afc83b195 Affected |
| Linux Linux | 6.15 Affectedbefore 6.15 Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.