Re: [PATCH][resend] KVM: fix error handling in svm_cpu_init

From: linmiaohe
Date: Thu Feb 20 2020 - 03:18:10 EST

Li RongQing <lirongqing@xxxxxxxxx> writes:
>sd->save_area should be freed in error path
>Fixes: 70cd94e60c733 ("KVM: SVM: VMRUN should use associated ASID when SEV is enabled")
>Signed-off-by: Li RongQing <lirongqing@xxxxxxxxx>
>Reviewed-by: Brijesh Singh <brijesh.singh@xxxxxxx>
>Reviewed-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
> arch/x86/kvm/svm.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)

Oh, it's strange. This is already fixed in my previous patch : [PATCH v2] KVM: SVM: Fix potential memory leak in svm_cpu_init().
And Vitaly and Liran gave me Reviewed-by tags and Paolo queued it one month ago. But I can't found it in master or queue
branch. There might be something wrong. :(