Messages in this thread | | | Date | Thu, 15 Dec 2022 12:59:37 -0800 | From | Isaku Yamahata <> | Subject | Re: [PATCH v10 016/108] KVM: TDX: create/destroy VM structure |
| |
On Fri, Dec 09, 2022 at 11:15:35AM -0800, Ackerley Tng <ackerleytng@google.com> wrote:
> > In tdx_vm_init, it is possible to have a double-reclaim, which > eventually causes a host crash. I have a selftest that reliably > reproduces this, and I believe the problem is that withiin > tdx_vm_free(), we don't reset kvm->tdcs = NULL and kvm->tdr.added to > false.
Thanks for the fix. Did you use error injection to trigger the error path?
Thanks, -- Isaku Yamahata <isaku.yamahata@gmail.com>
| |