<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Some problems with TCB recovery in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1437579#M5589</link>
    <description>&lt;P&gt;Currently, my SGX program keeps reporting errors when executing RemoteAttestion(DCAP) in the tester program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;# OpenEnclave
Invalid platform TCB level: OutOfDate (cpu_svn[0] = 0x4, pce_svn = 0xb)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I have upgraded all DCAP, microcode, BIOS, MPA and still can't fix the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to see what problems exist on the machine that do not meet the conditions of TCB?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CPU info:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 106
model name      : Intel(R) Xeon(R) Gold 5320 CPU @ 2.20GHz
stepping        : 6
microcode       : 0xd00037b&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;SDKs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;apt list --installed | grep sgx

libsgx-ae-epid/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-ae-id-enclave/unknown,now 1.15.100.3-focal1 amd64 [installed]
libsgx-ae-le/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-ae-pce/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-ae-qe3/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-ae-qve/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-ecdsa-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-epid-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-launch-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-pce-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-quote-ex-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-dcap-default-qpl/unknown,now 1.15.100.3-focal1 amd64 [installed]
libsgx-dcap-ql/unknown,now 1.15.100.3-focal1 amd64 [installed]
libsgx-dcap-quote-verify/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-enclave-common/unknown,now 2.18.100.3-focal1 amd64 [installed]
libsgx-epid/unknown,now 2.18.100.3-focal1 amd64 [installed]
libsgx-launch/unknown,now 2.18.100.3-focal1 amd64 [installed]
libsgx-pce-logic/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-qe3-logic/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-quote-ex/unknown,now 2.18.100.3-focal1 amd64 [installed]
libsgx-urts/unknown,now 2.18.100.3-focal1 amd64 [installed]
sgx-aesm-service/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
sgx-dcap-pccs/unknown,now 1.15.100.3-focal1 amd64 [installed]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;This is my first time dealing with TCB recovery, but &lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/resources/q4-2022-intel-sgx-tcb-recovery-guidance.html" target="_self"&gt;Intel® Software Guard Extensions (Intel® SGX) Trusted Computing Base (TCB) Recovery Plans for Q4 2022&lt;/A&gt; doesn't mention what to do, and my CPU（Gold 5320） isn't listed,&amp;nbsp;I do not quite understand why I am also affected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would help me a lot if anyone could provide some guidelines or answers.&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 03:31:54 GMT</pubDate>
    <dc:creator>Laisky</dc:creator>
    <dc:date>2022-12-12T03:31:54Z</dc:date>
    <item>
      <title>Some problems with TCB recovery</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1437579#M5589</link>
      <description>&lt;P&gt;Currently, my SGX program keeps reporting errors when executing RemoteAttestion(DCAP) in the tester program:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;# OpenEnclave
Invalid platform TCB level: OutOfDate (cpu_svn[0] = 0x4, pce_svn = 0xb)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I have upgraded all DCAP, microcode, BIOS, MPA and still can't fix the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to see what problems exist on the machine that do not meet the conditions of TCB?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CPU info:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 106
model name      : Intel(R) Xeon(R) Gold 5320 CPU @ 2.20GHz
stepping        : 6
microcode       : 0xd00037b&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;SDKs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;apt list --installed | grep sgx

