<?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>Sun, 04 Oct 2026 23:52:37 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-38334 — x86/sgx: Prevent attempts to reclaim poisoned pages</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-38334</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;x86/sgx: Prevent attempts to reclaim poisoned pages&lt;/p&gt;
&lt;p&gt;TL;DR: SGX page reclaim touches the page to copy its contents to
secondary storage. SGX instructions do not gracefully handle machine
checks. Despite this, the existing SGX code will try to reclaim pages
that it _knows_ are poisoned. Avoid even trying to reclaim poisoned pages.&lt;/p&gt;
&lt;p&gt;The longer story:&lt;/p&gt;
&lt;p&gt;Pages used by an enclave only get epc_page-&amp;gt;poison set in
arch_memory_failure() but they currently stay on sgx_active_page_list until
sgx_encl_release(), with the SGX_EPC_PAGE_RECLAIMER_TRACKED flag untouched.&lt;/p&gt;
&lt;p&gt;epc_page-&amp;gt;poison is not checked in the reclaimer logic meaning that, if other
conditions are met, an attempt will be made to reclaim an EPC page that was
poisoned.  This is bad because 1. we don&amp;#39;t want that page to end up added
to another enclave and 2. it is likely to cause one core to shut down
and the kernel to panic.&lt;/p&gt;
&lt;p&gt;Specifically, reclaiming uses microcode operations including &amp;#34;EWB&amp;#34; which
accesses the EPC page contents to encrypt and write them out to non-SGX
memory.  Those operations cannot handle MCEs in their accesses other than
by putting the executing core into a special shutdown state (affecting
both threads with HT.)  The kernel will subsequently panic on the
remaining cores seeing the core didn&amp;#39;t enter MCE handler(s) in time.&lt;/p&gt;
&lt;p&gt;Call sgx_unmark_page_reclaimable() to remove the affected EPC page from
sgx_active_page_list on memory error to stop…&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;x86/sgx: Prevent attempts to reclaim poisoned pages&lt;/p&gt;
&lt;p&gt;TL;DR: SGX page reclaim touches the page to copy its contents to
secondary storage. SGX instructions do not gracefully handle machine
checks. Despite this, the existing SGX code will try to reclaim pages
that it _knows_ are poisoned. Avoid even trying to reclaim poisoned pages.&lt;/p&gt;
&lt;p&gt;The longer story:&lt;/p&gt;
&lt;p&gt;Pages used by an enclave only get epc_page-&amp;gt;poison set in
arch_memory_failure() but they currently stay on sgx_active_page_list until
sgx_encl_release(), with the SGX_EPC_PAGE_RECLAIMER_TRACKED flag untouched.&lt;/p&gt;
&lt;p&gt;epc_page-&amp;gt;poison is not checked in the reclaimer logic meaning that, if other
conditions are met, an attempt will be made to reclaim an EPC page that was
poisoned.  This is bad because 1. we don&amp;#39;t want that page to end up added
to another enclave and 2. it is likely to cause one core to shut down
and the kernel to panic.&lt;/p&gt;
&lt;p&gt;Specifically, reclaiming uses microcode operations including &amp;#34;EWB&amp;#34; which
accesses the EPC page contents to encrypt and write them out to non-SGX
memory.  Those operations cannot handle MCEs in their accesses other than
by putting the executing core into a special shutdown state (affecting
both threads with HT.)  The kernel will subsequently panic on the
remaining cores seeing the core didn&amp;#39;t enter MCE handler(s) in time.&lt;/p&gt;
&lt;p&gt;Call sgx_unmark_page_reclaimable() to remove the affected EPC page from
sgx_active_page_list on memory error to stop…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-38334</guid>
    </item>
  </channel>
</rss>
