Re: [PATCH v2 3/5] hv_netvsc: Don't free decrypted memory

2024-03-11 Thread Kuppuswamy Sathyanarayanan
On 3/11/24 9:15 AM, mhkelle...@gmail.com wrote: > From: Rick Edgecombe > > In CoCo VMs it is possible for the untrusted host to cause > set_memory_encrypted() or set_memory_decrypted() to fail such that an > error is returned and the resulting memory is shared. Callers need to > take care to han

[PATCH v2 3/5] hv_netvsc: Don't free decrypted memory

2024-03-11 Thread mhkelley58
From: Rick Edgecombe In CoCo VMs it is possible for the untrusted host to cause set_memory_encrypted() or set_memory_decrypted() to fail such that an error is returned and the resulting memory is shared. Callers need to take care to handle these errors to avoid returning decrypted (shared) memory