CVEvulnerability
CVE-2018-18021
7.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-10-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.1 HIGH — CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CVSS 2.0 ([email protected])
- 3.6 LOW — AV:L/AC:L/Au:N/C:N/I:P/A:P
- Weaknesses
- CWE-20
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.
Affected configurations
• linux linux kernel (< 4.18.12)
• debian debian linux 9.0
• canonical ubuntu linux 14.04
• canonical ubuntu linux 16.04
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a3f93459d689d990b3ecfbe782fec89b97d3279 Patch
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d26c25a9d19b5976b319af528886f89cf455692d Patch
- http://www.securityfocus.com/bid/105550 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3656 Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12 Patch
- https://github.com/torvalds/linux/commit/2a3f93459d689d990b3ecfbe782fec89b97d3279 Patch
- https://github.com/torvalds/linux/commit/d26c25a9d19b5976b319af528886f89cf455692d Patch
- https://usn.ubuntu.com/3821-1/ Third Party Advisory
- https://usn.ubuntu.com/3821-2/ Third Party Advisory
- https://usn.ubuntu.com/3931-1/ usn.ubuntu.com
- https://usn.ubuntu.com/3931-2/ usn.ubuntu.com
- https://www.debian.org/security/2018/dsa-4313 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2018/10/02/2 Mailing List, Patch, Third Party Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a3f93459d689d990b3ecfbe782fec89b97d3279 Patch
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d26c25a9d19b5976b319af528886f89cf455692d Patch
- http://www.securityfocus.com/bid/105550 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3656 Third Party Advisory
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12 Patch
- https://github.com/torvalds/linux/commit/2a3f93459d689d990b3ecfbe782fec89b97d3279 Patch
- https://github.com/torvalds/linux/commit/d26c25a9d19b5976b319af528886f89cf455692d Patch
- https://usn.ubuntu.com/3821-1/ Third Party Advisory
- https://usn.ubuntu.com/3821-2/ Third Party Advisory
- https://usn.ubuntu.com/3931-1/ usn.ubuntu.com
- https://usn.ubuntu.com/3931-2/ usn.ubuntu.com
- https://www.debian.org/security/2018/dsa-4313 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2018/10/02/2 Mailing List, Patch, Third Party Advisory