Mmap and fallocate bypass atomic write mode in Linux kernel f2fs
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel f2fs file system is affected from 5.18.18 before 5.19 and from 5.19. Stores through shared writable mappings and fallocate punch-hole, zero-range, collapse-range or insert-range operations skip the copy-on-write inode used for atomic writes and modify the original file directly.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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 FALLOC_FL_PUNCH_HOLE, FALLOC_FL_ZERO_RANGE, FALLOC_FL_COLLAPSE_RANGE or FALLOC_FL_INSERT_RANGE do not go through ->write_begin, 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. f2fs_vm_page_mkwrite() cannot take inode_lock, so check the flag under invalidate_lock, and hold invalidate_lock in f2fs_ioc_start_atomic_write() from the flush until the flag is set. Otherwise a fault could check the flag, then start_atomic_write could flush and set the flag, and the fault would dirty the folio afterwards.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to 5.19 for the 5.18.18 line, or to 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1 for the 5.19 line and later.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.19
- Fix · CNA Linux (Linux) Fixed in 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-30 Threatist record created from CVE-2026-100093
- 2026-11-30 Alias added: GHSA-7wcj-hmhg-4wx5
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 6
- https://git.kernel.org/stable/c/e40ae42d992ebec22e073a19d62555635b96aa1e
- https://git.kernel.org/stable/c/3c818534db37f5cfe72c19a78a436bddcb13a177
- https://git.kernel.org/stable/c/8dca8bd7f58137b11d7b6b64b44f7c1cd5ed8817
- https://git.kernel.org/stable/c/5e93214d8ccbf8fd0e955faf4f4070df1f4175e8
- https://git.kernel.org/stable/c/41f17fbbd2199e6cfc6edcbce6f7e33885c1aea8
- https://git.kernel.org/stable/c/06dfe4a7eb696d868b196c2a49873142f19bd862
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-100093 · CVE Program
- CVE-2026-100093 · NVD
- GHSA-7wcj-hmhg-4wx5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-100093 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences