diff options
author | Mark Kanda <mark.kanda@oracle.com> | 2017-11-27 17:22:26 -0600 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-12-14 09:26:46 +0100 |
commit | 276c796cfef5bdaf9aae055f520b8857eaa3fa19 (patch) | |
tree | 1fe49210cebbd8903a7f41e02cfc94f5c03b8663 /kernel/tsacct.c | |
parent | 00647b44944a2f7212ac2c3825a465153d6e438f (diff) |
KVM: nVMX: Add a WARN for freeing a loaded VMCS02
When attempting to free a loaded VMCS02, add a WARN and avoid
freeing it (to avoid use-after-free situations).
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Mark Kanda <mark.kanda@oracle.com>
Reviewed-by: Ameya More <ameya.more@oracle.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'kernel/tsacct.c')
0 files changed, 0 insertions, 0 deletions