GHSA-399f-vvr4-24rpunknown
In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid folio-...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix to avoid folio->mapping dereference in is_{meta, node}_folio()
Otherwise, it may cause NULL pointer dereference in race condition:
Thread A Thread B - f2fs_setattr - f2fs_truncate - f2fs_truncate_blocks - f2fs_do_truncate_blocks - f2fs_truncate_inode_blocks - truncate_dnode - truncate_node - invalidate_mapping_pages - folio->mapping = NULL
- folio_lock
- is_node_folio
- F2FS_F_SB(folio): dereference on folio->mapping
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-99584
- https://git.kernel.org/stable/c/b5a71253c5c7e1139eab2f3e1e13e0bf2cbcaac7
- https://git.kernel.org/stable/c/ecf2796547582f1518f36bba370904934e659a46
- https://git.kernel.org/stable/c/f56399666631be3d755a16fa9658e088d81c99b7
- https://github.com/advisories/GHSA-399f-vvr4-24rp