---
title: "CVE-2018-18021"
canonical_url: "https://pkgseek.com/security/CVE-2018-18021"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2018-18021

arch/arm64/kvm/guest.c in KVM in the Linux kernel before 4.18.12 on the arm64 platform mishandles the KVM_SET_ON_REG ioctl. This is exploitable by attackers who can create virtual machines. An attacker can arbitrarily redirect the hypervisor flow of control (with full register control). An attacker can also cause a denial of service (hypervisor panic) via an illegal exception return. This occurs because of insufficient restrictions on userspace access to the core register file, and because PSTATE.M validation does not prevent unintended execution modes.

CVE-2018-18021 严重级别为 HIGH (7.1)，共索引 3 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: HIGH (7.1)
- **受影响构建数**: 3
- **涉及发行版**: 2
- **已标明修复版本发行版**: Debian

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | usbip | 2.0+6.12.117-1 | 4.18.10-2 |
| Ubuntu | focal | linux-riscv-headers-5.4.0-24 | 5.4.0-24.28 | — |
| Ubuntu | jammy | linux-riscv-headers-5.15.0-1007 | 5.15.0-1007.7 | — |
