<?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>Tue, 06 Oct 2026 03:18:14 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-48797 — mm: don't try to NUMA-migrate COW pages that have other uses</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2022-48797</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;mm: don&amp;#39;t try to NUMA-migrate COW pages that have other uses&lt;/p&gt;
&lt;p&gt;Oded Gabbay reports that enabling NUMA balancing causes corruption with
his Gaudi accelerator test load:&lt;/p&gt;
&lt;p&gt;&amp;#34;All the details are in the bug, but the bottom line is that somehow,
  this patch causes corruption when the numa balancing feature is
  enabled AND we don&amp;#39;t use process affinity AND we use GUP to pin pages
  so our accelerator can DMA to/from system memory.&lt;/p&gt;
&lt;p&gt;Either disabling numa balancing, using process affinity to bind to
  specific numa-node or reverting this patch causes the bug to
  disappear&amp;#34;&lt;/p&gt;
&lt;p&gt;and Oded bisected the issue to commit 09854ba94c6a (&amp;#34;mm: do_wp_page()
simplification&amp;#34;).&lt;/p&gt;
&lt;p&gt;Now, the NUMA balancing shouldn&amp;#39;t actually be changing the writability
of a page, and as such shouldn&amp;#39;t matter for COW.  But it appears it
does.  Suspicious.&lt;/p&gt;
&lt;p&gt;However, regardless of that, the condition for enabling NUMA faults in
change_pte_range() is nonsensical.  It uses &amp;#34;page_mapcount(page)&amp;#34; to
decide if a COW page should be NUMA-protected or not, and that makes
absolutely no sense.&lt;/p&gt;
&lt;p&gt;The number of mappings a page has is irrelevant: not only does GUP get a
reference to a page as in Oded&amp;#39;s case, but the other mappings migth be
paged out and the only reference to them would be in the page count.&lt;/p&gt;
&lt;p&gt;Since we should never try to NUMA-balance a page that we can&amp;#39;t move
anyway due to other references, just fix the code to use &amp;#39;page_count()&amp;#39;.
Oded confirms that t…&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;mm: don&amp;#39;t try to NUMA-migrate COW pages that have other uses&lt;/p&gt;
&lt;p&gt;Oded Gabbay reports that enabling NUMA balancing causes corruption with
his Gaudi accelerator test load:&lt;/p&gt;
&lt;p&gt;&amp;#34;All the details are in the bug, but the bottom line is that somehow,
  this patch causes corruption when the numa balancing feature is
  enabled AND we don&amp;#39;t use process affinity AND we use GUP to pin pages
  so our accelerator can DMA to/from system memory.&lt;/p&gt;
&lt;p&gt;Either disabling numa balancing, using process affinity to bind to
  specific numa-node or reverting this patch causes the bug to
  disappear&amp;#34;&lt;/p&gt;
&lt;p&gt;and Oded bisected the issue to commit 09854ba94c6a (&amp;#34;mm: do_wp_page()
simplification&amp;#34;).&lt;/p&gt;
&lt;p&gt;Now, the NUMA balancing shouldn&amp;#39;t actually be changing the writability
of a page, and as such shouldn&amp;#39;t matter for COW.  But it appears it
does.  Suspicious.&lt;/p&gt;
&lt;p&gt;However, regardless of that, the condition for enabling NUMA faults in
change_pte_range() is nonsensical.  It uses &amp;#34;page_mapcount(page)&amp;#34; to
decide if a COW page should be NUMA-protected or not, and that makes
absolutely no sense.&lt;/p&gt;
&lt;p&gt;The number of mappings a page has is irrelevant: not only does GUP get a
reference to a page as in Oded&amp;#39;s case, but the other mappings migth be
paged out and the only reference to them would be in the page count.&lt;/p&gt;
&lt;p&gt;Since we should never try to NUMA-balance a page that we can&amp;#39;t move
anyway due to other references, just fix the code to use &amp;#39;page_count()&amp;#39;.
Oded confirms that t…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2022-48797</guid>
    </item>
  </channel>
</rss>
