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...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-44879
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: 2054137 2056274 2056275
Blocks: 2054138
TreeView+ depends on / blocked
 
Reported: 2022-02-14 09:28 UTC by Marian Rehak
Modified: 2023-05-10 17:42 UTC (History)
44 users (show)

Fixed In Version: kernel 5.17 rc1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-10 17:42:53 UTC
Embargoed:


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().

Reference:

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

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.

Comment 14 Product Security DevOps Team 2023-05-10 17:42:48 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-44879


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