Bug 1597814 (CVE-2018-13100) - CVE-2018-13100 kernel: divide-by-zero in fs/f2fs/super.c
Summary: CVE-2018-13100 kernel: divide-by-zero in fs/f2fs/super.c
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2018-13100
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1597816 1597819
Blocks: 1597817
TreeView+ depends on / blocked
 
Reported: 2018-07-03 16:30 UTC by Laura Pardo
Modified: 2021-02-17 00:01 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An issue was discovered in fs/f2fs/super.c in the Linux kernel, which does not properly validate secs_per_zone in a corrupted f2fs image. This may lead to a divide-by-zero error and a system crash.
Clone Of:
Environment:
Last Closed: 2018-07-10 11:50:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-07-03 16:30:43 UTC
An issue was discovered in fs/f2fs/super.c in the Linux kernel, which does not properly validate secs_per_zone in a corrupted f2fs image, which may lead to a divide-by-zero error and a system crash.

References:

https://bugzilla.kernel.org/show_bug.cgi?id=200183 	

A suggested upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?h=f2fs-dev&id=977f9bb558cb4a95d53b10301f5c739ed8867d4d

Comment 1 Laura Pardo 2018-07-03 16:32:21 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1597816]

Comment 6 Vladis Dronov 2018-07-10 11:50:05 UTC
Note:

An F2FS filesystem is not shipped with any of the Red Hat products.

Comment 7 Justin M. Forbes 2018-09-11 20:56:43 UTC
This issue is fixed for Fedora with the 4.18 rebases.


Note You need to log in before you can comment on or make changes to this bug.