libsgx-ae-epid/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-ae-id-enclave/unknown,now 1.15.100.3-focal1 amd64 [installed]
libsgx-ae-le/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-ae-pce/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-ae-qe3/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-ae-qve/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-ecdsa-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-epid-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-launch-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-pce-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-aesm-quote-ex-plugin/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
libsgx-dcap-default-qpl/unknown,now 1.15.100.3-focal1 amd64 [installed]
libsgx-dcap-ql/unknown,now 1.15.100.3-focal1 amd64 [installed]
libsgx-dcap-quote-verify/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-enclave-common/unknown,now 2.18.100.3-focal1 amd64 [installed]
libsgx-epid/unknown,now 2.18.100.3-focal1 amd64 [installed]
libsgx-launch/unknown,now 2.18.100.3-focal1 amd64 [installed]
libsgx-pce-logic/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-qe3-logic/unknown,now 1.15.100.3-focal1 amd64 [installed,automatic]
libsgx-quote-ex/unknown,now 2.18.100.3-focal1 amd64 [installed]
libsgx-urts/unknown,now 2.18.100.3-focal1 amd64 [installed]
sgx-aesm-service/unknown,now 2.18.100.3-focal1 amd64 [installed,automatic]
sgx-dcap-pccs/unknown,now 1.15.100.3-focal1 amd64 [installed]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;This is my first time dealing with TCB recovery, but &lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/resources/q4-2022-intel-sgx-tcb-recovery-guidance.html" target="_self"&gt;Intel® Software Guard Extensions (Intel® SGX) Trusted Computing Base (TCB) Recovery Plans for Q4 2022&lt;/A&gt; doesn't mention what to do, and my CPU（Gold 5320） isn't listed,&amp;nbsp;I do not quite understand why I am also affected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would help me a lot if anyone could provide some guidelines or answers.&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 03:31:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1437579#M5589</guid>
      <dc:creator>Laisky</dc:creator>
      <dc:date>2022-12-12T03:31:54Z</dc:date>
    </item>
    <item>
      <title>Re:Some problems with TCB recovery</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1437750#M5591</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to hear that your SGX programs are facing errors when executing RemoteAttestation (DCAP).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are investigating with the development team regards to the &lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/resources/q4-2022-intel-sgx-tcb-recovery-guidance.html" rel="noopener noreferrer" target="_blank"&gt;Intel® Software Guard Extensions (Intel® SGX) Trusted Computing Base (TCB) Recovery Plans for Q4 2022&lt;/A&gt; mentioned, especially for Intel® Xeon® Gold 5320 Processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please allow some time for us to investigate, thank you for your patience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Dec 2022 14:15:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1437750#M5591</guid>
      <dc:creator>KFPW_Intel</dc:creator>
      <dc:date>2022-12-12T14:15:40Z</dc:date>
    </item>
    <item>
      <title>Re:Some problems with TCB recovery</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1439614#M5598</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your patience.&lt;/P&gt;&lt;P&gt;I have checked with the development team.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Intel® Xeon® Gold 5300 processors are affected, refer &lt;A href="https://www.intel.com/content/www/us/en/developer/topic-technology/software-security-guidance/processors-affected-consolidated-product-cpu-model.html" rel="noopener noreferrer" target="_blank"&gt;Software Security Guidance&lt;/A&gt; for more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is suggested to check the version of the uCode loaded by the BIOS, which can be found in the BIOS setup menu. The "&lt;EM&gt;cpu_svn[0] = 0x4" &lt;/EM&gt;is old, the latest is 0x7.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can obtain the TCBInfo for ICX showing both the latest early and late load uCode SVNs via:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;curl &lt;A href="https://api.trustedservices.intel.com/sgx/certification/v4/tcb?fmspc=00606a000000" rel="noopener noreferrer" target="_blank"&gt;https://api.trustedservices.intel.com/sgx/certification/v4/tcb?fmspc=00606a000000&lt;/A&gt;&amp;nbsp;| python3 -m json.tool&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Dec 2022 01:32:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1439614#M5598</guid>
      <dc:creator>KFPW_Intel</dc:creator>
      <dc:date>2022-12-19T01:32:15Z</dc:date>
    </item>
    <item>
      <title>Re:Some problems with TCB recovery</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1440667#M5605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope the information I provided was helpful to you.&lt;/P&gt;&lt;P&gt;Please inform us if you have any questions regards to this issue.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Dec 2022 00:51:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1440667#M5605</guid>
      <dc:creator>KFPW_Intel</dc:creator>
      <dc:date>2022-12-22T00:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Some problems with TCB recovery</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1440765#M5606</link>
      <description>&lt;P&gt;Thank you very much for your reply, I will contact OPS to check the machine.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please forgive my late reply, most of my colleagues have been on sick leave recently due to COVID.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 07:25:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1440765#M5606</guid>
      <dc:creator>Laisky</dc:creator>
      <dc:date>2022-12-22T07:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Some problems with TCB recovery</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1440788#M5607</link>
      <description>&lt;P data-unlink="true"&gt;May I ask how do you know my fmspc is "00606a000000"? and how to check the latest cpu_svn is “0x4”？&lt;/P&gt;
&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-unlink="true"&gt;Thanks&lt;/P&gt;
&lt;P data-unlink="true"&gt;Laisky&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 08:32:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1440788#M5607</guid>
      <dc:creator>Laisky</dc:creator>
      <dc:date>2022-12-22T08:32:59Z</dc:date>
    </item>
    <item>
      <title>Re:Some problems with TCB recovery</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1440846#M5608</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I believe your SGX program reports error of &lt;EM&gt;OutofDate (cpu_svn[0] = 0x4)&lt;/EM&gt; based on your question, the latest is &lt;EM&gt;0x7&lt;/EM&gt;. It is suggested to check the version of uCode loaded by the BIOS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I believe FMSPC stands for Family-Model-Stepping-Platform-CustomSKU where it is the description of processor package or platform instance including its Family, Model, Stepping, Platform Type and Customized SKU (if applies). Refer &lt;A href="https://download.01.org/intel-sgx/dcap-1.0.1/docs/SGX_PCK_Certificate_CRL_Spec-1.0.pdf" rel="noopener noreferrer" target="_blank"&gt;Intel® SGX PCK Certificate and Certificate Revocation List Profile Specification&lt;/A&gt; for more information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful and your colleagues will recover soon. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ken&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Dec 2022 12:36:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1440846#M5608</guid>
      <dc:creator>KFPW_Intel</dc:creator>
      <dc:date>2022-12-22T12:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Some problems with TCB recovery</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1444251#M5622</link>
      <description>&lt;P&gt;Hi, I have an intel NUC with the same issue. It is affected of course. I've run the above script and shows some JSON data... however, it is not clear who it is an accepted solution when there is no mention on how to address the issue. I have done an update and see the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 { 2 "tcbInfo": { 3 "id": "SGX", 4 "version": 3, 5 "issueDate": "2023-01-05T19:25:39Z", 6 "nextUpdate": "2023-02-04T19:25:39Z", 7 "fmspc": "00606a000000", 8 "pceId": "0000", 9 "tcbType": 0, 10 "tcbEvaluationDataNumber": 13, 11 "tcbLevels": [ 12 { 13 "tcb": { 14 "sgxtcbcomponents": [ 15 { 16 "svn": 7, 17 "category": "BIOS", 18 "type": "Early Microcode Update" 19 }, 20 { 21 "svn": 9, 22 "category": "OS/VMM", 23 "type": "SGX Late Microcode Update" 24 }, 25 { 26 "svn": 3, 27 "category": "OS/VMM", 28 "type": "TXT SINIT" 29 }, 30 { 31 "svn": 3, 32 "category": "BIOS" 33 }, ....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, what is the fix? I saw the notice saying systems are affected, mine was supposed to be addressed in November, but it still shows the error.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 19:46:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Some-problems-with-TCB-recovery/m-p/1444251#M5622</guid>
      <dc:creator>onepotato</dc:creator>
      <dc:date>2023-01-05T19:46:33Z</dc:date>
    </item>
  </channel>
</rss>

