<?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>Wed, 07 Oct 2026 04:24:09 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38222 — ext4: inline: fix len overflow in ext4_prepare_inline_data</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38222</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;ext4: inline: fix len overflow in ext4_prepare_inline_data&lt;/p&gt;
&lt;p&gt;When running the following code on an ext4 filesystem with inline_data
feature enabled, it will lead to the bug below.&lt;/p&gt;
&lt;p&gt;fd = open(&amp;#34;file1&amp;#34;, O_RDWR | O_CREAT | O_TRUNC, 0666);
        ftruncate(fd, 30);
        pwrite(fd, &amp;#34;a&amp;#34;, 1, (1UL &amp;lt;&amp;lt; 40) + 5UL);&lt;/p&gt;
&lt;p&gt;That happens because write_begin will succeed as when
ext4_generic_write_inline_data calls ext4_prepare_inline_data, pos + len
will be truncated, leading to ext4_prepare_inline_data parameter to be 6
instead of 0x10000000006.&lt;/p&gt;
&lt;p&gt;Then, later when write_end is called, we hit:&lt;/p&gt;
&lt;p&gt;BUG_ON(pos + len &amp;gt; EXT4_I(inode)-&amp;gt;i_inline_size);&lt;/p&gt;
&lt;p&gt;at ext4_write_inline_data.&lt;/p&gt;
&lt;p&gt;Fix it by using a loff_t type for the len parameter in
ext4_prepare_inline_data instead of an unsigned int.&lt;/p&gt;
&lt;p&gt;[   44.545164] ------------[ cut here ]------------
[   44.545530] kernel BUG at fs/ext4/inline.c:240!
[   44.545834] Oops: invalid opcode: 0000 [#1] SMP NOPTI
[   44.546172] CPU: 3 UID: 0 PID: 343 Comm: test Not tainted 6.15.0-rc2-00003-g9080916f4863 #45 PREEMPT(full)  112853fcebfdb93254270a7959841d2c6aa2c8bb
[   44.546523] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   44.546523] RIP: 0010:ext4_write_inline_data+0xfe/0x100
[   44.546523] Code: 3c 0e 48 83 c7 48 48 89 de 5b 41 5c 41 5d 41 5e 41 5f 5d e9 e4 fa 43 01 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 0f 0b &amp;lt;0f&amp;gt; 0b 0f 1f 44…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP, Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;ext4: inline: fix len overflow in ext4_prepare_inline_data&lt;/p&gt;
&lt;p&gt;When running the following code on an ext4 filesystem with inline_data
feature enabled, it will lead to the bug below.&lt;/p&gt;
&lt;p&gt;fd = open(&amp;#34;file1&amp;#34;, O_RDWR | O_CREAT | O_TRUNC, 0666);
        ftruncate(fd, 30);
        pwrite(fd, &amp;#34;a&amp;#34;, 1, (1UL &amp;lt;&amp;lt; 40) + 5UL);&lt;/p&gt;
&lt;p&gt;That happens because write_begin will succeed as when
ext4_generic_write_inline_data calls ext4_prepare_inline_data, pos + len
will be truncated, leading to ext4_prepare_inline_data parameter to be 6
instead of 0x10000000006.&lt;/p&gt;
&lt;p&gt;Then, later when write_end is called, we hit:&lt;/p&gt;
&lt;p&gt;BUG_ON(pos + len &amp;gt; EXT4_I(inode)-&amp;gt;i_inline_size);&lt;/p&gt;
&lt;p&gt;at ext4_write_inline_data.&lt;/p&gt;
&lt;p&gt;Fix it by using a loff_t type for the len parameter in
ext4_prepare_inline_data instead of an unsigned int.&lt;/p&gt;
&lt;p&gt;[   44.545164] ------------[ cut here ]------------
[   44.545530] kernel BUG at fs/ext4/inline.c:240!
[   44.545834] Oops: invalid opcode: 0000 [#1] SMP NOPTI
[   44.546172] CPU: 3 UID: 0 PID: 343 Comm: test Not tainted 6.15.0-rc2-00003-g9080916f4863 #45 PREEMPT(full)  112853fcebfdb93254270a7959841d2c6aa2c8bb
[   44.546523] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[   44.546523] RIP: 0010:ext4_write_inline_data+0xfe/0x100
[   44.546523] Code: 3c 0e 48 83 c7 48 48 89 de 5b 41 5c 41 5d 41 5e 41 5f 5d e9 e4 fa 43 01 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 0f 0b &amp;lt;0f&amp;gt; 0b 0f 1f 44…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38222</guid>
    </item>
  </channel>
</rss>
