CVE-2023-53996
Description
A flaw was found in the Linux kernel's handling of AMD Secure Encrypted Virtualization (SEV). When processing unaligned memory addresses, the kernel miscalculates memory encryption boundaries by tracking page counts instead of exact byte sizes. During the live migration of a virtual machine, this error causes memory pages to be incorrectly marked as decrypted, leading to guest memory corruption and a Denial of Service (DoS).
Statement
This vulnerability is rated as having a Moderate severity because it requires specific virtualization hardware features and occurs only under specific operational conditions during guest live migration, limiting its general blast radius. The issue affects systems utilizing AMD Secure Encrypted Virtualization (SEV) when migrating virtual machines with unaligned virtual memory addresses, potentially resulting in guest memory corruption and loss of availability. Systems running standard virtual machines without AMD SEV enabled or workloads that do not undergo live migration remain unaffected.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.7 | N/A | 9.3 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | High | N/A | Low |
| Privileges Required | High | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Changed |
| Confidentiality | None | N/A | High |
| Integrity Impact | High | N/A | High |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Understanding the Weakness (CWE)
Integrity,Confidentiality,Availability
Technical Impact: Read Memory; Modify Memory; Execute Unauthorized Code or Commands
When the length value exceeds the size of the destination, an out-of-bounds read or write could occur. Buffer overflows often can be used to execute arbitrary code, which is usually outside the scope of a program's implicit security policy. This can often be used to subvert any other security service.
Availability
Technical Impact: Modify Memory; DoS: Crash, Exit, or Restart; DoS: Resource Consumption (CPU)
Buffer overflows generally lead to crashes. Other attacks leading to lack of availability are possible, including putting the program into an infinite loop.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.