Bug 1784920 (CVE-2019-19815) - CVE-2019-19815 kernel: NULL pointer dereference in f2fs_recover_fsync_data in fs/f2fs/recovery.c
Summary: CVE-2019-19815 kernel: NULL pointer dereference in f2fs_recover_fsync_data in...
Keywords:
Status: NEW
Alias: CVE-2019-19815
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1784921
Blocks: 1784922
TreeView+ depends on / blocked
 
Reported: 2019-12-18 17:53 UTC by Guilherme de Almeida Suckevicz
Modified: 2019-12-29 10:03 UTC (History)
46 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-12-18 17:53:43 UTC
In the Linux kernel 5.0.21, mounting a crafted f2fs filesystem image can cause a NULL pointer dereference in f2fs_recover_fsync_data in fs/f2fs/recovery.c. This is related to F2FS_P_SB in fs/f2fs/f2fs.h.

Reference:
https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19815

Upstream commit:
https://github.com/torvalds/linux/commit/4969c06a0d83c9c3dc50b8efcdc8eeedfce896f6#diff-41a7fa4590d2af87e82101f2b4dadb56

Comment 1 Guilherme de Almeida Suckevicz 2019-12-18 17:54:28 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1784921]

Comment 2 Justin M. Forbes 2019-12-19 15:20:42 UTC
This is fixed for Fedora with the 5.3.x kernel rebases.


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