Received: from eggs.gnu.org ([2001:4830:134:3::10]:47633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZNvM-0006NE-EK for qemu-devel@nongnu.org; Mon, 15 Aug 2016 15:51:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZNvH-0003Q3-8z for qemu-devel@nongnu.org; Mon, 15 Aug 2016 15:51:51 -0400 Received: from vechigen.cirrax.com ([217.197.128.12]:44324 helo=mail.cirrax.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZNvH-0003Pw-2H for qemu-devel@nongnu.org; Mon, 15 Aug 2016 15:51:47 -0400 From: Gaudenz Steinlin In-Reply-To: <1471015978-1123-1-git-send-email-stefanha@redhat.com> References: <1471015978-1123-1-git-send-email-stefanha@redhat.com> Date: Mon, 15 Aug 2016 21:51:21 +0200 Message-ID: <87zioderpi.fsf@meteor.durcheinandertal.bofh> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Subject: Re: [Qemu-devel] [PATCH for-2.7 0/4] virtio-balloon: fix stats vq migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Luiz Capitulino , "Michael S. Tsirkin" --=-=-= Content-Type: text/plain Stefan Hajnoczi writes: > Gaudenz Steinlin reported that virtqueue_pop() terminates > QEMU because the virtqueue size is exceeded following the CVE-2016-5403 fix. I > have been unable to reproduce this or understand the root cause by code > inspection. Along the way I did discover a few bugs in virtio-balloon and > virtio code. > > Please see the individual patches for details. > > Gaudenz: If you can reproduce the bug you reported, please try again with these > patches applied. As mentioned in the original thread I only tested on QEMU 2.0.0 so far. I tried to apply your patches to this version, but did not succeed. I could not apply the first patch in the series because the code changed too much and with only the others applied QEMU failed to compile. I gave up at that point. Does it make sense at all to test these patches on 2.0.0? Ubuntu reverted the problematic fix in their latest package update for trusty, so my immediate problem is "solved". Is there a chance to get a fix for CVE-2016-5403 that works on QEMU 2.0.0 without breaking migrations? Best regards and thanks to all for the effort so far, Gaudenz --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBV7IdOjqy+YLgEJvVAQrZGAf/VUPRG3g1+9rcDgRtWgZ079hFt3MIS8Vu CwR2c9kukaVSVKJfnNmb93HNXtyGdjwXOgEMz5r2DvISdHQeAsmmp0o/URBdldkT Bx+WKqiBbfLw4Tt7uWlmsjLPD8nj7DwN+Mtqx82qUEemfcAjzLxPbuSBFovuwBDS FcFCL8Ao+LrjpkJyLFSc2O519nPaZu0k7imme5lINXdxtpQb/smbC0qrpJnpas+I BzIqGnaR37ZzgWOeRoJwu2mNKxuBKVDNYPzhfoeOwP1jmQ+BrL0FuA7At96WGZ2A qDvV/7tCLhh0VFqCSXg/GMyBLgmFIwy7X3LRM/N55hul6J1rfqKNRw== =xCP1 -----END PGP SIGNATURE----- --=-=-=--