CVE-2023-53361 LoongArch: mm: Add p?d_leaf() definitions

Medium 5.5 Published Updated

Missing page table leaf definitions in the LoongArch Linux kernel cause a null pointer dereference and system panic during specific memory tests.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-53361?

CVE-2023-53361 is a medium-severity vulnerability in Linux kernel, published on 17 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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 break_ksm_pmd_entry -> pmd_leaf (Huge page table but False) -> pte_present (panic)

The reason is pmd_leaf() is not defined, So like commit 501b81046701 ("mips: mm: add p?d_leaf() definitions") add p?d_leaf() definition for LoongArch.

Which versions are affected by CVE-2023-53361?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-53361?

Apply the vendor's patch.

Is CVE-2023-53361 being exploited?

There is no known exploitation of CVE-2023-53361 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-53361, DEBIAN-CVE-2023-53361, GHSA-xxvw-xxhw-vp79, UBUNTU-CVE-2023-53361.

Is CVE-2023-53361 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free