LWN: Comments on "A proposed API for full-memory encryption" https://lwn.net/Articles/776688/ This is a special feed containing comments posted to the individual LWN article titled "A proposed API for full-memory encryption". en-us Fri, 31 Oct 2025 06:38:19 +0000 Fri, 31 Oct 2025 06:38:19 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Request : How to test Total memory enrcyption feature in Latest Ubuntu OS (22.04) https://lwn.net/Articles/911934/ https://lwn.net/Articles/911934/ Sridha <div class="FormattedComment"> Hi <br> Any can help to me for TME testing.<br> <p> How to test Total memory enrcyption feature in Latest Ubuntu OS (22.04)<br> <p> Thanks /Sridhar<br> </div> Fri, 21 Oct 2022 01:25:07 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/787291/ https://lwn.net/Articles/787291/ judas_iscariote <div class="FormattedComment"> Why they will even bother with this ? there are gazillions of bugs more easily exploited !<br> </div> Thu, 02 May 2019 14:19:23 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/778284/ https://lwn.net/Articles/778284/ timmu_india <div class="FormattedComment"> Does Intel Management Engine has visibility to the encryption steps that happens inside CPU? IME is a huge security hole already.<br> </div> Fri, 01 Feb 2019 16:07:01 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/778141/ https://lwn.net/Articles/778141/ jlarrew <div class="FormattedComment"> The EPYC server line from AMD does inline AES encryption for the cross-socket links.<br> </div> Thu, 31 Jan 2019 18:46:32 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777609/ https://lwn.net/Articles/777609/ flussence <div class="FormattedComment"> It's needed for ACPI suspend.<br> </div> Sun, 27 Jan 2019 01:20:48 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777590/ https://lwn.net/Articles/777590/ biergaizi <div class="FormattedComment"> This should eventually fix the cold-boot attack.<br> </div> Sat, 26 Jan 2019 19:35:39 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777391/ https://lwn.net/Articles/777391/ james The Real World Tech forums <a href="https://www.realworldtech.com/forum/?threadid=182253&curpostid=182253">debated inter-socket encryption last month</a>.<p> As usual with forums, it's difficult to ensure posters are who they say they are, but someone calling himself Aaron Spink <a href="https://www.realworldtech.com/forum/?threadid=182253&curpostid=182267"> said</a>:<blockquote> The simple reality is that you aren't going to MitM any high speed link without a custom board and multiple millions of dollars of large bulky equipment. You can't just put some contacts onto the board and get a viable working signal.</blockquote><a href="https://www.realworldtech.com/forum/?threadid=182253&curpostid=182282">and</a><blockquote>AFAIK, no one actually does link level encryption in the field currently for a variety of reasons (not the least of which is that end to end is much simpler and robust). </blockquote> <p> Presumably, the point is that modern point-to-point high speed connections are designed to run as fast as possible over as few wires as possible. A third device on the link would change the electrical characteristics to the point that the link just wouldn't work -- if it didn't, the link isn't going fast enough. Wed, 23 Jan 2019 17:31:28 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777362/ https://lwn.net/Articles/777362/ Paf <div class="FormattedComment"> So, physical intrusion. Ok! I was concerned as I can’t think of any software level stuff for this, and this makes more sense.<br> </div> Wed, 23 Jan 2019 13:55:05 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777348/ https://lwn.net/Articles/777348/ zdzichu <div class="FormattedComment"> 15 years ago, Microsoft Xbox console was hacked by sniffing traffic on memory bus.<br> </div> Wed, 23 Jan 2019 06:34:18 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777345/ https://lwn.net/Articles/777345/ Paf <div class="FormattedComment"> Why, though? What potential exploit(s) does that cover?<br> </div> Wed, 23 Jan 2019 03:53:37 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777339/ https://lwn.net/Articles/777339/ luto <div class="FormattedComment"> I hope that SGX protects coherency traffic between sockets. <br> <p> </div> Wed, 23 Jan 2019 00:30:30 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777323/ https://lwn.net/Articles/777323/ sbates <div class="FormattedComment"> The encryption hardware discussed in this article is integrated into the memory controller(s). So it only affects data as it leaves the coherent bus and heads out to off-chip memory (typically DRAM). This serves two purposes. <br> <p> 1. No plaintext on the DDR bus. Though I’d argue if a black hat has physical access to your DDR bus you have bigger problems ;-). <br> <p> 2. Assuming different keys for each process (or VM) leaking memory from one process to another does not reveal user data. <br> <p> For inter-SMP buses only 1 is an issue. So I’d argue it’s less critical to encrypt the chip to chip busses than the chip to memory busses. Now I’d argue this holds less and less as these busses scale out so things like OpenGenCCIX might need encryption...<br> </div> Tue, 22 Jan 2019 18:52:45 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777316/ https://lwn.net/Articles/777316/ Paf <div class="FormattedComment"> I'm also not sure I see the point of encrypting cross-socket communications. What is that supposed to protect against?<br> </div> Tue, 22 Jan 2019 16:56:07 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777284/ https://lwn.net/Articles/777284/ kiryl <div class="FormattedComment"> MKTME encryption doesn't cover any traffic within socket or between them. It's all plain text. Only traffic to/from memory is encrypted.<br> </div> Tue, 22 Jan 2019 12:39:56 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777228/ https://lwn.net/Articles/777228/ naptastic <div class="FormattedComment"> I've never physically removed a CPU from a running system, but I've used CPU hotplugging as a heavy-handed power/thermal management tool before.<br> </div> Mon, 21 Jan 2019 14:55:06 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777207/ https://lwn.net/Articles/777207/ janfrode <div class="FormattedComment"> Switching between SMT modes on Power8/9 is probably a form of CPU hotplugging, and it’s very common to do on job setup in HPC. <br> </div> Sun, 20 Jan 2019 22:07:01 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777204/ https://lwn.net/Articles/777204/ jcm <div class="FormattedComment"> Anyone able to confirm if the solutions out there currently encrypt all coherency traffic between sockets as well? They certainly should but I'm not certain the initial generations do that.<br> </div> Sun, 20 Jan 2019 20:42:17 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777187/ https://lwn.net/Articles/777187/ Freeaqingme <div class="FormattedComment"> I wonder how widespread the use of CPU hotplugging is, especially on bare metal. I've always seen it as a rather obscure use case that perhaps occasionally used in mainframes or something. If that's the case, one could simply say that at first memory encryption is not supported when cpu hotplugging is enabled.<br> <p> But perhaps my idea of the popularity of the cpu hotplugging functionality is wrong?<br> </div> Sun, 20 Jan 2019 16:15:21 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777156/ https://lwn.net/Articles/777156/ khim <div class="FormattedComment"> Is kernel actually secure enough to warrant plugging them in? Historically all OSes were buggy enough that it was simpler and cheaper to just look for holes left by developers.<br> </div> Sat, 19 Jan 2019 02:31:40 +0000 A proposed API for full-memory encryption https://lwn.net/Articles/777147/ https://lwn.net/Articles/777147/ jdulaney <div class="FormattedComment"> I wonder how long it will take to find the various government backdoors.<br> </div> Sat, 19 Jan 2019 01:08:52 +0000