<?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>Thu, 01 Oct 2026 20:54:11 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-68145 — iomap: fix out-of-bounds bitmap_set() with zero-length range</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-68145</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;iomap: fix out-of-bounds bitmap_set() with zero-length range&lt;/p&gt;
&lt;p&gt;ifs_set_range_dirty() and ifs_set_range_uptodate() compute last_blk
as (off + len - 1) &amp;gt;&amp;gt; i_blkbits.  When off is 0 and len is 0, the
unsigned subtraction underflows to SIZE_MAX, producing a huge
last_blk and nr_blks value that causes bitmap_set() to write far
beyond the ifs-&amp;gt;state allocation.&lt;/p&gt;
&lt;p&gt;Regarding ifs_set_range_uptodate(), it is temporarily safe because len
cannot be passed in as 0. However, for ifs_set_range_dirty() this is
reachable from __iomap_write_end(): when copy_folio_from_iter_atomic()
returns 0 (e.g. user buffer fault) and the folio is already uptodate,
the guard at the top of __iomap_write_end() does not trigger because
!folio_test_uptodate() is false, and iomap_set_range_dirty() is called
with copied == 0.&lt;/p&gt;
&lt;p&gt;Add a !len guard to both functions before the computation, so that a
zero-length range is a no-op.&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;iomap: fix out-of-bounds bitmap_set() with zero-length range&lt;/p&gt;
&lt;p&gt;ifs_set_range_dirty() and ifs_set_range_uptodate() compute last_blk
as (off + len - 1) &amp;gt;&amp;gt; i_blkbits.  When off is 0 and len is 0, the
unsigned subtraction underflows to SIZE_MAX, producing a huge
last_blk and nr_blks value that causes bitmap_set() to write far
beyond the ifs-&amp;gt;state allocation.&lt;/p&gt;
&lt;p&gt;Regarding ifs_set_range_uptodate(), it is temporarily safe because len
cannot be passed in as 0. However, for ifs_set_range_dirty() this is
reachable from __iomap_write_end(): when copy_folio_from_iter_atomic()
returns 0 (e.g. user buffer fault) and the folio is already uptodate,
the guard at the top of __iomap_write_end() does not trigger because
!folio_test_uptodate() is false, and iomap_set_range_dirty() is called
with copied == 0.&lt;/p&gt;
&lt;p&gt;Add a !len guard to both functions before the computation, so that a
zero-length range is a no-op.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-68145</guid>
    </item>
  </channel>
</rss>
