Re: [PATCH 0/3] mm: fix PTE table overruns with folded PMDs
From: David Hildenbrand
Date: Thu Nov 12 2026 - 05:17:00 EST
On Wed, 11 Nov 2026 22:59:58 +0100, David Hildenbrand (Arm) wrote:
> Fix 3 pmd_addr_end() abusers that can result in PTE table overruns with
> folded PMDs. Let's factor out a helper from a place where we
> recently stumbled over something related, and use it to fix these 3
> cases.
>
> I'd call these more urgent because they can corrupt memory, although
> folded PMDs are uncommon.
>
> [...]
Applied, thanks!
tree: mm/core.git
branch: for-next-fixes
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.
[1/3] mm/userfaultfd: fix PTE table overruns in UFFDIO_MOVE
https://git.kernel.org/mm/core/c/654b0d18
[2/3] mm/rmap: fix PTE table overruns during batched unmap
https://git.kernel.org/mm/core/c/bd94d906
[3/3] mm/rmap: fix PTE table overruns during batched reference checks
https://git.kernel.org/mm/core/c/dbedd8e6
--
Cheers,
David