Get the latest tech news

Intel SGX With Linux 6.16 Less Likely To Cause Fatal Machine Checks


Intel's Software Guard Extensions (SGX) updates for the in-development Linux 6.16 contain a fix so SGX is now less likely to cause a fatal machine check.

Specifically, reclaiming uses microcode operations including "EWB" 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.) This also doesn't completely close the time window when a memory error notification will be fatal (for a not previously poisoned EPC page) -- the MCE can happen after sgx_reclaim_pages() has selected its candidates or even *inside* a microcode operation (actually easy to trigger due to the amount of time spent in them.)"

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Intel

Intel

Photo of Linux

Linux

Photo of intel sgx

intel sgx

Related news:

News photo

F2FS Improvements Merged For Linux 6.16

News photo

Intel IPU7 Firmware Binaries Upstreamed For Lunar Lake Webcameras

News photo

Intel Wins Jury Trial Over Patent Licenses In $3 Billion VLSI Fight