Divide-by-zero in Linux kernel - CVE-2018-13100
Published: July 7, 2018 / Updated: July 9, 2018
Vulnerability details
The vulnerability allows a local attacker to cause DoS condition on the target system.
The vulnerability exists due to improper validation of secs_per_zone information in a corrupted Flash-Friendly File System (F2FS) image. A local attacker can mount a specially crafted F2FS image, trigger a divide-by-zero condition in the reset_curseg() function, as defined in the fs/f2fs/super.c source code file and cause the system to crash.
Affected software
Ubuntu
Opensuse
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-oem (Ubuntu package)
linux-oracle (Ubuntu package)
linux-gke-4.15 (Ubuntu package)
How to mitigate CVE-2018-13100
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-oem (Ubuntu package) - update to 4.15.0-1050.57
linux-oracle (Ubuntu package) - addressed in versions 4.15.0-1021.23~16.04.1, 4.15.0-1021.23
linux-gke-4.15 (Ubuntu package) - update to 4.15.0-1040.42