Race condition in Linux kernel - CVE-2019-11599

 

Race condition in Linux kernel - CVE-2019-11599

Published: August 8, 2019


Vulnerability identifier: #VU19996
CSH Severity: Low
CVSS v4: 7.3 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-11599
CWE-ID: CWE-362
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 race condition with mmget_not_zero or get_task_mm calls and is related to fs/userfaultfd.c, mm/mmap.c, fs/proc/task_mmu.c, and drivers/infiniband/core/uverbs_main.c due to kernel does not use locking or other mechanisms to prevent vma layout or vma flags changes while it runs. A local user can exploit the race and gain unauthorized access to sensitive information and escalate privileges on the system.


Affected software

Linux kernel
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Virtualization Host - Extended Update Support 4.2 for RHEL
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 for Power, little endian - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Slackware Linux
Opensuse

MRG Realtime
kernel (Red Hat package)
kernel-rt (Red Hat package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
linux-4.4.186/kernel-generic
linux-4.4.186/kernel-huge
linux-4.4.186/kernel-modules
linux-4.4.186/kernel-headers
Red Hat Virtualization Host

How to mitigate CVE-2019-11599

Install updates from vendor's website.

Linux kernel - update to 5.0.10
kernel (Red Hat package) - addressed in versions 3.10.0-693.62.1.el7, 3.10.0-957.43.1.el7, 3.10.0-1062.el7, 3.10.0-1062.12.1.el7, 4.18.0-147.5.1.el8_1
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.62.1.rt56.659.el6rt, 3.10.0-1062.rt56.1022.el7, 3.10.0-1062.12.1.rt56.1042.el7, 4.18.0-147.rt24.93.el8, 4.18.0-147.5.1.rt24.98.el8_1
linux-4.4.186/kernel-generic - update to 4.4.186
linux-4.4.186/kernel-huge - update to 4.4.186
linux-4.4.186/kernel-modules - update to 4.4.186
linux-4.4.186/kernel-headers - update to 4.4.186_smp

External References

Related Security Bulletins