In the Linux kernel, the following vulnerability has been resolved:
LoongArch: mm: Add p?d_leaf() definitions
When I do LTP test, LTP test case ksm06 caused panic at breakksmpmdentry -> pmdleaf (Huge page table but False) -> pte_present (panic)
The reason is pmdleaf() is not defined, So like commit 501b81046701 ("mips: mm: add p?dleaf() definitions") add p?d_leaf() definition for LoongArch.