Divide-by-zero in Linux kernel - CVE-2018-13100

 

Divide-by-zero in Linux kernel - CVE-2018-13100

Published: July 7, 2018 / Updated: July 9, 2018


Vulnerability identifier: #VU13601
CSH Severity: Low
CVSS v4.0: 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/E:P/U:Clear
CVE-ID: CVE-2018-13100
CWE-ID: CWE-369
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

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.


How to mitigate CVE-2018-13100

Install update from vendor's website.

Sources