Out-of-bounds write in Linux kernel - CVE-2019-14821

 

Out-of-bounds write in Linux kernel - CVE-2019-14821

Published: September 21, 2019 / Updated: May 30, 2020


Vulnerability identifier: #VU21255
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-14821
CWE-ID: CWE-787
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 boundary error in the KVM coalesced MMIO support functionality due to incorrect processing of shared indexes. A local user can run a specially crafted application to trigger an out-of-bounds write error and write data to arbitrary address in the kernel memory.

Successful vulnerability exploitation may allow an attacker to execute arbitrary code on the system with root privileges.


Affected software

Linux kernel
Amazon Linux AMI
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Virtualization Host - Extended Update Support 4.2 for RHEL
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Slackware Linux
Opensuse
Fedora

kernel (Red Hat package)
kernel-rt (Red Hat package)
kernel-alt (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
linux-4.4.199/kernel-generic
linux-4.4.199/kernel-modules
linux-4.4.199/kernel-huge
linux-4.4.199/kernel-headers
kernel
kernel-headers
kernel-tools
Data Computing Appliance (DCA)
Red Hat Virtualization Host
Oracle SD-WAN Edge
Juniper Junos Space

How to mitigate CVE-2019-14821

Install updates from vendor's repository.

Linux kernel - addressed in versions 4.4.194, 4.9.194, 4.14.146, 4.19.75, 5.4
kernel (Red Hat package) - addressed in versions 2.6.32-754.25.1.el6, 3.10.0-957.56.1.el7, 3.10.0-1062.7.1.el7, 4.18.0-80.15.1.el8_0
Data Computing Appliance (DCA) - update to 3.5.5.0
kernel-rt (Red Hat package) - addressed in versions 3.10.0-1062.7.1.rt56.1030.el7, 4.18.0-147.rt24.93.el8
kernel-alt (Red Hat package) - update to 4.14.0-115.16.1.el7a
linux-4.4.199/kernel-generic - update to 4.4.199
linux-4.4.199/kernel-modules - update to 4.4.199
linux-4.4.199/kernel-huge - update to 4.4.199
linux-4.4.199/kernel-headers - update to 4.4.199_smp
kernel - addressed in versions 5.2.16-100.fc29, 5.2.16-200.fc30, 5.2.17-100.fc29
kernel-headers - addressed in versions 5.2.16-100.fc29, 5.2.16-200.fc30, 5.2.17-100.fc29
kernel-tools - update to 5.2.17-100.fc29
Juniper Junos Space - update to 20.3R1

External References

Related Security Bulletins