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

Published Nov 20, 2026

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 - f2fssetattr - f2fstruncate - f2fstruncateblocks - f2fsdotruncateblocks - f2fstruncateinodeblocks - truncatednode - truncatenode - invalidatemappingpages - folio->mapping = NULL - foliolock - isnodefolio - F2FSFSB(folio): dereference on folio->mapping

Affected Software

2 affected componentsFixes available
linux/kernel>=6.16.0<6.18.64
6.18.64
linux/kernel>=6.19.0<7.3.5
7.3.5

Frequently Asked Questions

1

What conditions are required to trigger this issue?

The race involves concurrent F2FS inode attribute changes and truncation activity. One execution path can invalidate mapping pages and clear folio->mapping while another locks the folio and calls is_node_folio(), causing a dereference of the cleared mapping pointer.

2

What is the likely impact if the race occurs?

The described outcome is a NULL pointer dereference in the kernel. This can cause a kernel fault or system instability.

3

Which systems are exposed?

Systems using the Linux kernel with the F2FS filesystem are relevant. The provided information does not identify affected kernel versions or indicate whether the issue is reachable under a default filesystem configuration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203