<?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 11:53:42 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-98127 — smb/client: validate new EOF for insert range</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-98127</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: validate new EOF for insert range&lt;/p&gt;
&lt;p&gt;smb3_insert_range() does not check if the new file size
(i_size + len) is valid. This allows FALLOC_FL_INSERT_RANGE to bypass
RLIMIT_FSIZE, exceed s_maxbytes, or produce a size outside the loff_t
range.&lt;/p&gt;
&lt;p&gt;Use check_add_overflow() to calculate the new EOF. Validate it with
inode_newsize_ok() before modifying the file.&lt;/p&gt;
&lt;p&gt;Reproducer, using a file on a CIFS mount:&lt;/p&gt;
&lt;p&gt;bash -c &amp;#39;
		FILE=/mnt/cifs/repro&lt;/p&gt;
&lt;p&gt;trap &amp;#34;&amp;#34; SIGXFSZ
		ulimit -f 3072		# RLIMIT_FSIZE = 3 MiB&lt;/p&gt;
&lt;p&gt;# A regular write is stopped at 3 MiB.
		dd if=/dev/zero of=&amp;#34;$FILE&amp;#34; bs=1M count=4 status=none
		stat -c &amp;#34;size after write: %s&amp;#34; &amp;#34;$FILE&amp;#34;&lt;/p&gt;
&lt;p&gt;# Insert 2 MiB into a 2 MiB file.
		truncate -s 2M &amp;#34;$FILE&amp;#34;
		fallocate -i -o 0 -l 2M &amp;#34;$FILE&amp;#34;
		stat -c &amp;#34;size after insert: %s&amp;#34; &amp;#34;$FILE&amp;#34;
	&amp;#39;&lt;/p&gt;
&lt;p&gt;Before this change, the regular write stops at the 3 MiB limit, but
insert range grows the file to 4 MiB:&lt;/p&gt;
&lt;p&gt;dd: error writing &amp;#39;/mnt/cifs/repro&amp;#39;: File too large
	size after write: 3145728
	size after insert: 4194304&lt;/p&gt;
&lt;p&gt;After this change, insert range also fails at the limit and leaves the
2 MiB file unchanged:&lt;/p&gt;
&lt;p&gt;dd: error writing &amp;#39;/mnt/cifs/repro&amp;#39;: File too large
	size after write: 3145728
	fallocate: fallocate failed: File too large
	size after insert: 2097152&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: validate new EOF for insert range&lt;/p&gt;
&lt;p&gt;smb3_insert_range() does not check if the new file size
(i_size + len) is valid. This allows FALLOC_FL_INSERT_RANGE to bypass
RLIMIT_FSIZE, exceed s_maxbytes, or produce a size outside the loff_t
range.&lt;/p&gt;
&lt;p&gt;Use check_add_overflow() to calculate the new EOF. Validate it with
inode_newsize_ok() before modifying the file.&lt;/p&gt;
&lt;p&gt;Reproducer, using a file on a CIFS mount:&lt;/p&gt;
&lt;p&gt;bash -c &amp;#39;
		FILE=/mnt/cifs/repro&lt;/p&gt;
&lt;p&gt;trap &amp;#34;&amp;#34; SIGXFSZ
		ulimit -f 3072		# RLIMIT_FSIZE = 3 MiB&lt;/p&gt;
&lt;p&gt;# A regular write is stopped at 3 MiB.
		dd if=/dev/zero of=&amp;#34;$FILE&amp;#34; bs=1M count=4 status=none
		stat -c &amp;#34;size after write: %s&amp;#34; &amp;#34;$FILE&amp;#34;&lt;/p&gt;
&lt;p&gt;# Insert 2 MiB into a 2 MiB file.
		truncate -s 2M &amp;#34;$FILE&amp;#34;
		fallocate -i -o 0 -l 2M &amp;#34;$FILE&amp;#34;
		stat -c &amp;#34;size after insert: %s&amp;#34; &amp;#34;$FILE&amp;#34;
	&amp;#39;&lt;/p&gt;
&lt;p&gt;Before this change, the regular write stops at the 3 MiB limit, but
insert range grows the file to 4 MiB:&lt;/p&gt;
&lt;p&gt;dd: error writing &amp;#39;/mnt/cifs/repro&amp;#39;: File too large
	size after write: 3145728
	size after insert: 4194304&lt;/p&gt;
&lt;p&gt;After this change, insert range also fails at the limit and leaves the
2 MiB file unchanged:&lt;/p&gt;
&lt;p&gt;dd: error writing &amp;#39;/mnt/cifs/repro&amp;#39;: File too large
	size after write: 3145728
	fallocate: fallocate failed: File too large
	size after insert: 2097152&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-98127</guid>
    </item>
  </channel>
</rss>
