Received: from eggs.gnu.org ([140.186.70.92]:52504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVKLd-000164-U2 for qemu-devel@nongnu.org; Tue, 29 Nov 2011 04:51:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVKLZ-00032y-Ta for qemu-devel@nongnu.org; Tue, 29 Nov 2011 04:51:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVKLZ-00031V-ML for qemu-devel@nongnu.org; Tue, 29 Nov 2011 04:51:29 -0500 From: Markus Armbruster References: <1322508457-25520-1-git-send-email-armbru@redhat.com> <20111129093634.GA7747@garlic.tlv.redhat.com> Date: Tue, 29 Nov 2011 10:51:25 +0100 In-Reply-To: <20111129093634.GA7747@garlic.tlv.redhat.com> (Alon Levy's message of "Tue, 29 Nov 2011 11:36:34 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH] ccid: Fix buffer overrun in handling of VSC_ATR message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: qemu-devel@nongnu.org Alon Levy writes: > On Mon, Nov 28, 2011 at 08:27:37PM +0100, Markus Armbruster wrote: >> ATR size exceeding the limit is diagnosed, but then we merrily use it >> anyway, overrunning card->atr[]. >> >> The message is read from a character device. Obvious security >> implications unless the other end of the character device is trusted. >> >> Spotted by Coverity. CVE-2011-4111. >> > > Anthony, do you want me to do a pull request for this or can you merge > it as is? It's already in, commit 7e62255a.