From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewm1i-0006ZT-79 for qemu-devel@nongnu.org; Fri, 16 Mar 2018 05:51:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewm1h-0004DA-H2 for qemu-devel@nongnu.org; Fri, 16 Mar 2018 05:51:54 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:49112 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ewm1h-0004Ci-CJ for qemu-devel@nongnu.org; Fri, 16 Mar 2018 05:51:53 -0400 From: Thomas Huth Date: Fri, 16 Mar 2018 10:51:28 +0100 Message-Id: <1521193892-15552-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [PATCH for-2.12 0/4] Fix crashes with CAN bus and ISA DMA devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: John Snow , Gerd Hoffmann , Alexey Kardashevskiy , Eduardo Habkost , Pavel Pisa , Jason Wang , Paolo Bonzini The new CAN bus devices and some older ISA devices that use DMA can be used to crash QEMU. These patches introduce some proper checks so that the users get a proper error message instead. Alexey Kardashevskiy (1): fdc: Exit if ISA controller does not support DMA Thomas Huth (3): hw/net/can: Fix segfaults when using the devices without bus hw/audio: Fix crashes when devices are used on ISA bus without DMA scripts/device-crash-test: Remove fixed isapc-with-iommu entry hw/audio/cs4231a.c | 8 +++++++- hw/audio/gus.c | 7 ++++++- hw/audio/sb16.c | 9 +++++++-- hw/block/fdc.c | 5 ++++- hw/net/can/can_sja1000.c | 4 ++++ scripts/device-crash-test | 8 -------- 6 files changed, 28 insertions(+), 13 deletions(-) -- 1.8.3.1