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

 

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

Published: May 4, 2020


Vulnerability identifier: #VU27503
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-19768
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 in the __blk_add_trace() function in kernel/trace/blktrace.c. A local user can run a specially crafted program, trigger a use-after-free error and execute arbitrary code on the system with elevated privileges.


Affected software

Linux kernel
Red Hat Enterprise Linux for IBM System z (Structure A)
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Real Time
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
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 EUS Compute Node
Red Hat Enterprise Linux for Power, big endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for x86_64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
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 CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Slackware Linux
Opensuse
kpatch-patch-3_10_0-1062 (Red Hat package)
kpatch-patch-3_10_0-1062_1_2 (Red Hat package)
kpatch-patch-4_18_0-147 (Red Hat package)
kpatch-patch-3_10_0-1062_1_1 (Red Hat package)
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
kpatch-patch-3_10_0-1062_21_1 (Red Hat package)
kpatch-patch-3_10_0-1062_18_1 (Red Hat package)
kpatch-patch-3_10_0-1062_12_1 (Red Hat package)
kpatch-patch-4_18_0-147_8_1 (Red Hat package)
kpatch-patch-3_10_0-957_48_1 (Red Hat package)
kpatch-patch-3_10_0-957_46_1 (Red Hat package)
kpatch-patch-3_10_0-957_41_1 (Red Hat package)
kpatch-patch-3_10_0-957_43_1 (Red Hat package)
kpatch-patch-4_18_0-147_5_1 (Red Hat package)
kpatch-patch-3_10_0-957_38_2 (Red Hat package)
kpatch-patch-3_10_0-957_38_3 (Red Hat package)
kpatch-patch-3_10_0-957_38_1 (Red Hat package)
kpatch-patch-3_10_0-1062_9_1 (Red Hat package)
kpatch-patch-3_10_0-1062_7_1 (Red Hat package)
kpatch-patch-3_10_0-957_35_2 (Red Hat package)
kpatch-patch-3_10_0-957_35_1 (Red Hat package)
kpatch-patch-4_18_0-147_0_3 (Red Hat package)
kpatch-patch-4_18_0-147_0_2 (Red Hat package)
kpatch-patch-4_18_0-147_3_1 (Red Hat package)
kpatch-patch-3_10_0-1062_4_3 (Red Hat package)
kpatch-patch-3_10_0-1062_4_2 (Red Hat package)
kpatch-patch-3_10_0-1062_4_1 (Red Hat package)
linux-4.4.227/kernel-generic
linux-4.4.227/kernel-huge
linux-4.4.227/kernel-modules
linux-4.4.227/kernel-headers
kernel-alt (Red Hat package)
MRG Realtime
Data Computing Appliance (DCA)

How to mitigate CVE-2019-19768

Install updates from vendor's website.

Linux kernel - addressed in versions 4.19.119, 5.4.24, 5.5.8
kpatch-patch-3_10_0-1062 (Red Hat package) - update to 1-18.el7
kpatch-patch-3_10_0-1062_1_2 (Red Hat package) - update to 1-16.el7
kpatch-patch-4_18_0-147 (Red Hat package) - update to 1-13.el8
kpatch-patch-3_10_0-1062_1_1 (Red Hat package) - update to 1-17.el7
kernel (Red Hat package) - addressed in versions 3.10.0-327.88.1.el7, 3.10.0-514.76.1.el7, 3.10.0-693.67.1.el7, 3.10.0-957.54.1.el7, 3.10.0-1127.8.2.el7, 4.18.0-80.18.1.el8_0, 4.18.0-147.13.2.el8_1, 4.18.0-193.el8
kernel-rt (Red Hat package) - addressed in versions 3.10.0-693.67.1.rt56.665.el6rt, 3.10.0-1127.8.2.rt56.1103.el7, 4.18.0-193.rt13.51.el8
kpatch-patch-3_10_0-1062_21_1 (Red Hat package) - update to 1-2.el7
kpatch-patch-3_10_0-1062_18_1 (Red Hat package) - update to 1-2.el7
kpatch-patch-3_10_0-1062_12_1 (Red Hat package) - update to 1-2.el7
kpatch-patch-4_18_0-147_8_1 (Red Hat package) - update to 1-2.el8_1
kpatch-patch-3_10_0-957_48_1 (Red Hat package) - update to 1-3.el7
kpatch-patch-3_10_0-957_46_1 (Red Hat package) - update to 1-3.el7
kpatch-patch-3_10_0-957_41_1 (Red Hat package) - update to 1-4.el7
kpatch-patch-3_10_0-957_43_1 (Red Hat package) - update to 1-4.el7
kpatch-patch-4_18_0-147_5_1 (Red Hat package) - update to 1-4.el8_1
kpatch-patch-3_10_0-957_38_2 (Red Hat package) - update to 1-6.el7
kpatch-patch-3_10_0-957_38_3 (Red Hat package) - update to 1-6.el7
kpatch-patch-3_10_0-957_38_1 (Red Hat package) - update to 1-7.el7
kpatch-patch-3_10_0-1062_9_1 (Red Hat package) - update to 1-7.el7
kpatch-patch-3_10_0-1062_7_1 (Red Hat package) - update to 1-7.el7
kpatch-patch-3_10_0-957_35_2 (Red Hat package) - update to 1-8.el7
kpatch-patch-3_10_0-957_35_1 (Red Hat package) - update to 1-9.el7
kpatch-patch-4_18_0-147_0_3 (Red Hat package) - update to 1-9.el8
kpatch-patch-4_18_0-147_0_2 (Red Hat package) - update to 1-9.el8
kpatch-patch-4_18_0-147_3_1 (Red Hat package) - update to 1-9.el8_1
kpatch-patch-3_10_0-1062_4_3 (Red Hat package) - update to 1-10.el7
kpatch-patch-3_10_0-1062_4_2 (Red Hat package) - update to 1-10.el7
kpatch-patch-3_10_0-1062_4_1 (Red Hat package) - update to 1-13.el7
Data Computing Appliance (DCA) - update to 4.2.0.0
linux-4.4.227/kernel-generic - update to 4.4.227
linux-4.4.227/kernel-huge - update to 4.4.227
linux-4.4.227/kernel-modules - update to 4.4.227
linux-4.4.227/kernel-headers - update to 4.4.227_smp
kernel-alt (Red Hat package) - update to 4.14.0-115.21.2.el7a

External References

Related Security Bulletins