CVE-2022-50228
Description
A flaw was found in the Linux kernel's Kernel-based Virtual Machine (KVM) subsystem on AMD processors. A local user with permission to manage virtual machines can trigger an internal kernel assertion by injecting an interrupt event while the guest processor's Global Interrupt Flag (GIF) is disabled. This failure causes the host kernel to crash, resulting in a denial of service (DoS).
Statement
This vulnerability is rated with a Moderate impact because triggering the condition requires local privileges to manage virtual machines via the KVM device node, and exploitation leads to a host denial of service without permitting unauthorized code execution or privilege escalation. The issue specifically affects AMD hardware virtualization where userspace processes can issue ioctl requests during specific guest state transitions. Host systems that do not run AMD virtualization or where access to the KVM subsystem is restricted to trusted administrative services are not exposed to this flaw.
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 | 7 | 5.5 | N/A |
| Attack Vector | Local | Local | N/A |
| Attack Complexity | High | Low | N/A |
| Privileges Required | Low | Low | N/A |
| User Interaction | None | None | N/A |
| Scope | Unchanged | Unchanged | N/A |
| Confidentiality | High | None | N/A |
| Integrity Impact | High | None | N/A |
| Availability Impact | High | High | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Crash, Exit, or Restart
While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, an attacker can still cause a denial of service if they can trigger an assert statement, and if the scope of the assert() extends beyond the attacker's own session. For example, if a server handles multiple simultaneous connections, if an assert() occurs in one single connection that causes all other connections to be dropped, this could be a significant denial of service.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.