{"id":"CVE-2026-43212","state":"PUBLISHED","title":"LoongArch: Make cpumask_of_node() robust against NUMA_NO_NODE","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Make cpumask_of_node() robust against NUMA_NO_NODE\n\nThe arch definition of cpumask_of_node() cannot handle NUMA_NO_NODE -\nwhich is a valid index - so add a check for this.","publishedAt":"2026-05-06T11:28:15.272Z","updatedAt":"2026-08-05T12:26:37.524Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"b5bf05e05cdf489a04137e4da407de9d4cca5295","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"bb1a54f7f011f19ed936632698eae574e0b91063","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"92adfb707beec0fe956424373654a70aad35ea13","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"61a56df2fbaad3a4d00f0c6a904b5d1ee8982eb4","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"1d8f2f024801019d85159a020b72a4424b46bcf4","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"94b0c831eda778ae9e4f2164a8b3de485d8977bb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/include/asm/topology.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.165","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.128","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/include/asm/topology.h"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43212.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43212","state":"PUBLISHED","datePublished":"2026-05-06T11:28:15.272Z","dateUpdated":"2026-08-05T12:26:37.524Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:55.993Z"},"containers":{"cna":{"title":"LoongArch: Make cpumask_of_node() robust against NUMA_NO_NODE","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: Make cpumask_of_node() robust against NUMA_NO_NODE\n\nThe arch definition of cpumask_of_node() cannot handle NUMA_NO_NODE -\nwhich is a valid index - so add a check for this."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"b5bf05e05cdf489a04137e4da407de9d4cca5295","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"bb1a54f7f011f19ed936632698eae574e0b91063","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"92adfb707beec0fe956424373654a70aad35ea13","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"61a56df2fbaad3a4d00f0c6a904b5d1ee8982eb4","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"1d8f2f024801019d85159a020b72a4424b46bcf4","versionType":"git"},{"version":"d4b6f1562a3c3284adcef81d6e4f183d7d34b8a9","status":"affected","lessThan":"94b0c831eda778ae9e4f2164a8b3de485d8977bb","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/include/asm/topology.h"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.19","versionType":"semver"},{"version":"6.1.165","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.128","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/loongarch/include/asm/topology.h"]}],"references":[{"url":"https://git.kernel.org/stable/c/b5bf05e05cdf489a04137e4da407de9d4cca5295"},{"url":"https://git.kernel.org/stable/c/bb1a54f7f011f19ed936632698eae574e0b91063"},{"url":"https://git.kernel.org/stable/c/92adfb707beec0fe956424373654a70aad35ea13"},{"url":"https://git.kernel.org/stable/c/61a56df2fbaad3a4d00f0c6a904b5d1ee8982eb4"},{"url":"https://git.kernel.org/stable/c/1d8f2f024801019d85159a020b72a4424b46bcf4"},{"url":"https://git.kernel.org/stable/c/94b0c831eda778ae9e4f2164a8b3de485d8977bb"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable LoongArch macro is reached from local kernel interfaces and device/PMU/sysfs-style paths, not by remote network input.\nAC:L - Supplying or encountering NUMA_NO_NODE leads directly to an out-of-bounds cpus_on_node[-1] access; no attacker-uncontrolled race or timing condition is required.\nPR:L - A basic local user can plausibly trigger exposed local inspection/control paths once an affected device or subsystem instance exists. Where a specific path is admin-only, the macro bug itself is still reachable through normal local kernel-facing interfaces, so the higher-severity PR:L is selected.\nUI:N - No victim user action is needed beyond the attacker invoking the local interface.\nS:U - The impact remains within the kernel and its managed resources; there is no guest-to-host, IOMMU, or other separate security authority boundary crossing.\nC:H - The bug is an out-of-bounds read of a cpumask object before the cpus_on_node array, and cpumask data may be exposed or used through sysfs/perf-style paths.\nI:H - The invalid cpumask pointer can be consumed by cpumask helpers and affinity-setting paths, and an array-underflow kernel memory access is treated as potentially enabling corruption or control of kernel decisions.\nA:H - Invalid cpumask access can produce UBSAN/oops/panic behavior or destabilize kernel CPU-affinity handling, giving high availability impact."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:26:37.524Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.1.165"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.6.128"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.12.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.18.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"6.19.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.19","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}