Use-after-free in Linux kernel - CVE-2020-7053

 

Use-after-free in Linux kernel - CVE-2020-7053

Published: January 28, 2020


Vulnerability identifier: #VU24711
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-2020-7053
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 i915_ppgtt_close() function in drivers/gpu/drm/i915/i915_gem_gtt.c, related to i915_gem_context_destroy_ioctl() call in drivers/gpu/drm/i915/i915_gem_context.c. A local user can run a specially crafted application to execute arbitrary code on the system with elevated privileges.


Affected software

Linux kernel
Red Hat Enterprise Linux for Real Time for NFV
Red Hat Enterprise Linux for Real Time
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
kernel (Red Hat package)
kernel-rt (Red Hat package)
Data Computing Appliance (DCA)
Session Smart Router
Juniper Junos Space

How to mitigate CVE-2020-7053

Install updates from vendor's website.

Linux kernel - addressed in versions 4.14.166, 4.19.96, 5.2
kernel (Red Hat package) - update to 3.10.0-1160.21.1.el7
kernel-rt (Red Hat package) - update to 3.10.0-1160.21.1.rt56.1158.el7
Data Computing Appliance (DCA) - update to 4.3.0.0
Session Smart Router - addressed in versions 5.4.7, 5.5.3
Juniper Junos Space - update to 21.2R1

External References

Related Security Bulletins