<?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://db.gcve.eu</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>Fri, 04 Dec 2026 19:18:29 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139217 — ntfs: reject index blocks with a too small entries offset</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139217</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;ntfs: reject index blocks with a too small entries offset&lt;/p&gt;
&lt;p&gt;Index blocks read from the volume are checked for a plausible header, but
nothing keeps a block from placing its entries closer to the header than
ntfs_ib_alloc() does when it creates one.  The allocation adds the update
sequence array, one entry per 512-byte sector plus the terminator, to the
index header and aligns the result to 8 bytes, so the first entry of a
4096-byte block starts at offset 40, while a corrupt block may declare 16.&lt;/p&gt;
&lt;p&gt;ntfs_ib_copy_tail() then copies the entries that follow the median entry
from the source block into a freshly allocated destination.  The tail is
sized as index_length minus entries_offset and the median entry, both from
the source, while the destination only has allocated_size minus the
canonical offset of room.  With the values above the tail is 4040 bytes
and the destination holds 4032, so the last 8 bytes are written past the
end of the new allocation, with contents taken from the mounted image.&lt;/p&gt;
&lt;p&gt;Reject such a block when it is read: entries_offset must not be smaller
than the canonical offset for the block size.  Derive it from block_size
rather than from the block&amp;#39;s own usa_count, which post_read_mst_fixup()
treats as &amp;#34;not protected&amp;#34; when it does not match the block size, and use
the same helper in ntfs_ib_alloc() so both stay in sync.&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;ntfs: reject index blocks with a too small entries offset&lt;/p&gt;
&lt;p&gt;Index blocks read from the volume are checked for a plausible header, but
nothing keeps a block from placing its entries closer to the header than
ntfs_ib_alloc() does when it creates one.  The allocation adds the update
sequence array, one entry per 512-byte sector plus the terminator, to the
index header and aligns the result to 8 bytes, so the first entry of a
4096-byte block starts at offset 40, while a corrupt block may declare 16.&lt;/p&gt;
&lt;p&gt;ntfs_ib_copy_tail() then copies the entries that follow the median entry
from the source block into a freshly allocated destination.  The tail is
sized as index_length minus entries_offset and the median entry, both from
the source, while the destination only has allocated_size minus the
canonical offset of room.  With the values above the tail is 4040 bytes
and the destination holds 4032, so the last 8 bytes are written past the
end of the new allocation, with contents taken from the mounted image.&lt;/p&gt;
&lt;p&gt;Reject such a block when it is read: entries_offset must not be smaller
than the canonical offset for the block size.  Derive it from block_size
rather than from the block&amp;#39;s own usa_count, which post_read_mst_fixup()
treats as &amp;#34;not protected&amp;#34; when it does not match the block size, and use
the same helper in ntfs_ib_alloc() so both stay in sync.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139217</guid>
    </item>
  </channel>
</rss>
