In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: ptdump: Check the page tables aren't freed when accessing An open debugfs file keeps the KVM structure alive, but does not prevent mmu notifier release from freeing the stage-2 page tables when the VMM’s address space is torn down. Therefore page tables belonging to the mmus could have been freed when a thread opens or reads the ptdump files. Take the mmu_lock and check mmu->pgt is still alive before accessing the page tables. Also for the ipa_range file and stage2_levels file, switch from keeping the pointer to the page tables to keeping the pointer to the mmu.
https://git.kernel.org/stable/c/c1d29c78ef52c29ab37f886ad643752734fdc932
https://git.kernel.org/stable/c/942fdac99284d08d6079a0979d00a76402cff08e
https://git.kernel.org/stable/c/7d7199bdf77a3a6ed74d0037133f435a7febe97c
https://git.kernel.org/stable/c/642588ea2f2cd471661f289b004c23a81449b30d