Received: from eggs.gnu.org ([2001:4830:134:3::10]:33624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIWqI-000698-1p for qemu-devel@nongnu.org; Mon, 11 Jan 2016 02:24:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIWqE-0008Im-SW for qemu-devel@nongnu.org; Mon, 11 Jan 2016 02:24:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIWqE-0008Ii-Mq for qemu-devel@nongnu.org; Mon, 11 Jan 2016 02:24:38 -0500 Date: Mon, 11 Jan 2016 12:53:49 +0530 (IST) From: P J P In-Reply-To: <1452060985-25843-1-git-send-email-ppandit@redhat.com> Message-ID: References: <1452060985-25843-1-git-send-email-ppandit@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH v2 for v2.3.0] fw_cfg: add check to validate current entry value List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Peter Maydell , Qemu devel , Donghai Zdh Hello, +-- On Wed, 6 Jan 2016, P J P wrote --+ | When processing firmware configurations, an OOB r/w access occurs | if 's->cur_entry' is set to be invalid(FW_CFG_INVALID=0xffff). | Add a check to validate 's->cur_entry' to avoid such access. | | Reported-by: Donghai Zdh | Signed-off-by: Prasad J Pandit | --- | hw/nvram/fw_cfg.c | 12 ++++++++---- | 1 file changed, 8 insertions(+), 4 deletions(-) | | Updated as per review in | -> https://lists.gnu.org/archive/html/qemu-devel/2016-01/msg00398.html -> https://patchwork.ozlabs.org/patch/563706/ Ping...! Does it look okay? (just checking) Thank you. -- Prasad J Pandit / Red Hat Product Security Team 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F