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

 

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

Published: July 26, 2018 / Updated: June 1, 2020


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

Vulnerability details

The vulnerability allows a local authenticated user to execute arbitrary code.

A flaw was found in the Linux kernel's ext4 filesystem. A local user can cause a use-after-free in ext4_xattr_set_entry function and a denial of service or unspecified other impact may occur by renaming a file in a crafted ext4 filesystem image.


Affected software

Linux kernel
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power 9
Red Hat Enterprise Linux for IBM System z (Structure A)
Debian Linux
Ubuntu
Opensuse
linux (Debian package)
linux-kvm (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-aws (Ubuntu package)
linux-oem (Ubuntu package)
linux-aws-hwe (Ubuntu package)
kernel-alt (Red Hat package)

How to mitigate CVE-2018-10879

Install update from vendor's website.

Linux kernel - addressed in versions 4.4.162, 4.9.133, 4.14.55, 4.17.6
linux (Debian package) - update to 3.16.59-1
linux-kvm (Ubuntu package) - update to 4.15.0-1029.29
linux-hwe (Ubuntu package) - update to 4.15.0-45.48~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1027.28~16.04.1, 4.15.0-1027.28
linux-azure (Ubuntu package) - addressed in versions 4.15.0-1037.39~14.04.2, 4.15.0-1037.39~16.04.1, 4.15.0-1037.39
linux (Ubuntu package) - update to 4.15.0-44.47
linux-raspi2 (Ubuntu package) - update to 4.15.0-1031.33
linux-aws (Ubuntu package) - update to 4.15.0-1032.34
linux-oem (Ubuntu package) - update to 4.15.0-1033.38
linux-aws-hwe (Ubuntu package) - update to 4.15.0-1032.34~16.04.1
kernel-alt (Red Hat package) - update to 4.14.0-115.el7a

External References

Related Security Bulletins