{"id":"CVE-2026-100093","aliases":["CVE-2026-100093"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: disallow mmap write and data-modifying fallocate on atomic files","summary":"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 ->write_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 ->write_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.","source":"cvelist"}],"published":"2026-11-30T13:23:42.757Z","modified":"2026-11-30T14:17:27.743Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3db1de0e582c358dd013f3703cd55b5fe4076436","fixed":"e40ae42d992ebec22e073a19d62555635b96aa1e","status":"affected"},{"type":"git","introduced":"3db1de0e582c358dd013f3703cd55b5fe4076436","fixed":"3c818534db37f5cfe72c19a78a436bddcb13a177","status":"affected"},{"type":"git","introduced":"3db1de0e582c358dd013f3703cd55b5fe4076436","fixed":"8dca8bd7f58137b11d7b6b64b44f7c1cd5ed8817","status":"affected"},{"type":"git","introduced":"3db1de0e582c358dd013f3703cd55b5fe4076436","fixed":"5e93214d8ccbf8fd0e955faf4f4070df1f4175e8","status":"affected"},{"type":"git","introduced":"3db1de0e582c358dd013f3703cd55b5fe4076436","fixed":"41f17fbbd2199e6cfc6edcbce6f7e33885c1aea8","status":"affected"},{"type":"git","introduced":"3db1de0e582c358dd013f3703cd55b5fe4076436","fixed":"06dfe4a7eb696d868b196c2a49873142f19bd862","status":"affected"},{"type":"git","version":"6db52f1944417c2601182a591a704e2f119c5215","status":"affected"},{"type":"semver","introduced":"5.18.18","fixed":"5.19","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e40ae42d992ebec22e073a19d62555635b96aa1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c818534db37f5cfe72c19a78a436bddcb13a177","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8dca8bd7f58137b11d7b6b64b44f7c1cd5ed8817","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e93214d8ccbf8fd0e955faf4f4070df1f4175e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41f17fbbd2199e6cfc6edcbce6f7e33885c1aea8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06dfe4a7eb696d868b196c2a49873142f19bd862","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100093","url":"https://www.cve.org/CVERecord?id=CVE-2026-100093","licence":"CVE Terms of Use","modified":"2026-11-30T13:23:42.757Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100093","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100093","licence":"Public domain","modified":"2026-11-30T14:17:27.743Z"}],"updatedAt":"2026-11-30T14:32:21.736Z","epss":{"score":0.00225,"percentile":0.14095,"date":"2026-12-01T12:00:22.000Z"}}