Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2018-18021

kernel: Privilege escalation on arm64 via KVM hypervisor

Overview

Published
7 Oct 2018
Modified
17 Jun 2026
High CVE
0 Registry packages
26 OS packages
6 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

7.1 · HIGH

CVSS 3.0 base score, scored by NVD.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Weakness: CWE-20

Affected packages · 0

No registry package. This ID affects operating system packages only.

Operating systems · 16 fixes

Oracle Linux 1 release · 1 package

fixed 1
kernel-uek
Oracle Linux fixes for CVE-2018-18021
ReleasePackageFixed in
7 kernel-uek +10 4.14.35-1818.4.5.el7uek

Red Hat 1 release · 1 package

fixed 1
kernel
Red Hat fixes for CVE-2018-18021
ReleasePackageFixed inAdvisory
7 kernel +12 0:4.14.0-115.2.2.el7a RHSA-2018:3656

debian 5 releases · 1 package

fixed 5
linux
debian fixes for CVE-2018-18021
ReleasePackageFixed in
11 linux 4.18.10-2
12 linux 4.18.10-2
13 linux 4.18.10-2
14 linux 4.18.10-2
9 linux 4.9.110-3+deb9u6

echo 1 release · 1 package

fixed 1
linux
echo fixes for CVE-2018-18021
ReleasePackageFixed in
linux 4.18.10-2

root.io debian 3 releases · 1 package

fixed 3
rootio-linux
root.io debian fixes for CVE-2018-18021
ReleasePackageFixed in
11 rootio-linux 4.18.10-2
12 rootio-linux 4.18.10-2
13 rootio-linux 4.18.10-2

ubuntu 2 releases · 3 packages

fixed 5
linux-oracle linux-raspi2 linux
ubuntu fixes for CVE-2018-18021
ReleasePackageFixed in
18.04 linux-oracle 4.15.0-1010.12
18.04 linux-raspi2 4.15.0-1033.35
18.04 linux 4.15.0-47.50
18.04-ESM linux-oracle 4.15.0-1010.12
18.04-ESM linux 4.15.0-47.50

References

Show all 24 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.