Impact
In LoongArch builds of the Linux kernel the absence of a proper DIRECT_MAP_PHYSMEM_END definition causes the memory‑allocation helper functions to use a fallback constant that can extend beyond the vmemmap window. The resulting out‑of‑bounds write corrupts page tables, an out‑of‑bounds buffer overflow (CWE‑119) that can silently destabilize the system and potentially enable privilege escalation when the corrupted kernel memory is executed.
Affected Systems
The flaw targets Linux kernel builds for the LoongArch architecture, specifically the Linux:Linux vendor’s kernels. CPUs with fewer physical address bits than MAX_PHYSMEM_BITS, such as the Loongson‑2K series and legacy Loongson‑3C6000 configurations, are affected until the patch that defines DIRECT_MAP_PHYSMEM_END is applied. All kernel revisions before the commit that introduces the correct boundary are vulnerable.
Risk and Exploitability
The CVSS score of 7.8 marks the issue as high‑severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, indicating that no public exploits are documented. An attacker with local privileged access could trigger the allocation routines that overrun the vmemmap window, causing kernel memory corruption that may lead to a system crash or privilege escalation.
OpenCVE Enrichment