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

 

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

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


Vulnerability identifier: #VU28379
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-10876
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local authenticated user to perform a denial of service (DoS) attack.

A flaw was found in Linux kernel in the ext4 filesystem code. A use-after-free is possible in ext4_ext_remove_space() function when mounting and operating a crafted ext4 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-10876

Install update from vendor's website.

Linux kernel - addressed in versions 4.4.140, 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.6.1.el7a

External References

Related Security Bulletins