Null pointer dereference in Linux kernel - CVE-2018-14612

 

Null pointer dereference in Linux kernel - CVE-2018-14612

Published: August 7, 2018


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

Vulnerability details

The vulnerability allows a local attacker to cause DoS condition on the target system.

The vulnerability exists in the btrfs_root_node() function due to insufficient validation of chunk block group mappings in the btrfs_read_block_groups() function (as defined in the fs/btrfs/extent-tree.c source code file of the affected software), as well as insufficient empty-tree checks in the check_leaf() function in the fs/btrfs/tree-checker.c source code file. A local attacker can mount a B-Tree File System (Btrfs) image that submits malicious input, trigger an invalid pointer dereference condition in the btrfs_root_node() function and cause the service to crash.


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-14612

Install update from vendor's website.

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