Use-after-free error in Linux kernel - CVE-2018-14611

 

Use-after-free error in Linux kernel - CVE-2018-14611

Published: August 1, 2018 / Updated: August 2, 2018


Vulnerability identifier: #VU14177
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-14611
CWE-ID: CWE-416
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 use-after-free error in the btrfs_check_chunk_valid() function, as defined in the source code file fs/btrfs/volumes.c. A local attacker can mount a specially crafted Btrfs filesystem that submits malicious input, trigger memory corruption in the try_merge_free_space() function and cause the affected software to terminate abnormally or execute arbitrary code with elevated privileges..

Successful exploitation of the vulnerability may result in system compromise.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-raspi2 (Ubuntu package)
linux-kvm (Ubuntu package)
linux-aws (Ubuntu package)
linux-snapdragon (Ubuntu package)
linux-hwe (Ubuntu package)
linux-gcp (Ubuntu package)
linux-azure (Ubuntu package)
linux-oracle (Ubuntu package)
linux-oem (Ubuntu package)
linux-gke-4.15 (Ubuntu package)

How to mitigate CVE-2018-14611

Update to version 4.17.11.

Linux kernel - update to 4.17.11
linux (Ubuntu package) - addressed in versions 4.4.0-145.171, 4.15.0-58.64
linux-raspi2 (Ubuntu package) - addressed in versions 4.4.0-1106.114, 4.15.0-1043.46
linux-kvm (Ubuntu package) - addressed in versions 4.4.0-1043.49, 4.15.0-1042.42
linux-aws (Ubuntu package) - update to 4.4.0-1079.89
linux-snapdragon (Ubuntu package) - addressed in versions 4.4.0-1110.115, 4.15.0-1060.66
linux-hwe (Ubuntu package) - update to 4.15.0-58.64~16.04.1
linux-gcp (Ubuntu package) - addressed in versions 4.15.0-1040.42~16.04.1, 4.15.0-1040.42
linux-azure (Ubuntu package) - update to 4.15.0-1055.60
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1021.23~16.04.1, 4.15.0-1021.23
linux-oem (Ubuntu package) - update to 4.15.0-1050.57
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1040.42

External References

Related Security Bulletins