Improper input validation in Linux kernel - CVE-2018-18021
Published: October 8, 2018 / Updated: October 9, 2018
Vulnerability details
The vulnerability allows a local attacker to cause DoS condition on the target system.
The vulnerability exists in the arch/arm64/kvm/guest.c source code file due to the mishandling of the sanity check for the KVM_SET_ON_REG IOCTL function. A local attacker can create a malicious Kernel-based Virtual Machine (KVM), cause an illegal exception return and cause the system to crash.
Affected software
Amazon Linux AMI
Debian Linux
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for IBM System z (Structure A)
Ubuntu
Fedora
kernel-alt (Red Hat package)
linux (Ubuntu package)
linux-lts-xenial (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux (Debian package)
linux-4.9 (Debian package)
linux-azure (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-oracle (Ubuntu package)
linux-oem (Ubuntu package)
linux-aws-hwe (Ubuntu package)
kernel
kernel-headers
How to mitigate CVE-2018-18021
linux (Ubuntu package) - addressed in versions 4.4.0-139.165, 4.15.0-47.50
linux-lts-xenial (Ubuntu package) - update to 4.4.0-139.165~14.04.1
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1037.43, 4.15.0-1031.31
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1034.37, 4.4.0-1072.82, 4.15.0-1035.37
linux-snapdragon (Ubuntu package) - update to 4.4.0-1104.109
linux-hwe (Ubuntu package) - update to 4.15.0-47.50~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1029.31~16.04.1, 4.15.0-1029.31
linux (Debian package) - update to 4.9.110-3+deb9u6
linux-4.9 (Debian package) - update to 4.9.144-3.1~deb8u1
linux-azure (Ubuntu package) - update to 4.15.0-1041.45
linux-raspi2 (Ubuntu package) - update to 4.15.0-1033.35
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1010.12~16.04.1, 4.15.0-1010.12
linux-oem (Ubuntu package) - update to 4.15.0-1035.40
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1035.37~16.04.1
kernel - addressed in versions 4.18.12-100.fc27, 4.18.12-200.fc28, 4.18.12-300.fc29
kernel-headers - addressed in versions 4.18.12-100.fc27, 4.18.12-200.fc28, 4.18.12-300.fc29
External References
Related Security Bulletins
- Debian update for linux
- Amazon Linux AMI update for kernel
- Red Hat update for kernel
- Fedora 29 update for kernel, kernel-headers
- Fedora 28 update for kernel, kernel-headers
- Fedora 27 update for kernel, kernel-headers
- Ubuntu update for linux, linux-aws, linux-kvm and more
- Ubuntu update for linux, linux-aws, linux-gcp and more
- Ubuntu update for linux-aws, linux-lts-xenial
- Ubuntu update for linux-aws-hwe, linux-azure, linux-gcp and more
- Debian update for linux-4.9