Automated Threat Modeling

AMD GPU Driver Heap Overflow (CVE-2024-36342): Brief Summary and Patch Guidance

CVE-2024-36342 is a heap overflow in AMD's GPU kernel-mode driver. A local user with low privileges may be able to use it to run code with kernel privileges on Instinct accelerators, Radeon graphics cards, Ryzen processors with integrated graphics, and embedded processors. This summary covers the technical details, affected versions, and official patch information.

CVE Analysis

9 min read

ZeroPath CVE Analysis
ZeroPath CVE Analysis

2025-09-06

AMD GPU Driver Heap Overflow (CVE-2024-36342): Brief Summary and Patch Guidance
Experimental AI-Generated Content

This CVE analysis is an experimental publication that is completely AI-generated. The content may contain errors or inaccuracies and is subject to change as more information becomes available. We are continuously refining our process.

If you have feedback, questions, or notice any errors, please reach out to us.

[email protected]

Introduction

A heap overflow in AMD's GPU driver makes privilege escalation and arbitrary code execution possible on a wide range of AMD-based systems. It directly affects data center accelerators, consumer graphics cards, and embedded processors, so both enterprise and end-user environments are exposed. AMD's GPU and APU product lines are widely used in AI, high-performance computing, gaming, and embedded systems.

Technical information

CVE-2024-36342 is a heap overflow in AMD GPU drivers caused by improper input validation (CWE-20) in the kernel-mode driver. The flaw is in code that processes user-supplied data passed from user space to kernel space. When the driver allocates heap memory for this data, it does not sufficiently validate the size or structure of the input. A crafted input can therefore overflow the allocated buffer and overwrite adjacent kernel heap memory. That can corrupt control structures or function pointers, and it may allow arbitrary code execution with kernel privileges.

An attacker needs local access and low privileges, and no user interaction is required. The CVSS vector, AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, means a local attack vector, low complexity, low privileges required, no user interaction, changed scope, and high impact on confidentiality, integrity, and availability. The kernel-mode driver is the layer that manages communication between user applications and GPU hardware. No public code snippets or vulnerable code details are available.

Patch information

For AMD Embedded processors, AMD has released updated Platform Initialization (PI) firmware packages. The updates improve input validation, memory management, and access controls in the firmware to mitigate specific security issues.

For example, CVE-2024-36354 is an improper input validation flaw in the boot loader. AMD fixed it in these firmware versions:

ProcessorFixed firmwareReleased
AMD EPYC Embedded 3000 Series ProcessorsSnowyOwl PI 1.1.0.FApril 30, 2025
AMD EPYC Embedded 7002 Series ProcessorsEmbRomePI-SP3 1.0.0.EApril 14, 2025
AMD EPYC Embedded 7003 Series ProcessorsEmbMilanPI-SP3 1.0.0.ADecember 24, 2024

These versions add stronger input validation to prevent exploitation of the boot loader.

CVE-2024-21977 involves incomplete cleanup after a CPU microcode patch loads. AMD fixed it in these versions:

ProcessorFixed firmwareReleased
AMD EPYC Embedded 7003 Series ProcessorsEmbMilanPI-SP3 1.0.0.9October 31, 2024
AMD EPYC Embedded 900 Series ProcessorsEmbGenoaPI-SP5 1.0.0.9December 27, 2024

With these versions, the firmware cleans up properly after loading a CPU microcode patch. That keeps the RDRAND instruction intact and prevents possible entropy degradation.

AMD strongly recommends that users and system administrators apply these firmware updates promptly. AMD's security bulletin lists the specific firmware versions and release dates, along with every affected product and its mitigation: AMD Embedded Vulnerabilities – August 2025.

Affected systems and versions

CVE-2024-36342 affects a wide range of AMD GPU and APU products, including:

  • AMD Instinct MI210, MI250, MI300A, MI300X, MI308X, MI325X (data center accelerators)
  • Radeon RX 7000 series (consumer graphics)
  • Radeon Pro W7000 series, Radeon Pro V710 (professional graphics)
  • AMD Ryzen 4000, 5000, 6000, 7000, 7040 series processors with integrated Radeon graphics
  • AMD Embedded processors (see patch section for specific firmware updates)
  • Dell PowerEdge XE9680 servers with AMD GPUs (see Dell advisory for details)

The fix depends on the product:

  • Embedded processors: use the firmware versions and release dates in the patch section.
  • Data center and workstation GPUs: update to ROCm 6.4 or later.
  • Consumer and professional graphics cards: install the latest AMD graphics drivers as distributed by AMD.
  • Dell PowerEdge servers: apply the firmware and software updates in Dell security advisory DSA-2025-322.

Vendor security history

AMD has fixed security vulnerabilities across its product portfolio before. Earlier issues include speculative execution vulnerabilities such as Spectre variants, trusted execution environment flaws such as CVE-2021-26383, and driver bugs. AMD typically responds with detailed advisories and coordinated patch releases, and works with ecosystem partners on them. It maintains product-specific security bulletins and provides timely updates for affected products.

References

Detect & fix
what others miss

Works with
  • GitHub
  • GitLab
  • Bitbucket
  • Azure DevOps Services
  • Gerrit
  • CVS
  • Jira
  • Linear
  • Slack
  • Security Compass
Explore integrations
Security magnifying glass visualization