Linux Kernel LoongArch p?d_leaf() Definition Vulnerability

Vulnerability

A vulnerability in the Linux kernel's memory management for the LoongArch architecture has been addressed. The issue arose because the pmd_leaf() function, which is crucial for handling huge page tables, was not defined. This omission led to a kernel panic during the LTP test case ksm06. The vulnerability has been resolved by adding the necessary p?d_leaf() definitions, similar to a previous fix for the MIPS architecture.

Impact

The vulnerability could cause a kernel panic, disrupting system operations and potentially leading to a denial of service.

Reproduction

The vulnerability can be reproduced by running the LTP test case ksm06 on a system with the affected Linux kernel version for the LoongArch architecture. The test case will trigger a kernel panic due to the undefined pmd_leaf() function, which is needed to properly manage huge page tables.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.

Added: Sep 17, 2025, 3:34 PM
Updated: Sep 17, 2025, 3:34 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.