AMD Ryzen™ AI Software

Bulletin ID:   AMD-SB-7017
Potential Impact: Arbitrary Code Execution, System Crash
Severity: High

Summary

AMD Ryzen™ AI Software includes the tools and runtime libraries for optimizing and deploying AI inference on AMD Ryzen™ AI powered PCs. Ryzen™ AI software enables applications to run on the neural processing unit (NPU) built in the AMD XDNA™ architecture.  

An external researcher reported four potential vulnerabilities in AMD RyzenTM AI Software caused by improper input validation in the NPU driver.  The first three vulnerabilities may allow an attacker to supply a specially crafted pointer which could potentially lead to arbitrary code execution. The fourth vulnerability may allow an attacker to provide a buffer with unexpected size, which could potentially lead to a system crash.

CVE Details

Refer to Glossary for explanation of terms

CVE

CVSS3.1 Base Score

CVE Description

CVE-2024-21974

8.8 (High)

AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Improper input validation in the NPU driver could allow an attacker to supply a specially crafted pointer potentially leading to arbitrary code execution.

CVE-2024-21975

8.8 (High)

AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Improper input validation in the NPU driver could allow an attacker to supply a specially crafted pointer potentially leading to arbitrary code execution.

CVE-2024-21976

8.8 (High)

AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Improper input validation in the NPU driver could allow an attacker to supply a specially crafted pointer potentially leading to arbitrary code execution.

CVE-2024-21949

5.5 (Medium)

AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Improper validation of user input in the NPU driver could allow an attacker to provide a buffer with unexpected size, potentially leading to system crash.

Specific CVSS scores may change subject to your implementation. We encourage you to calculate CVSS scores independently for your system.

Affected Products

AMD Ryzen™ AI Software

Mitigation

AMD recommends updating to the AMD Ryzen™ AI Software version 1.2 (or higher).

Acknowledgement

AMD thanks qingzhe jiang @ Lenovo GIC security lab for reporting this issue and engaging in coordinated vulnerability disclosure. 

Revisions

Revision Date  

Description  

2024-11-12

Initial publication  

DISCLAIMER 

The information contained herein is for informational purposes only and is subject to change without notice. While every precaution has been taken in the preparation of this document, it may contain technical inaccuracies, omissions and typographical errors, and AMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no representations or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no liability of any kind, including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with respect to the operation or use of AMD hardware, software or other products described herein. Any computer system has risks of security vulnerabilities that cannot be completely prevented or mitigated. No license, including implied or arising by estoppel, to any intellectual property rights is granted by this document. Terms and limitations applicable to the purchase or use of AMD’s products are as set forth in a signed agreement between the parties or in AMD's Standard Terms and Conditions of Sale.

AMD, the AMD Arrow logo, Ryzen, XDNA and combinations thereof are trademarks of Advanced Micro Devices, Inc. CVE and the CVE logo are registered trademarks of The MITRE Corporation. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.

Third party content may be licensed to you directly by the third party that owns the content and is not licensed to you by AMD. ALL LINKED THIRD-PARTY CONTENT IS PROVIDED ‘AS IS’ WITHOUT A WARRANTY OF ANY KIND. USE OF SUCH THIRD-PARTY CONTENT IS DONE AT YOUR SOLE DISCRETION AND UNDER NO CIRCUMSTANCES WILL AMD BE LIABLE TO YOU FOR ANY THIRD-PARTY CONTENT. YOU ASSUME ALL RISK AND ARE SOLELY RESPONSIBILITY FOR ANY DAMAGES THAT MAY ARISE FROM YOUR USE OF THIRD-PARTY CONTENT.

© 2024 Advanced Micro Devices, Inc. All rights reserved.