What’s Vulnerable › Vulnerabilities

CVE-2026-99584: f2fs: fix to avoid folio->mapping dereference in is_{meta, node}_folio()

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

Affected products

How to fix

Upgrade to a fixed version: Linux 7.4-rc1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-99584 or the next vulnerability affects your stack