[PATCH mm-hotfixes v3 0/4] mm: fix UAF caused by race between ptdump and vmap pgtable freeing

Dave Hansen dave.hansen at intel.com
Tue Jul 14 10:31:52 PDT 2026


On 7/14/26 10:24, Lorenzo Stoakes wrote:
>  arch/arm64/include/asm/ptdump.h |  2 --
>  arch/arm64/mm/mmu.c             | 43 ++++-------------------------------------
>  arch/arm64/mm/ptdump.c          | 11 ++---------
>  arch/x86/mm/pat/set_memory.c    | 14 +++++++++++---
>  include/linux/mmap_lock.h       |  1 +
>  mm/pagewalk.c                   | 36 ++++++++++++++++++++--------------
>  mm/ptdump.c                     |  7 +++++++
>  mm/vmalloc.c                    | 41 ++++++++++++++++++++++++++++++---------
>  8 files changed, 78 insertions(+), 77 deletions(-)

BTW, this is super nice. It fixes a bug, makes the architectures more
consistent, and is effectively neutral on lines-of-code.

Very cool.



More information about the linux-arm-kernel mailing list