<?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>Mon, 05 Oct 2026 10:19:29 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-22090 — x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-22090</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;x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range()&lt;/p&gt;
&lt;p&gt;If track_pfn_copy() fails, we already added the dst VMA to the maple
tree. As fork() fails, we&amp;#39;ll cleanup the maple tree, and stumble over
the dst VMA for which we neither performed any reservation nor copied
any page tables.&lt;/p&gt;
&lt;p&gt;Consequently untrack_pfn() will see VM_PAT and try obtaining the
PAT information from the page table -- which fails because the page
table was not copied.&lt;/p&gt;
&lt;p&gt;The easiest fix would be to simply clear the VM_PAT flag of the dst VMA
if track_pfn_copy() fails. However, the whole thing is about &amp;#34;simply&amp;#34;
clearing the VM_PAT flag is shaky as well: if we passed track_pfn_copy()
and performed a reservation, but copying the page tables fails, we&amp;#39;ll
simply clear the VM_PAT flag, not properly undoing the reservation ...
which is also wrong.&lt;/p&gt;
&lt;p&gt;So let&amp;#39;s fix it properly: set the VM_PAT flag only if the reservation
succeeded (leaving it clear initially), and undo the reservation if
anything goes wrong while copying the page tables: clearing the VM_PAT
flag after undoing the reservation.&lt;/p&gt;
&lt;p&gt;Note that any copied page table entries will get zapped when the VMA will
get removed later, after copy_page_range() succeeded; as VM_PAT is not set
then, we won&amp;#39;t try cleaning VM_PAT up once more and untrack_pfn() will be
happy. Note that leaving these page tables in place without a reservation
is not a problem, as we are aborting fork(); this proc…&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;x86/mm/pat: Fix VM_PAT handling when fork() fails in copy_page_range()&lt;/p&gt;
&lt;p&gt;If track_pfn_copy() fails, we already added the dst VMA to the maple
tree. As fork() fails, we&amp;#39;ll cleanup the maple tree, and stumble over
the dst VMA for which we neither performed any reservation nor copied
any page tables.&lt;/p&gt;
&lt;p&gt;Consequently untrack_pfn() will see VM_PAT and try obtaining the
PAT information from the page table -- which fails because the page
table was not copied.&lt;/p&gt;
&lt;p&gt;The easiest fix would be to simply clear the VM_PAT flag of the dst VMA
if track_pfn_copy() fails. However, the whole thing is about &amp;#34;simply&amp;#34;
clearing the VM_PAT flag is shaky as well: if we passed track_pfn_copy()
and performed a reservation, but copying the page tables fails, we&amp;#39;ll
simply clear the VM_PAT flag, not properly undoing the reservation ...
which is also wrong.&lt;/p&gt;
&lt;p&gt;So let&amp;#39;s fix it properly: set the VM_PAT flag only if the reservation
succeeded (leaving it clear initially), and undo the reservation if
anything goes wrong while copying the page tables: clearing the VM_PAT
flag after undoing the reservation.&lt;/p&gt;
&lt;p&gt;Note that any copied page table entries will get zapped when the VMA will
get removed later, after copy_page_range() succeeded; as VM_PAT is not set
then, we won&amp;#39;t try cleaning VM_PAT up once more and untrack_pfn() will be
happy. Note that leaving these page tables in place without a reservation
is not a problem, as we are aborting fork(); this proc…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-22090</guid>
    </item>
  </channel>
</rss>
