On Thu, 17 Oct 2024 18:17:09 -0700 John Hubbard <jhubbard@xxxxxxxxxx> wrote: I added cc:stable to both of these. Which might be inappropriate since "patch #2 is not really required". > mm/gup: stop leaking pinned pages in low memory conditions Fixes: 24a95998e9ba ("mm/gup.c: simplify and fix check_and_migrate_movable_pages() return codes") In mainline since v6.1! > mm/gup: memfd: stop leaking pinned pages in low memory conditions Fixes: 89c1905d9c14 ("mm/gup: introduce memfd_pin_folios() for pinning memfd folios") Since v6.11. So these are quite independent fixes. Kernels 6.1.x ... 6.10.x will have the first patch and not the second. That's presumably an untested combination, fingers crossed.