The patch titled Subject: mm-page_table_check-fix-accessing-unmapped-ptep-fix has been added to the -mm mm-hotfixes-unstable branch. Its filename is mm-page_table_check-fix-accessing-unmapped-ptep-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-page_table_check-fix-accessing-unmapped-ptep-fix.patch This patch will later appear in the mm-hotfixes-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-page_table_check-fix-accessing-unmapped-ptep-fix Date: Thu May 26 11:12:12 AM PDT 2022 account for ptep alteration, per Matthew Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx> Cc: Miaohe Lin <linmiaohe@xxxxxxxxxx> Cc: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx> Cc: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx> Cc: David Rientjes <rientjes@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/page_table_check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/page_table_check.c~mm-page_table_check-fix-accessing-unmapped-ptep-fix +++ a/mm/page_table_check.c @@ -256,6 +256,6 @@ void __page_table_check_pte_clear_range( addr += PAGE_SIZE; ptep++; } - pte_unmap(ptep); + pte_unmap(ptep - PTRS_PER_PTE); } } _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are kexec_file-drop-weak-attribute-from-arch_kexec_apply_relocations-fix.patch mm-page_table_check-fix-accessing-unmapped-ptep-fix.patch mm-page_alloc-remotely-drain-per-cpu-lists-checkpatch-fixes.patch mm-shmemc-suppress-shift-warning.patch linux-next-rejects.patch linux-next-git-rejects.patch mm-oom_killc-fix-vm_oom_kill_table-ifdeffery.patch