Re: (subset) [PATCH v3 0/9] userfaultfd: assorted fixes (part 1)
From: David Hildenbrand (Arm)
Date: Wed Nov 18 2026 - 10:38:31 EST
On 11/18/26 16:20, David Hildenbrand wrote:
> On Tue, 17 Nov 2026 23:28:40 -0500, Tal Zussman wrote:
>> This is a first batch of userfaultfd fixes, with more to come.
>>
>> These were found by a mix of regular old LLM review and by having an LLM
>> write a TLA+ model of uffd interactions with PTE bits and other state
>> and seeing what issues fell out.
>>
>> Most of these fix places where mm code loses uffd-wp or RWP protection
>> while moving or migrating an entry. Userspace then either misses writes
>> and accesses, or gets pages reported that nobody touched.
>> There is also a hang in UFFDIO_MOVE, and UFFDIO_ZEROPAGE modifying a
>> file through a private mapping.
>>
>> [...]
>
> Applied, thanks!
>
> tree: mm/core.git
> branch: thp-7.5.misc
>
> Applied patches will appear soon in mm-next, followed by linux-next.
>
> Please report any outstanding bugs that were missed during review, so we
> can either drop the patch series or decide how to fix it up.
>
> It is encouraged to provide Acked-bys, Reviewed-bys, and Tested-bys even
> though the patches have already been applied. If possible, patch trailers
> will be updated.
>
> Note that commit hashes shown below are subject to change due to rebase,
> trailer updates or similar. Further, this is not a guarantee that the
> patches will go upstream. If in doubt, please check the listed branch.
>
> [6/9] mm/huge_memory: build the moved huge zero PMD from the destination VMA
> https://git.kernel.org/mm/core/c/ec36bf72
Aaaaaand undone. :)
--
Cheers,
David