aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2025-07-16 15:41:35 -0500
committerBorislav Petkov (AMD) <bp@alien8.de>2025-08-15 17:05:39 +0200
commitc08ba63078dd6046c279df37795cb77e784e1ec9 (patch)
tree7dc3c8b11a3c1e59c7babd594cf3842fb743217e /tools/perf/scripts/python/bin
parentx86/sev: Improve handling of writes to intercepted TSC MSRs (diff)
downloadwireguard-linux-c08ba63078dd6046c279df37795cb77e784e1ec9.tar.xz
wireguard-linux-c08ba63078dd6046c279df37795cb77e784e1ec9.zip
virt: sev-guest: Satisfy linear mapping requirement in get_derived_key()
Commit 7ffeb2fc2670 ("x86/sev: Document requirement for linear mapping of guest request buffers") added a check that requires the guest request buffers to be in the linear mapping. The get_derived_key() function was passing a buffer that was allocated on the stack, resulting in the call to snp_send_guest_request() returning an error. Update the get_derived_key() function to use an allocated buffer instead of a stack buffer. Fixes: 7ffeb2fc2670 ("x86/sev: Document requirement for linear mapping of guest request buffers") Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Cc: <stable@kernel.org> Link: https://lore.kernel.org/9b764ca9fc79199a091aac684c4926e2080ca7a8.1752698495.git.thomas.lendacky@amd.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions