<?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://vulnerability.circl.lu</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>Tue, 29 Sep 2026 04:43:27 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98125 — smb/client: fix stale page cache in insert/collapse range</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-98125</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;smb/client: fix stale page cache in insert/collapse range&lt;/p&gt;
&lt;p&gt;smb3_insert_range() and smb3_collapse_range() use
truncate_pagecache_range() to invalidate the affected page cache.
However, if off or old_eof is not page-aligned, the boundary pages are
only partially zeroed and remain uptodate. As a result, the client may
return stale data after a successful insert/collapse range operation.&lt;/p&gt;
&lt;p&gt;For example, with 4K pages:&lt;/p&gt;
&lt;p&gt;page 0          page 1          page 2
    0------4K       4K------8K      8K------12K
       ^                                ^
    off=2K                       old_eof=10K&lt;/p&gt;
&lt;p&gt;Page 1 is removed from the page cache, while the boundary pages are
only partially zeroed. After COPYCHUNK moves the data on the server,
these cached pages may still return stale data.&lt;/p&gt;
&lt;p&gt;This can be reproduced on a CIFS mount:&lt;/p&gt;
&lt;p&gt;bash -c &amp;#39;
            FILE=/mnt/scratch/repro&lt;/p&gt;
&lt;p&gt;# Use a 6 KiB file so EOF is not page-aligned.
            dd if=/dev/urandom of=/tmp/src bs=1K count=6 status=none&lt;/p&gt;
&lt;p&gt;# Expected: a 4 KiB hole followed by the original data.
            rm -f /tmp/expected
            truncate -s 4K /tmp/expected
            cat /tmp/src &amp;gt;&amp;gt; /tmp/expected&lt;/p&gt;
&lt;p&gt;cp /tmp/src &amp;#34;$FILE&amp;#34;&lt;/p&gt;
&lt;p&gt;# Prime the page cache before moving data on the server.
            cat &amp;#34;$FILE&amp;#34; &amp;gt; /dev/null&lt;/p&gt;
&lt;p&gt;fallocate --insert-range -o 0 -l 4K &amp;#34;$FILE&amp;#34;&lt;/p&gt;
&lt;p&gt;if cmp -s /tmp/expected &amp;#34;$FILE&amp;#34;; th…&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;smb/client: fix stale page cache in insert/collapse range&lt;/p&gt;
&lt;p&gt;smb3_insert_range() and smb3_collapse_range() use
truncate_pagecache_range() to invalidate the affected page cache.
However, if off or old_eof is not page-aligned, the boundary pages are
only partially zeroed and remain uptodate. As a result, the client may
return stale data after a successful insert/collapse range operation.&lt;/p&gt;
&lt;p&gt;For example, with 4K pages:&lt;/p&gt;
&lt;p&gt;page 0          page 1          page 2
    0------4K       4K------8K      8K------12K
       ^                                ^
    off=2K                       old_eof=10K&lt;/p&gt;
&lt;p&gt;Page 1 is removed from the page cache, while the boundary pages are
only partially zeroed. After COPYCHUNK moves the data on the server,
these cached pages may still return stale data.&lt;/p&gt;
&lt;p&gt;This can be reproduced on a CIFS mount:&lt;/p&gt;
&lt;p&gt;bash -c &amp;#39;
            FILE=/mnt/scratch/repro&lt;/p&gt;
&lt;p&gt;# Use a 6 KiB file so EOF is not page-aligned.
            dd if=/dev/urandom of=/tmp/src bs=1K count=6 status=none&lt;/p&gt;
&lt;p&gt;# Expected: a 4 KiB hole followed by the original data.
            rm -f /tmp/expected
            truncate -s 4K /tmp/expected
            cat /tmp/src &amp;gt;&amp;gt; /tmp/expected&lt;/p&gt;
&lt;p&gt;cp /tmp/src &amp;#34;$FILE&amp;#34;&lt;/p&gt;
&lt;p&gt;# Prime the page cache before moving data on the server.
            cat &amp;#34;$FILE&amp;#34; &amp;gt; /dev/null&lt;/p&gt;
&lt;p&gt;fallocate --insert-range -o 0 -l 4K &amp;#34;$FILE&amp;#34;&lt;/p&gt;
&lt;p&gt;if cmp -s /tmp/expected &amp;#34;$FILE&amp;#34;; th…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-98125</guid>
    </item>
  </channel>
</rss>
