CVE-2024-39277
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-39277 is a vulnerability in the Linux kernel's DMA mapping benchmark functionality, discovered by the Linux Verification Center (linuxtesting.org). The issue occurs when cpumask_of_node() is called with NUMA_NO_NODE inside do_map_benchmark(), leading to an array-index-out-of-bounds condition. The vulnerability affects multiple versions of the Linux kernel including versions up to 5.11, versions 5.15 to 5.15.161, 6.1 to 6.1.93, 6.6 to 6.6.33, and 6.9 to 6.9.4 (NVD).

Technical details

The vulnerability manifests as an array-index-out-of-bounds error in ./arch/x86/include/asm/topology.h:72:28, where an index of -1 is attempted to be used with a 'cpumask [64][1]' array type. This occurs when cpumask_of_node() is called with NUMA_NO_NODE parameter, resulting in an invalid array access. The issue was identified through UBSAN (Undefined Behavior Sanitizer) reports. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (High) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could potentially lead to system instability or crashes when using the DMA mapping benchmark functionality, particularly in systems utilizing NUMA configurations. The high CVSS score of 7.8 indicates significant potential impact on system confidentiality, integrity, and availability (NVD).

Exploitability

The vulnerability requires local access with low privilege requirements and no user interaction. The attack complexity is rated as low, indicating relatively straightforward exploitation conditions (NVD).

Mitigation and workarounds

A fix has been implemented that modifies the way cpumask_of_node() is called within the kernel's DMA mapping benchmark functionality. The patch moves the cpumask_of_node() call to the point of use when binding a kernel thread to a cpuset of a particular node, ensuring proper handling of the NUMA_NO_NODE case. Users should update to the patched versions of the Linux kernel (Kernel Patch).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.94-1

Fixed

bullseye

linux

Fixed

sid

linux: 6.9.7-1

Fixed

trixie

linux: 6.9.7-1

Fixed

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-hwe-6.17
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-nvidia-6.14
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-7.0
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management