qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.12 0/4] Fix crashes with CAN bus and ISA DMA devices
@ 2018-03-16  9:51 Thomas Huth
  2018-03-16  9:51 ` [Qemu-devel] [PATCH 1/4] hw/net/can: Fix segfaults when using the devices without bus Thomas Huth
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Thomas Huth @ 2018-03-16  9:51 UTC (permalink / raw)
  To: qemu-devel
  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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-03-26  7:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-16  9:51 [Qemu-devel] [PATCH for-2.12 0/4] Fix crashes with CAN bus and ISA DMA devices Thomas Huth
2018-03-16  9:51 ` [Qemu-devel] [PATCH 1/4] hw/net/can: Fix segfaults when using the devices without bus Thomas Huth
2018-03-16  9:51 ` [Qemu-devel] [PATCH 2/4] fdc: Exit if ISA controller does not support DMA Thomas Huth
2018-03-16  9:51 ` [Qemu-devel] [PATCH 3/4] hw/audio: Fix crashes when devices are used on ISA bus without DMA Thomas Huth
2018-03-16 12:32   ` Philippe Mathieu-Daudé
2018-03-16  9:51 ` [Qemu-devel] [PATCH 4/4] scripts/device-crash-test: Remove fixed isapc-with-iommu entry Thomas Huth
2018-03-16 10:15 ` [Qemu-devel] [PATCH for-2.12 0/4] Fix crashes with CAN bus and ISA DMA devices Paolo Bonzini
2018-03-23 18:20   ` John Snow
2018-03-26  7:38     ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).