Re: [PATCH v18 22/25] cryptodisk: wipe out the cached keys from protectors

2024-08-30 Thread Daniel Kiper
On Fri, Jun 28, 2024 at 04:19:05PM +0800, Gary Lin via Grub-devel wrote: > An attacker may insert a malicious disk with the same crypto UUID and > trick grub2 to mount the fake root. Even though the key from the key > protector fails to unlock the fake root, it's not wiped out cleanly so > the atta

[PATCH v18 22/25] cryptodisk: wipe out the cached keys from protectors

2024-06-28 Thread Gary Lin via Grub-devel
An attacker may insert a malicious disk with the same crypto UUID and trick grub2 to mount the fake root. Even though the key from the key protector fails to unlock the fake root, it's not wiped out cleanly so the attacker could dump the memory to retrieve the secret key. To defend such attack, wip