Use-after-free in Linux kernel - CVE-2018-20976

 

Use-after-free in Linux kernel - CVE-2018-20976

Published: September 6, 2019


Vulnerability identifier: #VU20917
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-2018-20976
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to compromise vulnerable system.

The vulnerability exists in "fs/xfs/xfs_super.c" due to a use-after-free error when the "xfs_fs_fill_super" fails. A local authenticated user can execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

Linux kernel
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Slackware Linux
Ubuntu

kernel (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 (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-aws (Ubuntu package)
linux-kvm (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-azure (Ubuntu package)
linux-oem (Ubuntu package)
linux-oracle (Ubuntu package)
linux-aws-hwe (Ubuntu package)
linux-4.4.199/kernel-generic
linux-4.4.199/kernel-huge
linux-4.4.199/kernel-modules
linux-4.4.199/kernel-headers
RSA Authentication Manager

How to mitigate CVE-2018-20976

Install updates from vendor's website.

Linux kernel - update to 4.18
kernel (Red Hat package) - addressed in versions 3.10.0-327.85.1.el7, 3.10.0-514.72.1.el7
linux (Ubuntu package) - addressed in versions 4.4.0-165.193, 4.15.0-65.74
linux-raspi2 (Ubuntu package) - addressed in versions 4.4.0-1123.132, 4.15.0-1048.52
linux-aws (Ubuntu package) - addressed in versions 4.4.0-1095.106, 4.15.0-1051.53
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1059.66, 4.15.0-1047.47
linux-snapdragon (Ubuntu package) - addressed in versions 4.4.0-1127.135, 4.15.0-1065.72
linux-hwe (Ubuntu package) - update to 4.15.0-65.74~16.04.1
linux-azure (Ubuntu package) - update to 4.15.0-1060.65
linux-oem (Ubuntu package) - update to 4.15.0-1057.66
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1026.29~16.04.1, 4.15.0-1026.29
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1051.53~16.04.1
RSA Authentication Manager - update to 8.4 Patch 9
linux-4.4.199/kernel-generic - update to 4.4.199
linux-4.4.199/kernel-huge - update to 4.4.199
linux-4.4.199/kernel-modules - update to 4.4.199
linux-4.4.199/kernel-headers - update to 4.4.199_smp

External References

Related Security Bulletins