Received: from eggs.gnu.org ([2001:4830:134:3::10]:39370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgVw4-000126-E7 for qemu-devel@nongnu.org; Tue, 21 Oct 2014 05:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgVvy-00070x-CS for qemu-devel@nongnu.org; Tue, 21 Oct 2014 05:41:00 -0400 Received: from indium.canonical.com ([91.189.90.7]:36860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgVvy-00070W-71 for qemu-devel@nongnu.org; Tue, 21 Oct 2014 05:40:54 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1XgVvw-00077Q-I0 for ; Tue, 21 Oct 2014 09:40:52 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 8497E2E80C2 for ; Tue, 21 Oct 2014 09:40:52 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 21 Oct 2014 09:32:40 -0000 From: Max Reitz <1353456@bugs.launchpad.net> Sender: bounces@canonical.com References: <20140806122224.23656.15083.malonedeb@wampee.canonical.com> Message-Id: <20141021093240.3976.72600.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1353456] Re: qemu-io: Failure on a qcow2 image with the fuzzed refcount table Reply-To: Bug 1353456 <1353456@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, this has been fixed in upstream master (5f77ef69a195098baddfdc6d189f1b4a94587378): $ ./qemu-io copy.img -c 'aio_write 836608 166400' qcow2: Marking image as corrupt: Preventing invalid write on metadata (over= laps with qcow2_header); further corruption events will be suppressed aio_write failed: Input/output error Thanks for your report, Max -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1353456 Title: qemu-io: Failure on a qcow2 image with the fuzzed refcount table Status in QEMU: New Bug description: 'qemu-io -c write' and 'qemu-io -c aio_write' crashes on a qcow2 image with a fuzzed refcount table. Sequence: 1. Unpack the attached archive, make a copy of test.img 2. Put copy.img and backing_img.file in the same directory 3. Execute qemu-io copy.img -c write 279552 322560 or qemu-io copy.img -c aio_write 836608 166400 Result: qemu-io was killed by SIGIOT with the reason: qemu-io: block/qcow2-cluster.c:1291: qcow2_alloc_cluster_offset: Assertion `*host_offset !=3D 0' failed. qemu.git HEAD 69f87f713069f1f To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1353456/+subscriptions