Linux Kernel NULL Pointer Dereference Vulnerability in LoongArch Architecture

Vulnerability

A vulnerability in the Linux kernel's LoongArch architecture has been addressed, which involved missing NULL checks for the kstrdup() function. This oversight could lead to a NULL pointer dereference. The issue was particularly relevant during early boot, when memory allocation failures could occur while the kernel was parsing the CPU model from the device tree, potentially causing a kernel oops. The vulnerability affects several versions of the Linux kernel.

Impact

The vulnerability could lead to a NULL pointer dereference, causing a kernel oops, which is a type of error that can disrupt system operations and stability.

Reproduction

The vulnerability can be reproduced by booting a system with a LoongArch CPU model that is not properly handled due to the missing NULL checks. This can be done by using a device tree that causes the kernel to attempt to read the CPU model without the necessary memory allocation checks in place.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The specific commit that addresses this issue is available in the Linux kernel stable tree.

Added: Apr 24, 2026, 7:52 PM
Updated: Apr 24, 2026, 7:52 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.4
remediation
7.7
relevance
6.6
threat
4.8
urgency
2.9
incentive
0.0

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