<?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 23:24:39 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38415 — Squashfs: check return result of sb_min_blocksize</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38415</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;Squashfs: check return result of sb_min_blocksize&lt;/p&gt;
&lt;p&gt;Syzkaller reports an &amp;#34;UBSAN: shift-out-of-bounds in squashfs_bio_read&amp;#34; bug.&lt;/p&gt;
&lt;p&gt;Syzkaller forks multiple processes which after mounting the Squashfs
filesystem, issues an ioctl(&amp;#34;/dev/loop0&amp;#34;, LOOP_SET_BLOCK_SIZE, 0x8000). 
Now if this ioctl occurs at the same time another process is in the
process of mounting a Squashfs filesystem on /dev/loop0, the failure
occurs.  When this happens the following code in squashfs_fill_super()
fails.&lt;/p&gt;
&lt;p&gt;----
msblk-&amp;gt;devblksize = sb_min_blocksize(sb, SQUASHFS_DEVBLK_SIZE);
msblk-&amp;gt;devblksize_log2 = ffz(~msblk-&amp;gt;devblksize);
----&lt;/p&gt;
&lt;p&gt;sb_min_blocksize() returns 0, which means msblk-&amp;gt;devblksize is set to 0.&lt;/p&gt;
&lt;p&gt;As a result, ffz(~msblk-&amp;gt;devblksize) returns 64, and msblk-&amp;gt;devblksize_log2
is set to 64.&lt;/p&gt;
&lt;p&gt;This subsequently causes the&lt;/p&gt;
&lt;p&gt;UBSAN: shift-out-of-bounds in fs/squashfs/block.c:195:36
shift exponent 64 is too large for 64-bit type &amp;#39;u64&amp;#39; (aka
&amp;#39;unsigned long long&amp;#39;)&lt;/p&gt;
&lt;p&gt;This commit adds a check for a 0 return by sb_min_blocksize().&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;Squashfs: check return result of sb_min_blocksize&lt;/p&gt;
&lt;p&gt;Syzkaller reports an &amp;#34;UBSAN: shift-out-of-bounds in squashfs_bio_read&amp;#34; bug.&lt;/p&gt;
&lt;p&gt;Syzkaller forks multiple processes which after mounting the Squashfs
filesystem, issues an ioctl(&amp;#34;/dev/loop0&amp;#34;, LOOP_SET_BLOCK_SIZE, 0x8000). 
Now if this ioctl occurs at the same time another process is in the
process of mounting a Squashfs filesystem on /dev/loop0, the failure
occurs.  When this happens the following code in squashfs_fill_super()
fails.&lt;/p&gt;
&lt;p&gt;----
msblk-&amp;gt;devblksize = sb_min_blocksize(sb, SQUASHFS_DEVBLK_SIZE);
msblk-&amp;gt;devblksize_log2 = ffz(~msblk-&amp;gt;devblksize);
----&lt;/p&gt;
&lt;p&gt;sb_min_blocksize() returns 0, which means msblk-&amp;gt;devblksize is set to 0.&lt;/p&gt;
&lt;p&gt;As a result, ffz(~msblk-&amp;gt;devblksize) returns 64, and msblk-&amp;gt;devblksize_log2
is set to 64.&lt;/p&gt;
&lt;p&gt;This subsequently causes the&lt;/p&gt;
&lt;p&gt;UBSAN: shift-out-of-bounds in fs/squashfs/block.c:195:36
shift exponent 64 is too large for 64-bit type &amp;#39;u64&amp;#39; (aka
&amp;#39;unsigned long long&amp;#39;)&lt;/p&gt;
&lt;p&gt;This commit adds a check for a 0 return by sb_min_blocksize().&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38415</guid>
    </item>
  </channel>
</rss>
