Divide by zero in Linux kernel - CVE-2018-13097
Published: July 11, 2018 / Updated: July 12, 2018
Vulnerability details
The vulnerability allows a local attacker to cause DoS condition on the target system.
The vulnerability exists in the user_block_count() function in the Flash-Friendly File System (F2FS) component, as defined in the source code file fs/f2fs/super.c due to boundary error when mounting F2FS filesystems. A local attacker can access the system and mount an F2FS filesystem that submits malicious input, trigger divide-by-zero memory error and cause the affected software to terminate abnormally.
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-13097
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