Bug 2054135 (CVE-2021-44879) - CVE-2021-44879 kernel: NULL pointer dereference in folio_mark_dirty() via a crafted f2fs image
Summary: CVE-2021-44879 kernel: NULL pointer dereference in folio_mark_dirty() via a c...
Status: NEW
Alias: CVE-2021-44879
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 2054137 2056274 2056275
Blocks: 2054138
TreeView+ depends on / blocked
Reported: 2022-02-14 09:28 UTC by Marian Rehak
Modified: 2022-12-31 23:36 UTC (History)
45 users (show)

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

Attachments (Terms of Use)

Description Marian Rehak 2022-02-14 09:28:46 UTC
There is an NULL pointer dereference in move_data_page in fs/f2fs/gc.c when f2fs tries to migrate a block that belongs to special file, and the file doesn't have assigned address space operations pointer array for mapping->a_ops field but called  a_ops->set_dirty_page().



Comment 1 Marian Rehak 2022-02-14 09:30:56 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2054137]

Comment 2 Justin M. Forbes 2022-02-15 18:59:53 UTC
This was fixed for Fedora with the 5.15.17 stable kernel updates.

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