mirror-linux/drivers/virt
Dionna Glaze 577a64725b virt/coco/sev-guest: Double-buffer messages
[ Upstream commit 965006103a ]

The encryption algorithms read and write directly to shared unencrypted
memory, which may leak information as well as permit the host to tamper
with the message integrity. Instead, copy whole messages in or out as
needed before doing any computation on them.

Fixes: d5af44dde5 ("x86/sev: Provide support for SNP guest request NAEs")
Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230214164638.1189804-3-dionnaglaze@google.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-11 23:03:10 +09:00
..
acrn
coco virt/coco/sev-guest: Double-buffer messages 2023-05-11 23:03:10 +09:00
nitro_enclaves
vboxguest virt: vbox: Remove unproper information 2022-09-09 10:19:18 +02:00
Kconfig
Makefile
fsl_hypervisor.c
vmgenid.c