From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Zyngier Subject: Re: [PATCH] arm64: KVM: Fix user access for debug registers Date: Wed, 16 Sep 2015 15:06:57 +0100 Message-ID: <55F97781.1060502@arm.com> References: <1442400070-23316-1-git-send-email-marc.zyngier@arm.com> <20150916134141.GA15903@cbox> Mime-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: , , , =?windows-1252?Q?Alex_Benn=E9e?= , Peter Maydell To: Christoffer Dall Return-path: Received: from eu-smtp-delivery-143.mimecast.com ([146.101.78.143]:28226 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753332AbbIPOHJ convert rfc822-to-8bit (ORCPT ); Wed, 16 Sep 2015 10:07:09 -0400 In-Reply-To: <20150916134141.GA15903@cbox> Sender: kvm-owner@vger.kernel.org List-ID: On 16/09/15 14:41, Christoffer Dall wrote: > On Wed, Sep 16, 2015 at 11:41:10AM +0100, Marc Zyngier wrote: >> When setting the debug register from userspace, make sure that >> copy_from_user() is called with its parameters in the expected >> order. It otherwise doesn't do what you think. >> >> Reported-by: Peter Maydell >> Cc: Alex Benn=E9e >> Fixes: 84e690bfbed1 ("KVM: arm64: introduce vcpu->arch.debug_ptr") >> Signed-off-by: Marc Zyngier > > yikes! > > Reviewed-by: Christoffer Dall > Thanks. Merged and pushed out to -next, together with the physaddr_t pa= tch. M. -- Jazz is not dead. It just smells funny... ________________________________ -- IMPORTANT NOTICE: The contents of this email and any attachments are= confidential and may also be privileged. If you are not the intended r= ecipient, please notify the sender immediately and do not disclose the = contents to any other person, use it for any purpose, or store or copy = the information in any medium. Thank you.