diff options
| author | Yan Zhao <yan.y.zhao@intel.com> | 2026-01-08 15:46:17 -0600 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-01-13 11:24:21 -0800 |
| commit | 60b590de8b30dad8b11e9e4fba0df2eae81afb98 (patch) | |
| tree | da1d83ee7adcd7e47b744c61eecc12161f1047b9 /include | |
| parent | 9ace4753a5202b02191d54e9fdf7f9e3d02b85eb (diff) | |
KVM: SVM: Fix a missing kunmap_local() in sev_gmem_post_populate()
sev_gmem_post_populate() needs to unmap the target vaddr after
copy_from_user() to the vaddr fails.
Fixes: dee5a47cc7a4 ("KVM: SEV: Add KVM_SEV_SNP_LAUNCH_UPDATE command")
Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Link: https://patch.msgid.link/20260108214622.1084057-2-michael.roth@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
