Out-of-bounds write in Linux kernel - CVE-2018-10878

 

Out-of-bounds write in Linux kernel - CVE-2018-10878

Published: August 24, 2018 / Updated: August 27, 2018


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

Vulnerability details

The vulnerability allows a local attacker to gain elevated privileges on the target system.

The vulnerability exists due to out-of-bounds write error in the ext4_init_block_bitmap() function in the fourth extended filesystem (ext4). A local attacker can mount and operate a specially crafted ext4 filesystem image, trigger memory corruption and cause the service to crash or execute arbitrary code with elevated privileges.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


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)
Opensuse
kernel-alt (Red Hat package)

How to mitigate CVE-2018-10878

Update to version 4.18 or later.

Linux kernel - addressed in versions 4.18, 4.18.1, 4.18.2, 4.18.3, 4.18.4, 4.18.5
kernel-alt (Red Hat package) - update to 4.14.0-115.el7a

External References

Related Security Bulletins