<?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://cve.radiocsirt.org</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, 08 Oct 2026 02:59:40 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-50250 — fsdax: dax_unshare_iter needs to copy entire blocks</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-50250</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;fsdax: dax_unshare_iter needs to copy entire blocks&lt;/p&gt;
&lt;p&gt;The code that copies data from srcmap to iomap in dax_unshare_iter is
very very broken, which bfoster&amp;#39;s recent fsx changes have exposed.&lt;/p&gt;
&lt;p&gt;If the pos and len passed to dax_file_unshare are not aligned to an
fsblock boundary, the iter pos and length in the _iter function will
reflect this unalignment.&lt;/p&gt;
&lt;p&gt;dax_iomap_direct_access always returns a pointer to the start of the
kmapped fsdax page, even if its pos argument is in the middle of that
page.  This is catastrophic for data integrity when iter-&amp;gt;pos is not
aligned to a page, because daddr/saddr do not point to the same byte in
the file as iter-&amp;gt;pos.  Hence we corrupt user data by copying it to the
wrong place.&lt;/p&gt;
&lt;p&gt;If iter-&amp;gt;pos + iomap_length() in the _iter function not aligned to a
page, then we fail to copy a full block, and only partially populate the
destination block.  This is catastrophic for data confidentiality
because we expose stale pmem contents.&lt;/p&gt;
&lt;p&gt;Fix both of these issues by aligning copy_pos/copy_len to a page
boundary (remember, this is fsdax so 1 fsblock == 1 base page) so that
we always copy full blocks.&lt;/p&gt;
&lt;p&gt;We&amp;#39;re not done yet -- there&amp;#39;s no call to invalidate_inode_pages2_range,
so programs that have the file range mmap&amp;#39;d will continue accessing the
old memory mapping after the file metadata updates have completed.&lt;/p&gt;
&lt;p&gt;Be careful with the return value -- if the unshare succeeds, we still
need to return…&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;fsdax: dax_unshare_iter needs to copy entire blocks&lt;/p&gt;
&lt;p&gt;The code that copies data from srcmap to iomap in dax_unshare_iter is
very very broken, which bfoster&amp;#39;s recent fsx changes have exposed.&lt;/p&gt;
&lt;p&gt;If the pos and len passed to dax_file_unshare are not aligned to an
fsblock boundary, the iter pos and length in the _iter function will
reflect this unalignment.&lt;/p&gt;
&lt;p&gt;dax_iomap_direct_access always returns a pointer to the start of the
kmapped fsdax page, even if its pos argument is in the middle of that
page.  This is catastrophic for data integrity when iter-&amp;gt;pos is not
aligned to a page, because daddr/saddr do not point to the same byte in
the file as iter-&amp;gt;pos.  Hence we corrupt user data by copying it to the
wrong place.&lt;/p&gt;
&lt;p&gt;If iter-&amp;gt;pos + iomap_length() in the _iter function not aligned to a
page, then we fail to copy a full block, and only partially populate the
destination block.  This is catastrophic for data confidentiality
because we expose stale pmem contents.&lt;/p&gt;
&lt;p&gt;Fix both of these issues by aligning copy_pos/copy_len to a page
boundary (remember, this is fsdax so 1 fsblock == 1 base page) so that
we always copy full blocks.&lt;/p&gt;
&lt;p&gt;We&amp;#39;re not done yet -- there&amp;#39;s no call to invalidate_inode_pages2_range,
so programs that have the file range mmap&amp;#39;d will continue accessing the
old memory mapping after the file metadata updates have completed.&lt;/p&gt;
&lt;p&gt;Be careful with the return value -- if the unshare succeeds, we still
need to return…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-50250</guid>
    </item>
  </channel>
</rss>
