[PATCH mm-hotfixes v3 2/4] x86/mm/pat: acquire mmap lock on page table free to avoid ptdump UAF
Dave Hansen
dave.hansen at intel.com
Tue Jul 14 10:29:51 PDT 2026
On 7/14/26 10:24, Lorenzo Stoakes wrote:
...
> Resolve the issue by acquiring the mmap read lock on init_mm which prevents
> a concurrent ptdump as it acquires the write lock.
The move over to locking on init_mm instead of current->mm fixes the
earlier issues I saw with this. Thanks for doing that!
Reviewed-by: Dave Hansen <dave.hansen at linux.intel.com>
More information about the linux-arm-kernel
mailing list