[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190111135025.GF14852@flask>
Date: Fri, 11 Jan 2019 14:50:26 +0100
From: Radim Krčmář <rkrcmar@...hat.com>
To: David Rientjes <rientjes@...gle.com>
Cc: Brijesh Singh <brijesh.singh@....com>,
Joerg Roedel <joro@...tes.org>,
Paolo Bonzini <pbonzini@...hat.com>,
Thomas Lendacky <Thomas.Lendacky@....com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [patch] kvm: sev: Fail KVM_SEV_INIT if already initialized
2019-01-02 12:56-0800, David Rientjes:
> By code inspection, it was found that multiple calls to KVM_SEV_INIT
> could deplete asid bits and overwrite kvm_sev_info's regions_list.
>
> Multiple calls to KVM_SVM_INIT is not likely to occur with QEMU, but this
> should likely be fixed anyway.
>
> This code is serialized by kvm->lock.
>
> Fixes: 1654efcbc431 ("KVM: SVM: Add KVM_SEV_INIT command")
> Reported-by: Cfir Cohen <cfir@...gle.com>
> Signed-off-by: David Rientjes <rientjes@...gle.com>
> ---
Applied, thanks.
Powered by blists - more mailing lists