Skip to contentSkip to conversation

CVE-2026-43212: LoongArch: Make cpumask_of_node() robust against NUMA_NO_NODE

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 6

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

LoongArch: Make cpumask_of_node() robust against NUMA_NO_NODE

The arch definition of cpumask_of_node() cannot handle NUMA_NO_NODE - which is a valid index - so add a check for this.

The Linux kernel CVE team has assigned CVE-2026-43212 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.1.165 with commit b5bf05e05cdf489a04137e4da407de9d4cca5295
	Fixed in 6.6.128 with commit bb1a54f7f011f19ed936632698eae574e0b91063
	Fixed in 6.12.75 with commit 92adfb707beec0fe956424373654a70aad35ea13
	Fixed in 6.18.16 with commit 61a56df2fbaad3a4d00f0c6a904b5d1ee8982eb4
	Fixed in 6.19.6 with commit 1d8f2f024801019d85159a020b72a4424b46bcf4
	Fixed in 7.0 with commit 94b0c831eda778ae9e4f2164a8b3de485d8977bb

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-43212

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
arch/loongarch/include/asm/topology.h

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/b5bf05e05cdf489a04137e4da407de9d4cca5295
	https://git.kernel.org/stable/c/bb1a54f7f011f19ed936632698eae574e0b91063
	https://git.kernel.org/stable/c/92adfb707beec0fe956424373654a70aad35ea13
	https://git.kernel.org/stable/c/61a56df2fbaad3a4d00f0c6a904b5d1ee8982eb4
	https://git.kernel.org/stable/c/1d8f2f024801019d85159a020b72a4424b46bcf4
	https://git.kernel.org/stable/c/94b0c831eda778ae9e4f2164a8b3de485d8977bb