diff options
| author | Maxim Levitsky <[email protected]> | 2022-11-03 16:13:44 +0200 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-11-17 11:39:54 -0500 |
| commit | 16ae56d7e0528559bf8dc9070e3bfd8ba3de80df (patch) | |
| tree | 58164c77de5374af858ca156f283bebe80bd5de2 /tools/lib/traceevent/plugins/plugin_function.c | |
| parent | 917401f26a6af5756d89b550a8e1bd50cf42b07e (diff) | |
KVM: x86: nSVM: harden svm_free_nested against freeing vmcb02 while still in use
Make sure that KVM uses vmcb01 before freeing nested state, and warn if
that is not the case.
This is a minimal fix for CVE-2022-3344 making the kernel print a warning
instead of a kernel panic.
Cc: [email protected]
Signed-off-by: Maxim Levitsky <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugins/plugin_function.c')
0 files changed, 0 insertions, 0 deletions