{"id":"CVE-2026-100093","summary":"f2fs: disallow mmap write and data-modifying fallocate on atomic files","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: disallow mmap write and data-modifying fallocate on atomic files\n\nStores through a shared writable mapping and fallocate with\nFALLOC_FL_PUNCH_HOLE, FALLOC_FL_ZERO_RANGE, FALLOC_FL_COLLAPSE_RANGE or\nFALLOC_FL_INSERT_RANGE do not go through -\u003ewrite_begin, so they bypass\nthe COW inode and modify the original inode directly. Reject them while\nthe file is in atomic write mode, as fallocate already does for pinned\nand compressed files. A write fault gets SIGBUS and fallocate gets\n-EOPNOTSUPP.\n\nfallocate without these flags only preallocates blocks and stays\nallowed.\n\nf2fs_vm_page_mkwrite() cannot take inode_lock, so check the flag under\ninvalidate_lock, and hold invalidate_lock in\nf2fs_ioc_start_atomic_write() from the flush until the flag is set.\nOtherwise a fault could check the flag, then start_atomic_write could\nflush and set the flag, and the fault would dirty the folio afterwards.","modified":"2026-12-01T21:00:13.193462724Z","published":"2026-11-30T13:23:42.757Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100093.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/06dfe4a7eb696d868b196c2a49873142f19bd862"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3c818534db37f5cfe72c19a78a436bddcb13a177"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41f17fbbd2199e6cfc6edcbce6f7e33885c1aea8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5e93214d8ccbf8fd0e955faf4f4070df1f4175e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8dca8bd7f58137b11d7b6b64b44f7c1cd5ed8817"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e40ae42d992ebec22e073a19d62555635b96aa1e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100093.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100093"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3db1de0e582c358dd013f3703cd55b5fe4076436"},{"fixed":"e40ae42d992ebec22e073a19d62555635b96aa1e"},{"fixed":"3c818534db37f5cfe72c19a78a436bddcb13a177"},{"fixed":"8dca8bd7f58137b11d7b6b64b44f7c1cd5ed8817"},{"fixed":"5e93214d8ccbf8fd0e955faf4f4070df1f4175e8"},{"fixed":"41f17fbbd2199e6cfc6edcbce6f7e33885c1aea8"},{"fixed":"06dfe4a7eb696d868b196c2a49873142f19bd862"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6db52f1944417c2601182a591a704e2f119c5215"}]}],"versions":["v5.18.19","v5.18.18"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100093.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.18.18"},{"fixed":"5.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.19.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-100093.json"}}],"schema_version":"1.9.2"}