Use-after-free in Linux kernel - CVE-2019-13233

 

Use-after-free in Linux kernel - CVE-2019-13233

Published: July 10, 2019


Vulnerability identifier: #VU19110
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-13233
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

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

Linux kernel
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
kernel (Red Hat package)
kernel-rt (Red Hat package)

How to mitigate CVE-2019-13233

Install updates from vendor's website.

Linux kernel - update to 5.1.9
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

Related Security Bulletins