summaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2019-03-25 21:47:31 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2019-04-05 21:49:42 +0300
commitb86bc2858b389255cd44555ce4b1e427b2b770c0 (patch)
tree0744c853c7f9e063f9349963b306eb0bef0d72a4 /scripts/bpf_helpers_doc.py
parentede885ecb2cdf8a8dd5367702e3d964ec846a2d5 (diff)
downloadlinux-b86bc2858b389255cd44555ce4b1e427b2b770c0.tar.xz
KVM: SVM: prevent DBG_DECRYPT and DBG_ENCRYPT overflow
This ensures that the address and length provided to DBG_DECRYPT and DBG_ENCRYPT do not cause an overflow. At the same time, pass the actual number of pages pinned in memory to sev_unpin_memory() as a cleanup. Reported-by: Cfir Cohen <cfir@google.com> Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions