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.
Affected products and versions
References
- git.kernel.org/stable/c/fb307eadea56944075197c1d34905b458cf561f1
- git.kernel.org/stable/c/f240a59a02f75c537568423da72a581dd9886ffa
- git.kernel.org/stable/c/cc078ca0b5b79b4a9e514b7f1b489f2afc83b195
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.