CVE-2018-18021
published 2018-10-07CVE-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…
PriorityP429high7.1CVSS 3.0
AVLACLPRLUINSUCNIHAH
EPSS
0.57%
44.0th percentile
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
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | linux | < linux 4.18.10-2 (bookworm) | linux 4.18.10-2 (bookworm) |
| linux | linux_kernel | < 4.18.12 | 4.18.12 |
| linux | linux_kernel | >= 0 < 4.18.10-2 | 4.18.10-2 |
| linux | linux_kernel | >= 0 < 4.18.10-2 | 4.18.10-2 |
| linux | linux_kernel | >= 0 < 4.18.10-2 | 4.18.10-2 |
| linux | linux_kernel | >= 0 < 4.18.10-2 | 4.18.10-2 |
| linux | linux_kernel | >= 0 < 4.4.0-139.165 | 4.4.0-139.165 |
| linux | linux_kernel | >= 0 < 4.15.0-47.50 | 4.15.0-47.50 |
CVSS provenance
nvdv3.07.1HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
nvdv2.03.6LOWAV:L/AC:L/Au:N/C:N/I:P/A:P
osv7.8HIGH
vendor_ubuntu7.8HIGH
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Linux kernel (HWE) vulnerabilities
vendor_ubuntu·2019-04-02·CVSS 7.8
CVE-2018-14678 [HIGH] Linux kernel (HWE) vulnerabilities
Title: Linux kernel (HWE) vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
USN-3931-1 fixed vulnerabilities in the Linux kernel for Ubuntu 18.04
LTS. This update provides the corresponding updates for the Linux
Hardware Enablement (HWE) kernel from Ubuntu 18.04 LTS for Ubuntu
16.04 LTS and for the Linux Azure kernel for Ubuntu 14.04 LTS.
M. Vefa Bicakci and Andy Lutomirski discovered that the kernel did not
properly set up all arguments to an error handler callback used when
running as a paravirtualized guest. An unprivileged attacker in a
paravirtualized guest VM could use this to cause a denial of service (guest
VM crash). (CVE-2018-14678)
It was discovered that the KVM implementation in the Linux kernel on ARM
64bit processors did not properly handle
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2019-04-02·CVSS 7.8
CVE-2018-14678 [HIGH] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
M. Vefa Bicakci and Andy Lutomirski discovered that the kernel did not
properly set up all arguments to an error handler callback used when
running as a paravirtualized guest. An unprivileged attacker in a
paravirtualized guest VM could use this to cause a denial of service (guest
VM crash). (CVE-2018-14678)
It was discovered that the KVM implementation in the Linux kernel on ARM
64bit processors did not properly handle some ioctls. An attacker with the
privilege to create KVM-based virtual machines could use this to cause a
denial of service (host system crash) or execute arbitrary code in the
host. (CVE-2018-18021)
Mathias Payer and Hui Peng discovered a use-after-free vulnerability i
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2018-11-14·CVSS 5.5
CVE-2018-10880 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
Wen Xu discovered that the ext4 filesystem implementation in the Linux
kernel did not properly ensure that xattr information remained in inode
bodies. An attacker could use this to construct a malicious ext4 image
that, when mounted, could cause a denial of service (system crash).
(CVE-2018-10880)
It was discovered that the alarmtimer implementation in the Linux kernel
contained an integer overflow vulnerability. A local attacker could use
this to cause a denial of service. (CVE-2018-13053)
Wen Xu discovered that the f2fs filesystem implementation in the Linux
kernel did not properly validate metadata. An attacker could use this to
construct a malicious f2fs image that, when mounted, co
Ubuntu
Linux kernel (Xenial HWE) vulnerabilities
vendor_ubuntu·2018-11-14·CVSS 5.5
CVE-2018-10880 [MEDIUM] Linux kernel (Xenial HWE) vulnerabilities
Title: Linux kernel (Xenial HWE) vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
USN-3821-1 fixed vulnerabilities in the Linux kernel for Ubuntu 16.04
LTS. This update provides the corresponding updates for the Linux
Hardware Enablement (HWE) kernel from Ubuntu 16.04 LTS for Ubuntu
14.04 LTS.
Wen Xu discovered that the ext4 filesystem implementation in the Linux
kernel did not properly ensure that xattr information remained in inode
bodies. An attacker could use this to construct a malicious ext4 image
that, when mounted, could cause a denial of service (system crash).
(CVE-2018-10880)
It was discovered that the alarmtimer implementation in the Linux kernel
contained an integer overflow vulnerability. A local attacker could use
this to cause a denial of
Red Hat
kernel: Privilege escalation on arm64 via KVM hypervisor
vendor_redhat·2018-10-03·CVSS 7.1
CVE-2018-18021 [HIGH] CWE-20 kernel: Privilege escalation on arm64 via KVM hypervisor
kernel: Privilege escalation on arm64 via KVM hypervisor
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.
A vulnerability was discovered in the Linux kernel that allows an attacker to escalate privileges with using a 64-bit ARM architecture. A local attacker with permission to create KV
Debian
CVE-2018-18021: linux - arch/arm64/kvm/guest.c in KVM in the Linux kernel before 4.18.12 on the arm64 pl...
vendor_debian·2018·CVSS 7.1
CVE-2018-18021 [HIGH] CVE-2018-18021: linux - arch/arm64/kvm/guest.c in KVM in the Linux kernel before 4.18.12 on the arm64 pl...
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.
Scope: local
bookworm: resolved (fixed in 4.18.10-2)
bullseye: resolved (fixed in 4.18.10-2)
forky: resolved (fixed in 4.18.10-2)
sid: resolved (fixed in 4.18.10-2)
trixie: resolved (fixed in 4.18.10-2)
GHSA
GHSA-6vp5-5gv4-mcqp: arch/arm64/kvm/guest
ghsa_unreviewed·2022-05-14
CVE-2018-18021 [HIGH] CWE-20 GHSA-6vp5-5gv4-mcqp: arch/arm64/kvm/guest
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.
OSV
linux, linux-aws, linux-gcp, linux-kvm, linux-oem, linux-oracle, linux-raspi2 vulnerabilities
osv·2019-04-02·CVSS 7.8
CVE-2018-14678 [HIGH] linux, linux-aws, linux-gcp, linux-kvm, linux-oem, linux-oracle, linux-raspi2 vulnerabilities
linux, linux-aws, linux-gcp, linux-kvm, linux-oem, linux-oracle, linux-raspi2 vulnerabilities
M. Vefa Bicakci and Andy Lutomirski discovered that the kernel did not
properly set up all arguments to an error handler callback used when
running as a paravirtualized guest. An unprivileged attacker in a
paravirtualized guest VM could use this to cause a denial of service (guest
VM crash). (CVE-2018-14678)
It was discovered that the KVM implementation in the Linux kernel on ARM
64bit processors did not properly handle some ioctls. An attacker with the
privilege to create KVM-based virtual machines could use this to cause a
denial of service (host system crash) or execute arbitrary code in the
host. (CVE-2018-18021)
Mathias Payer and Hui Peng discovered a use-after-free vulnerability in the
Ad
OSV
linux-hwe, linux-aws-hwe, linux-azure, linux-gcp, linux-oracle vulnerabilities
osv·2019-04-02·CVSS 7.8
[HIGH] linux-hwe, linux-aws-hwe, linux-azure, linux-gcp, linux-oracle vulnerabilities
linux-hwe, linux-aws-hwe, linux-azure, linux-gcp, linux-oracle vulnerabilities
USN-3931-1 fixed vulnerabilities in the Linux kernel for Ubuntu 18.04
LTS. This update provides the corresponding updates for the Linux
Hardware Enablement (HWE) kernel from Ubuntu 18.04 LTS for Ubuntu
16.04 LTS and for the Linux Azure kernel for Ubuntu 14.04 LTS.
M. Vefa Bicakci and Andy Lutomirski discovered that the kernel did not
properly set up all arguments to an error handler callback used when
running as a paravirtualized guest. An unprivileged attacker in a
paravirtualized guest VM could use this to cause a denial of service (guest
VM crash). (CVE-2018-14678)
It was discovered that the KVM implementation in the Linux kernel on ARM
64bit processors did not properly handle some ioctls. An attacker with
OSV
linux, linux-aws, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities
osv·2018-11-14·CVSS 5.5
CVE-2018-10880 [MEDIUM] linux, linux-aws, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities
linux, linux-aws, linux-kvm, linux-raspi2, linux-snapdragon vulnerabilities
Wen Xu discovered that the ext4 filesystem implementation in the Linux
kernel did not properly ensure that xattr information remained in inode
bodies. An attacker could use this to construct a malicious ext4 image
that, when mounted, could cause a denial of service (system crash).
(CVE-2018-10880)
It was discovered that the alarmtimer implementation in the Linux kernel
contained an integer overflow vulnerability. A local attacker could use
this to cause a denial of service. (CVE-2018-13053)
Wen Xu discovered that the f2fs filesystem implementation in the Linux
kernel did not properly validate metadata. An attacker could use this to
construct a malicious f2fs image that, when mounted, could cause a denial
of serv
OSV
linux-lts-xenial, linux-aws vulnerabilities
osv·2018-11-14·CVSS 5.5
[MEDIUM] linux-lts-xenial, linux-aws vulnerabilities
linux-lts-xenial, linux-aws vulnerabilities
USN-3821-1 fixed vulnerabilities in the Linux kernel for Ubuntu 16.04
LTS. This update provides the corresponding updates for the Linux
Hardware Enablement (HWE) kernel from Ubuntu 16.04 LTS for Ubuntu
14.04 LTS.
Wen Xu discovered that the ext4 filesystem implementation in the Linux
kernel did not properly ensure that xattr information remained in inode
bodies. An attacker could use this to construct a malicious ext4 image
that, when mounted, could cause a denial of service (system crash).
(CVE-2018-10880)
It was discovered that the alarmtimer implementation in the Linux kernel
contained an integer overflow vulnerability. A local attacker could use
this to cause a denial of service. (CVE-2018-13053)
Wen Xu discovered that the f2fs filesystem
OSV
CVE-2018-18021: arch/arm64/kvm/guest
osv·2018-10-07·CVSS 7.1
CVE-2018-18021 [HIGH] CVE-2018-18021: arch/arm64/kvm/guest
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-18021 kernel: Privilege escalation on arm64 via KVM hypervisor
bugzilla·2018-10-03·CVSS 7.1
CVE-2018-18021 [HIGH] CVE-2018-18021 kernel: Privilege escalation on arm64 via KVM hypervisor
CVE-2018-18021 kernel: Privilege escalation on arm64 via KVM hypervisor
The Linux kernel has vulnerability on 64-bit ARM architectures that allows an attacker to escalate privileges. A local attacker with permission to create KVM-based virtual machines can both panic the hypervisor by triggering an illegal exception return (resulting in a DoS) and to redirect execution elsewhere within the hypervisor with full register control, instead of causing a return to the guest.
Reference:
https://www.openwall.com/lists/oss-security/2018/10/02/2
Proposed Upstream Patches:
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=d26c25a9
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=2a3f9345
Discussion:
Created kernel tracking bugs for this issu
Bugzilla
CVE-2018-18021 kernel: Privilege escalation on arm64 via KVM hypervisor [fedora-all]
bugzilla·2018-10-03·CVSS 7.1
CVE-2018-18021 [HIGH] CVE-2018-18021 kernel: Privilege escalation on arm64 via KVM hypervisor [fedora-all]
CVE-2018-18021 kernel: Privilege escalation on arm64 via KVM hypervisor [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported v
Bugzilla
CVE-2017-18021 qtpass: predictable random password generation
bugzilla·2018-01-11·CVSS 9.8
CVE-2017-18021 [CRITICAL] CVE-2017-18021 qtpass: predictable random password generation
CVE-2017-18021 qtpass: predictable random password generation
A flaw was found in QtPass before 1.2.1, when using the built-in password generator. All passwords generated with "QtPass"'s built-in password generator are possibly predictable and enumerable. This only applies to the QtPass GUI.
[UPSTREAM BUG]
https://github.com/IJHack/QtPass/issues/338
https://lists.zx2c4.com/pipermail/password-store/2018-January/003165.html
[UPSTREAM PATCH]
https://github.com/IJHack/QtPass/releases/tag/v1.2.1
Discussion:
Created qtpass tracking bugs for this issue:
Affects: fedora-all [bug 1533600]
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a3f93459d689d990b3ecfbe782fec89b97d3279http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d26c25a9d19b5976b319af528886f89cf455692dhttp://www.securityfocus.com/bid/105550https://access.redhat.com/errata/RHSA-2018:3656https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12https://github.com/torvalds/linux/commit/2a3f93459d689d990b3ecfbe782fec89b97d3279https://github.com/torvalds/linux/commit/d26c25a9d19b5976b319af528886f89cf455692dhttps://usn.ubuntu.com/3821-1/https://usn.ubuntu.com/3821-2/https://usn.ubuntu.com/3931-1/https://usn.ubuntu.com/3931-2/https://www.debian.org/security/2018/dsa-4313https://www.openwall.com/lists/oss-security/2018/10/02/2http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2a3f93459d689d990b3ecfbe782fec89b97d3279http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d26c25a9d19b5976b319af528886f89cf455692dhttp://www.securityfocus.com/bid/105550https://access.redhat.com/errata/RHSA-2018:3656https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.12https://github.com/torvalds/linux/commit/2a3f93459d689d990b3ecfbe782fec89b97d3279https://github.com/torvalds/linux/commit/d26c25a9d19b5976b319af528886f89cf455692dhttps://usn.ubuntu.com/3821-1/https://usn.ubuntu.com/3821-2/https://usn.ubuntu.com/3931-1/https://usn.ubuntu.com/3931-2/https://www.debian.org/security/2018/dsa-4313https://www.openwall.com/lists/oss-security/2018/10/02/2
2018-10-07
Published