Use-after-free in Linux kernel - CVE-2019-13233
Published: July 10, 2019
Vulnerability details
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a use-after-free error within the arch/x86/lib/insn-eval.c file due to a race condition between modify_ldt() and a #BR exception for an MPX bounds violation when accessing LDT entry. A local user can create a specially crafted application and escalate privileges on the system.
Affected software
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Virtualization Host - Extended Update Support 4.2 for RHEL
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Opensuse
Ubuntu
linux-kvm (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-oem (Ubuntu package)
linux-oracle (Ubuntu package)
linux-gke-4.15 (Ubuntu package)
linux-aws (Ubuntu package)
kernel (Red Hat package)
kernel-rt (Red Hat package)
How to mitigate CVE-2019-13233
linux-kvm (Ubuntu package) - addressed in versions 4.15.0-1042.42, 5.0.0-1013.14
linux-snapdragon (Ubuntu package) - addressed in versions 4.15.0-1060.66, 5.0.0-1018.19
linux-hwe (Ubuntu package) - addressed in versions 4.15.0-58.64~16.04.1, 5.0.0-25.26~18.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1040.42~16.04.1, 4.15.0-1040.42, 5.0.0-1013.13
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1055.60, 5.0.0-1014.14~18.04.1, 5.0.0-1014.14
linux (Ubuntu package) - addressed in versions 4.15.0-58.64, 5.0.0-25.26
linux-raspi2 (Ubuntu package) - addressed in versions 4.15.0-1043.46, 5.0.0-1014.14
linux-oem (Ubuntu package) - update to 4.15.0-1050.57
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1021.23~16.04.1, 4.15.0-1021.23
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1040.42
linux-aws (Ubuntu package) - update to 5.0.0-1014.16
kernel (Red Hat package) - update to 3.10.0-957.56.1.el7
kernel-rt (Red Hat package) - update to 4.18.0-147.rt24.93.el8
External References
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1879
- https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.1.9
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=de9f869616dd95e95c00bdd6b0fcd3421e8a4323
- https://github.com/torvalds/linux/commit/de9f869616dd95e95c00bdd6b0fcd3421e8a4323
Related Security Bulletins
- Use-after-free in Linux Kernel modify_ldt()
- OpenSUSE Linux update for the Linux Kernel
- Red Hat Enterprise Linux 8 update for kernel-rt
- Red Hat Enterprise Linux 7.6 Extended Update Support update for kernel
- Ubuntu update for linux, linux-azure, linux-gcp and more
- Ubuntu update for linux, linux-azure, linux-gcp and more
- Ubuntu update for linux-aws