Received: from eggs.gnu.org ([2001:4830:134:3::10]:42455) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4mMC-0006lq-9I for qemu-devel@nongnu.org; Mon, 23 May 2016 05:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b4mM8-0001xb-0c for qemu-devel@nongnu.org; Mon, 23 May 2016 05:41:03 -0400 Received: from indium.canonical.com ([91.189.90.7]:46806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b4mM7-0001xT-R5 for qemu-devel@nongnu.org; Mon, 23 May 2016 05:40:59 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1b4mM7-0005ry-41 for ; Mon, 23 May 2016 09:40:59 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 17EDC2E80C8 for ; Mon, 23 May 2016 09:40:59 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 23 May 2016 09:31:20 -0000 From: thh <1581308@bugs.launchpad.net> Reply-To: Bug 1581308 <1581308@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160513042345.10274.56175.malonedeb@gac.canonical.com> Message-Id: <20160523093120.9081.40449.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1581308] Re: ohci doesn't check the 'num-ports' property List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I was able to reproduce the crash, and proposed now a fix on the qemu- devel mailing list (see https://patchwork.ozlabs.org/patch/625092/ for details) -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1581308 Title: ohci doesn't check the 'num-ports' property Status in QEMU: New Bug description: command: qemu-system-x86_64 -m 1024 -enable-kvm /root/centos6.img -enable-kvm -dev= ice pci-ohci,num-ports=3D100,masterbus=3D1 The ohci doesn't check the 'num-ports' property and would case an out- of-bands write,crash the qemu process. ohci->num_ports =3D num_ports; if (masterbus) { USBPort *ports[OHCI_MAX_PORTS]; for(i =3D 0; i < num_ports; i++) { ports[i] =3D &ohci->rhport[i].port; } The version of qemu is 2.6.0 release from = http://wiki.qemu-project.org/download/qemu-2.6.0.tar.bz2 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1581308/+subscriptions