Execution Unit Scheduler Contention Side-Channel Vulnerability on AMD Processors

Bulletin ID: AMD-SB-1039
Potential Impact: Information Disclosure
Severity: Medium

Summary

Execution unit scheduler contention may lead to a side channel vulnerability found on AMD CPU microarchitectures codenamed “Zen 1”, “Zen 2”, “Zen 3” and “Zen 4” that use simultaneous multithreading (SMT). By measuring the contention level on scheduler queues an attacker may potentially leak sensitive information.

CVE Details

CVE-2021-46778

Execution unit scheduler contention may lead to a side channel vulnerability found on AMD CPU microarchitectures codenamed “Zen 1”, “Zen 2” ,“Zen 3” and "Zen 4" that use simultaneous multithreading (SMT).

Affected Products

Desktop

  • AMD Athlon™ 2000 Series Desktop processors
  • AMD Athlon™ 3000 Series Desktop processors
  • AMD Ryzen™ 2000 Series Desktop processors
  • AMD Ryzen™ 3000 Series Desktop processors
  • AMD Ryzen™ 5000 Series Desktop processors
  • AMD Ryzen™ 7000 Series Desktop processors
  • AMD Ryzen™ 3000 Series Desktop processors with Radeon™ Graphics
  • AMD Ryzen™ 4000 Series Desktop processors with Radeon™ Graphics
  • AMD Ryzen™ 5000 Series Desktop processors with Radeon™ Graphics

High-End Desktop (HEDT)

  • AMD Ryzen™ Threadripper™ 2000 Series processors
  • AMD Ryzen™ Threadripper™ 3000 Series processors
  • AMD Ryzen™ Threadripper™ 7000 Series processors

Workstation

  • AMD Ryzen™ Threadripper™ PRO 3000 Series processors
  • AMD Ryzen™ Threadripper™ PRO 5000 Series processors
  • AMD Ryzen™ Threadripper™ PRO 7000 Series processors

Mobile

  • AMD Ryzen™ 2000 Series Mobile processors with Radeon™ Graphics
  • AMD Athlon™ 3000 Series Mobile processors with Radeon™ Graphics
  • AMD Ryzen™ 3000 Series Mobile processors with Radeon™ Graphics
  • AMD Ryzen™ 4000 Series Mobile processors with Radeon™ Graphics
  • AMD Ryzen™ 5000 Series Mobile processors with Radeon™ Graphics
  • AMD Ryzen™ 6000 Series Mobile processors with Radeon™ Graphics
  • AMD Ryzen™ 7000 Series Mobile processors with Radeon™ Graphics
  • AMD Ryzen™ 8000 Series Mobile processors with Radeon™ Graphics

Chromebook

  • AMD Athlon™ 3000 Series Mobile processor with Radeon™ Graphics
  • AMD Athlon™ 7000 Series Mobile processor with Radeon™ Graphics
  • AMD Ryzen™ 3000 Series Mobile processor with Radeon™ Graphics
  • AMD Ryzen™ 5000 Series Mobile processor with Radeon™ Graphics
  • AMD Ryzen™ 7000 Series Mobile processor with Radeon™ Graphics

Server

  • 1st Gen AMD EPYC™ processors
  • 2nd Gen AMD EPYC™ processors
  • 3rd Gen AMD EPYC™ processors 
  • 4th Gen AMD EPYC™ processors

Mitigation

AMD recommends software developers employ existing best practices1,2, including constant-time algorithms and avoiding secret-dependent control flows where appropriate to help mitigate this potential vulnerability.

Acknowledgement

AMD thanks the following for reporting these issues and engaging in coordinated vulnerability disclosure: 

CVE-2021-46778: 

  • Stefan Gast, Daniel Gruss, Jonas Jiffinger and Martin Schwarzl of Lamarr Security Researcher/Graz University of Technology
  • Simone Franza, Andreas Kogler and Markus Kostl of Graz University of Technology
  • Gururaj Saileshwar of Georgia Institute of Technology

References

  1. https://www.bearssl.org/constanttime.html
  2. https://www.chosenplaintext.ca/articles/beginners-guide-constant-time-cryptography.html

Revisions

Revision Date  

Description  

12-18-2023

Added “Zen 4” products to the affected list

08-12-2022 

Added AMD Ryzen™ 6000 Series Mobile processors 

08-09-2022 

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, and combinations thereof are trademarks of Advanced Micro Devices, Inc. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.

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