qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Laurent Vivier" <lvivier@redhat.com>,
	"Martin Schrodt" <martin@schrodt.org>,
	"Thomas Huth" <thuth@redhat.com>,
	"Gianluca Gabruelli" <gianluca.gabrielli@suse.com>,
	"Volker Rümelin" <vr_qemu@t-online.de>,
	"Li Qiang" <liq3ea@gmail.com>,
	"Mauro Matteo Cascella" <mcascell@redhat.com>,
	"Qiuhao Li" <Qiuhao.Li@outlook.com>,
	"Jon Maloy" <jmaloy@redhat.com>,
	"Alexander Bulekov" <alxndr@bu.edu>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Gerd Hoffmann" <kraxel@redhat.com>,
	crazybyte@protonmail.com, "Matt Parker" <mtparkr@gmail.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: [RFC PATCH 0/3] hw/audio/intel-hda: Restrict DMA engine to memories (non-MMIO devices)
Date: Sat, 18 Dec 2021 17:09:09 +0100	[thread overview]
Message-ID: <20211218160912.1591633-1-philmd@redhat.com> (raw)

An attempt to fix the Intel HDA DMA reentrancy problem by
restricting the DMA engine to memories, and reporting invalid
I/O region accesses as overruns.

Based-on: <20211218151053.1545962-1-philmd@redhat.com>
"hw: Have DMA API take MemTxAttrs arg & propagate MemTxResult (part 4)"
https://lore.kernel.org/qemu-devel/20211218151053.1545962-1-philmd@redhat.com/

Philippe Mathieu-Daudé (3):
  hw/audio/intel-hda: Do not ignore DMA overrun errors
  hw/audio/intel-hda: Restrict DMA engine to memories (not MMIO devices)
  tests/qtest/intel-hda-test: Add reproducer for issue #542

 hw/audio/intel-hda.c         | 11 ++++++++---
 tests/qtest/intel-hda-test.c | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 3 deletions(-)

-- 
2.33.1




             reply	other threads:[~2021-12-18 16:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-18 16:09 Philippe Mathieu-Daudé [this message]
2021-12-18 16:09 ` [RFC PATCH 1/3] hw/audio/intel-hda: Do not ignore DMA overrun errors Philippe Mathieu-Daudé
2021-12-18 16:09 ` [RFC PATCH 2/3] hw/audio/intel-hda: Restrict DMA engine to memories (not MMIO devices) Philippe Mathieu-Daudé
2022-03-18 19:13   ` [RFC PATCH 2/3] hw/audio/intel-hda: Restrict DMA engine to memories (not MMIO devices) [CVE-2021-3611] Thomas Huth
2021-12-18 16:09 ` [RFC PATCH 3/3] tests/qtest/intel-hda-test: Add reproducer for issue #542 Philippe Mathieu-Daudé
2022-03-18 19:15   ` Thomas Huth
2021-12-18 16:14 ` [RFC PATCH 0/3] hw/audio/intel-hda: Restrict DMA engine to memories (CVE-2021-3611) Philippe Mathieu-Daudé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211218160912.1591633-1-philmd@redhat.com \
    --to=philmd@redhat.com \
    --cc=Qiuhao.Li@outlook.com \
    --cc=alxndr@bu.edu \
    --cc=crazybyte@protonmail.com \
    --cc=gianluca.gabrielli@suse.com \
    --cc=jmaloy@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=liq3ea@gmail.com \
    --cc=lvivier@redhat.com \
    --cc=martin@schrodt.org \
    --cc=mcascell@redhat.com \
    --cc=mtparkr@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=vr_qemu@t-online.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).