CVE-2026-100094
f2fs: fix defragment writeback range truncation on 32-bit
Check your servers for CVE-2026-100094
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-100094 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
f2fs: fix defragment writeback range truncation on 32-bit
f2fs_defragment_range() flushes the range it is about to defragment:
filemap_write_and_wait_range(inode->i_mapping, pg_start << PAGE_SHIFT, (pg_end << PAGE_SHIFT) - 1);
pg_start and pg_end are pgoff_t, 32 bits on 32-bit kernels, so both shifts are evaluated in 32 bits and truncated before they are widened to the loff_t parameters. pg_end is only capped by the file's page count, so for a file larger than 4 GiB the shift wraps.
For a 5 GiB file pg_end is 1310720 and the range collapses from [0, 5 GiB) to [0, 1 GiB), leaving the rest of the dirty pages unwritten before the blocks are moved. For 8 GiB the shift yields 0, the minus one makes it (loff_t)-1, and the range becomes [0, LLONG_MAX].
The matching call in f2fs_collapse_range() already casts:
filemap_write_and_wait_range(inode->i_mapping, (loff_t)index << PAGE_SHIFT, ((loff_t)pg_end << PAGE_SHIFT) - 1);
Do the same here. On i386 the shift changes from "shl $0xc,%ecx" to "shld", i.e. from a 32-bit shift to a double-precision one.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.01% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from d323d005ac4a2d413128267af76bb9d71f7303da, before 465d1f88b83828f969113faef1978fe6da0ca17f affected from d323d005ac4a2d413128267af76bb9d71f7303da, before 159489fafc3f9a5c8b2c2c4778b93b5b7f4ee4b1 affected from d323d005ac4a2d413128267af76bb9d71f7303da, before c58db6d7e4ac63921940abd6c506621de78fd972 affected from d323d005ac4a2d413128267af76bb9d71f7303da, before 55e004e52af96801577b6c3c4d52a578f369f4b5 affected from d323d005ac4a2d413128267af76bb9d71f7303da, before 16cb21f3f99296c2c93da11158d2c6a3577ba370 affected from d323d005ac4a2d413128267af76bb9d71f7303da, before ff39a2d5d66e6cd74f04d40ac36db5952a302271 affected from d323d005ac4a2d413128267af76bb9d71f7303da, before 92154fe28c3701bebf75176dc5522bec62519a8f
Other versions: unaffected
|
| Linux |
affected 4.5 unaffected before 4.5 unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-100094 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-100094
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-100094
trivy image --scanners vuln IMAGE | grep CVE-2026-100094
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/465d1f88b83828f969113faef1978fe6da0ca17f git.kernel.org
- https://git.kernel.org/stable/c/159489fafc3f9a5c8b2c2c4778b93b5b7f4ee4b1 git.kernel.org
- https://git.kernel.org/stable/c/c58db6d7e4ac63921940abd6c506621de78fd972 git.kernel.org
- https://git.kernel.org/stable/c/55e004e52af96801577b6c3c4d52a578f369f4b5 git.kernel.org
- https://git.kernel.org/stable/c/16cb21f3f99296c2c93da11158d2c6a3577ba370 git.kernel.org
- https://git.kernel.org/stable/c/ff39a2d5d66e6cd74f04d40ac36db5952a302271 git.kernel.org
- https://git.kernel.org/stable/c/92154fe28c3701bebf75176dc5522bec62519a8f git.kernel.org
Source: the record CVE-2026-100094 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse