CVE-2024-27042
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-27042 is a vulnerability discovered in the Linux kernel affecting the AMD GPU driver (amdgpu). The issue was identified in the amdgpu_discovery_reg_base_init() function where an out-of-bounds access could occur when accessing the array 'adev->vcn.vcn_config' before checking if the index 'adev->vcn.num_vcn_inst' is within the bounds of the array. The vulnerability affects Linux kernel versions from 5.19 up to (excluding) 6.6.23, from 6.7 up to (excluding) 6.7.11, and from 6.8 up to (excluding) 6.8.2 (NVD).

Technical details

The vulnerability is classified as CWE-129 (Improper Validation of Array Index) with a CVSS v3.1 base score of 7.8 (HIGH). The technical issue occurs in the drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c file where array bounds checking was performed after array access, potentially leading to out-of-bounds memory access. The vulnerability requires local access and low privileges to exploit (NVD).

Impact

The vulnerability could lead to a system crash if exploited, as it involves improper array index validation that could result in accessing memory outside the intended bounds. This could potentially affect system stability and security on systems running the affected Linux kernel versions with AMD GPU hardware (Rapid7).

Exploitability

The vulnerability requires local access with low privileges to exploit. No known exploits in the wild have been reported at the time of assessment. The attack complexity is considered low, but requires authenticated local access to the system (NVD).

Mitigation and workarounds

The fix involves moving the bounds check before the array access in the amdgpu_discovery_reg_base_init() function. This ensures that 'adev->vcn.num_vcn_inst' is within the bounds of the array before it is used as an index. The patch has been merged into the Linux kernel, and users are advised to upgrade to kernel versions 6.6.23, 6.7.11, or 6.8.2 or later to address this vulnerability (Kernel Git).

Additional resources


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-80913NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80905NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 04, 2026
CVE-2026-80898NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80897NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80892NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 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