Linux Kernel LoongArch cpumask_of_node NUMA_NO_NODE Handling Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's LoongArch architecture regarding the cpumask_of_node() function. The function's current implementation cannot properly manage NUMA_NO_NODE, a valid index. This issue has been addressed by adding a check to ensure correct handling of NUMA_NO_NODE.

Impact

This vulnerability could lead to incorrect CPU node masking in NUMA configurations, potentially causing performance issues or improper resource allocation.

Reproduction

The vulnerability can be reproduced by calling the cpumask_of_node() function with NUMA_NO_NODE as the argument. This will demonstrate that the function does not handle the index correctly, as NUMA_NO_NODE is a valid index that should be accounted for.

Remediation

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

Added: May 6, 2026, 2:07 PM
Updated: May 6, 2026, 2:07 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
3.9
remediation
7.7
relevance
7.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.