CVE-2026-100094

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-1000957.8In the Linux kernel, the following vulnerability has been resolved: f2fs: check every cur_*_segno[] entry on readonly images sanity_check_CVE-2026-100096In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Cancel Sahara read data work on removal Sahara removal canCVE-2026-100097In the Linux kernel, the following vulnerability has been resolved: f2fs: convert inline quota files when turning quota on With a block siCVE-2026-1000987.5In the Linux kernel, the following vulnerability has been resolved: nvmet: zns: don't leak stale memory in zone management receive A Zone CVE-2026-1000998.6In the Linux kernel, the following vulnerability has been resolved: nvme: bound FDP config log reads to the received buffer nvme_query_fdpCVE-2026-10014.8Domoticz versions prior to 2026.1 contain a stored cross-site scripting vulnerability in the Add Hardware and rename device functionality ofCVE-2026-100105.0Inappropriate implementation in Input in Google Chrome on Android prior to 148.0.7778.216 allowed a remote attacker who had compromised the CVE-2026-1001009.8In the Linux kernel, the following vulnerability has been resolved: nvmet: require authentication before property set I/O queues do not peCVE-2026-1001018.4On Linux and other Unix-like systems, LibreOffice can send the current document as an email attachment with File > Send > Email Document, whCVE-2026-1001029.5Perforce P4 Search container images prior to 2026.4.2 enable an unauthenticated Java debug interface. An attacker with network access to thiCVE-2026-10010310.0Perforce P4 Search container images prior to 2026.4.2 reset the service authentication token to a publicly documented default value. An unauCVE-2026-1001043.5GitLab has remediated an issue in GitLab CE/EE affecting all versions from 10.3 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 th
CVE-2026-100094: Unscored | Vulnix