<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T19:23:00.849751+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-100094</id>
    <title>CVE-2026-100094 — f2fs: fix defragment writeback range truncation on 32-bit</title>
    <updated>2026-12-04T19:23:00.855649+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>f2fs: fix defragment writeback range truncation on 32-bit</p>
<p>f2fs_defragment_range() flushes the range it is about to defragment:</p>
<p>filemap_write_and_wait_range(inode-&gt;i_mapping,
				pg_start &lt;&lt; PAGE_SHIFT,
				(pg_end &lt;&lt; PAGE_SHIFT) - 1);</p>
<p>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.</p>
<p>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].</p>
<p>The matching call in f2fs_collapse_range() already casts:</p>
<p>filemap_write_and_wait_range(inode-&gt;i_mapping,
				(loff_t)index &lt;&lt; PAGE_SHIFT,
				((loff_t)pg_end &lt;&lt; PAGE_SHIFT) - 1);</p>
<p>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.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-100094"/>
  </entry>
</feed>
