CyberSecBulletin
CVE-2023-31316NVD status: Awaiting Analysis

AMD Ryzen™ 5000 Series Mobile Processors with…: Improperly Preserved Integrity of Hardware Configuration State During a Power Save/Restore Operation

CVE-2023-31316 is a high-severity improperly preserved integrity of hardware configuration state during a power save/restore operation vulnerability in AMD Ryzen™ 5000 Series Mobile Processors with Radeon™ Graphics from AMD, with a CVSS 4.0 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 0.1% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Check which version of AMD Ryzen™ 5000 Series Mobile Processors with Radeon™ Graphics you run against the affected versions below, and install the vendor's latest release.

Affected products and versions

VendorProductAffected versionsFixed in
AMDAMD Ryzen™ 5000 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 7000 Series Desktop ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ 4000 Series Desktop ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ 5000 Series Desktop Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 7040 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 4000 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 6000 Series Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 7020 Series Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ 7045 Series Mobile Processors with Radeon™ GraphicsNot specified in the recordNot stated
AMDAMD Ryzen™ Embedded V2000 Series ProcessorsNot specified in the recordNot stated
AMDAMD Ryzen™ Embedded V3000 Series ProcessorsNot specified in the recordNot stated
AMDAMD Radeon™ RX 6000 Series Graphics ProductsNot specified in the recordNot stated
AMDAMD Radeon™ RX 7000 Series Graphics ProductsNot specified in the recordNot stated
AMDAMD Radeon™ PRO W7000 Series Graphics ProductsNot specified in the recordNot stated
AMDAMD Radeon™ PRO W6000 Series Graphics ProductsNot specified in the recordNot stated
AMDAMD Instinct™ MI250Not specified in the recordNot stated
AMDAMD Instinct™ MI210Not specified in the recordNot stated
AMDAMD Radeon™ PRO V620Not specified in the recordNot stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
HighSuccess depends on conditions outside the attacker's control.
Attack requirements
PresentThe target must be in a specific state or configuration for the attack to work.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Confidentiality (vulnerable system)
LowLimited loss of confidentiality on the vulnerable system.
Integrity (vulnerable system)
HighSerious loss of integrity on the vulnerable system.
Availability (vulnerable system)
LowLimited loss of availability on the vulnerable system.
Confidentiality (other systems)
LowLimited loss of confidentiality on systems beyond the vulnerable one.
Integrity (other systems)
HighSerious loss of integrity on systems beyond the vulnerable one.
Availability (other systems)
LowLimited loss of availability on systems beyond the vulnerable one.

Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:L/SC:L/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X. Scored by CNA (amd.com).

Official description

Improperly preserved integrity of hardware configuration state during a power save/restore operation in the AMD Secure Processor (ASP) could allow an attacker with the ability to write outside the trusted memory range (TMR) to change the execution flow of the Video Core Next (VCN) firmware potentially impacting confidentiality, integrity, or availability.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improperly Preserved Integrity of Hardware Configuration State During a Power Save/Restore Operation

The product performs a power save/restore operation, but it does not ensure that the integrity of the configuration state is maintained and/or verified between the beginning and ending of the operation.

How developers prevent this class of flaw

  • Inside the IP, incorporate integrity checking on the configuration state via a cryptographic hash. The hash can be protected inside the IP such as by storing it in internal registers which never lose power. Before powering down, the IP performs a hash of the configuration and saves it in these persistent registers. Upon restore, the IP performs a hash of the saved configuration and compares it with the saved hash. If they do not match, then the IP should not trust the configuration.
  • Outside the IP, incorporate integrity checking of the configuration state via a trusted agent. Before powering down, the trusted agent performs a hash of the configuration and saves the hash in persistent storage. Upon restore, the IP requests the trusted agent validate its current configuration. If the configuration hash is invalid, then the IP should not trust the configuration.
  • Outside the IP, incorporate a protected environment that prevents undetected modification of the configuration state by untrusted agents. Before powering down, a trusted agent saves the IP's configuration state in this protected location that only it is privileged to. Upon restore, the trusted agent loads the saved state into the IP.

More Improperly Preserved Integrity of Hardware Configuration State During a Power Save/Restore Operation vulnerabilities (CWE-1304)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in AMD Ryzen™ 5000 Series Mobile Processors with Radeon™ Graphics

All AMD Ryzen™ 5000 Series Mobile Processors with Radeon™ Graphics vulnerabilities

Spotted an error? Tell us.