CVE-2026-100093: f2fs: disallow mmap write and data-modifying fallocate on atomic files

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

f2fs: disallow mmap write and data-modifying fallocate on atomic files

Stores through a shared writable mapping and fallocate with FALLOCFLPUNCHHOLE, FALLOCFLZERORANGE, FALLOCFLCOLLAPSERANGE or FALLOCFLINSERTRANGE do not go through ->writebegin, so they bypass the COW inode and modify the original inode directly. Reject them while the file is in atomic write mode, as fallocate already does for pinned and compressed files. A write fault gets SIGBUS and fallocate gets -EOPNOTSUPP.

fallocate without these flags only preallocates blocks and stays allowed.

f2fsvmpagemkwrite() cannot take inodelock, so check the flag under invalidatelock, and hold invalidatelock in f2fsiocstartatomicwrite() from the flush until the flag is set. Otherwise a fault could check the flag, then startatomicwrite could flush and set the flag, and the fault would dirty the folio afterwards.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:23 PM
Data Sourced
via MITRE·01:23 PM
Description

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