CVE-2026-99925: mm/mremap: fix calling fixup_hugetlb_reservations() on the wrong VMA
In the Linux kernel, the following vulnerability has been resolved:
mm/mremap: fix calling fixuphugetlbreservations() 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 fixuphugetlbreservations() 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.
Affected Software
Event History
Frequently Asked Questions
Who is most likely to be affected by this issue?
Systems using hugetlb-backed VMAs and mremap operations are the relevant exposure. The described impact occurs when moving page tables fails, such as after a page-table allocation failure.
What happens if the vulnerable path is triggered?
Reservations associated with the VMA can be lost and stranded. Later allocations of new hugetlb folios in that VMA may fail because they cannot use the existing reservations.
Is this necessarily triggered by every mremap operation?
No. The issue is described for the case where page tables cannot be moved and the old VMA is retained; a page-table allocation failure is given as an example.