<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:27:18 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-100094 — f2fs: fix defragment writeback range truncation on 32-bit</title>
      <link>https://db.gcve.eu/vuln/cve-2026-100094</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;f2fs: fix defragment writeback range truncation on 32-bit&lt;/p&gt;
&lt;p&gt;f2fs_defragment_range() flushes the range it is about to defragment:&lt;/p&gt;
&lt;p&gt;filemap_write_and_wait_range(inode-&amp;gt;i_mapping,
				pg_start &amp;lt;&amp;lt; PAGE_SHIFT,
				(pg_end &amp;lt;&amp;lt; PAGE_SHIFT) - 1);&lt;/p&gt;
&lt;p&gt;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&amp;#39;s page count,
so for a file larger than 4 GiB the shift wraps.&lt;/p&gt;
&lt;p&gt;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].&lt;/p&gt;
&lt;p&gt;The matching call in f2fs_collapse_range() already casts:&lt;/p&gt;
&lt;p&gt;filemap_write_and_wait_range(inode-&amp;gt;i_mapping,
				(loff_t)index &amp;lt;&amp;lt; PAGE_SHIFT,
				((loff_t)pg_end &amp;lt;&amp;lt; PAGE_SHIFT) - 1);&lt;/p&gt;
&lt;p&gt;Do the same here.  On i386 the shift changes from &amp;#34;shl $0xc,%ecx&amp;#34; to
&amp;#34;shld&amp;#34;, i.e. from a 32-bit shift to a double-precision one.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;f2fs: fix defragment writeback range truncation on 32-bit&lt;/p&gt;
&lt;p&gt;f2fs_defragment_range() flushes the range it is about to defragment:&lt;/p&gt;
&lt;p&gt;filemap_write_and_wait_range(inode-&amp;gt;i_mapping,
				pg_start &amp;lt;&amp;lt; PAGE_SHIFT,
				(pg_end &amp;lt;&amp;lt; PAGE_SHIFT) - 1);&lt;/p&gt;
&lt;p&gt;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&amp;#39;s page count,
so for a file larger than 4 GiB the shift wraps.&lt;/p&gt;
&lt;p&gt;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].&lt;/p&gt;
&lt;p&gt;The matching call in f2fs_collapse_range() already casts:&lt;/p&gt;
&lt;p&gt;filemap_write_and_wait_range(inode-&amp;gt;i_mapping,
				(loff_t)index &amp;lt;&amp;lt; PAGE_SHIFT,
				((loff_t)pg_end &amp;lt;&amp;lt; PAGE_SHIFT) - 1);&lt;/p&gt;
&lt;p&gt;Do the same here.  On i386 the shift changes from &amp;#34;shl $0xc,%ecx&amp;#34; to
&amp;#34;shld&amp;#34;, i.e. from a 32-bit shift to a double-precision one.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-100094</guid>
    </item>
  </channel>
</rss>
