qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
To: qemu-stable@nongnu.org, qemu-devel@nongnu.org,
	Gerd Hoffmann <kraxel@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>
Cc: "Zheyu Ma" <zheyuma97@gmail.com>,
	"Philippe Mathieu-Daudé " <philmd@linaro.org>
Subject: Re: [PATCH v1 0/1] virtio-snd: fix invalid tx/rx message handling logic
Date: Fri, 05 Apr 2024 13:54:46 +0300	[thread overview]
Message-ID: <bgucz.0f0amac25xfr@linaro.org> (raw)
In-Reply-To: <cover.virtio-snd-rewrite-invalid-tx-rx-message-handling-v1.manos.pitsidianakis@linaro.org>

ping

On Sun, 24 Mar 2024 12:04, Manos Pitsidianakis <manos.pitsidianakis@linaro.org> wrote:
>This is a logic fix for the error handling in the TX/RX virt queue 
>handlers. A potential invalid address dereference was reported and fixed 
>by Zheyu Ma in <20240322110827.568412-1-zheyuma97@gmail.com>. This patch 
>moves the invalid message storage from the stream structs to the virtio 
>device struct to
>
>1. make such bug impossible
>2. reply to invalid messages again with VIRTIO_SND_S_BAD_MSG, which was 
>not possible before.
>
>Patch based on master base-commit: 853546f8128476eefb701d4a55b2781bb3a46faa
>with the following patch applied:
>
>  Subject: [PATCH v2] virtio-snd: Enhance error handling for invalid
>   transfers
>  From: Zheyu Ma <zheyuma97@gmail.com>
>  Date: Fri, 22 Mar 2024 12:08:27 +0100
>  Message-Id: <20240322110827.568412-1-zheyuma97@gmail.com>
>
>
>Manos Pitsidianakis (1):
>  virtio-snd: rewrite invalid tx/rx message handling
>
> include/hw/audio/virtio-snd.h |  16 +++-
> hw/audio/virtio-snd.c         | 137 +++++++++++++++-------------------
> 2 files changed, 77 insertions(+), 76 deletions(-)
>
>
>base-commit: 853546f8128476eefb701d4a55b2781bb3a46faa
>prerequisite-patch-id: 8209301569bd30ba806d06b3452a2f3156503a7a
>-- 
>γαῖα πυρί μιχθήτω
>


  parent reply	other threads:[~2024-04-05 10:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-24 10:04 [PATCH v1 0/1] virtio-snd: fix invalid tx/rx message handling logic Manos Pitsidianakis
2024-03-24 10:04 ` [PATCH v1 1/1] virtio-snd: rewrite invalid tx/rx message handling Manos Pitsidianakis
2024-04-05 10:54 ` Manos Pitsidianakis [this message]
2024-04-05 11:07   ` [PATCH v1 0/1] virtio-snd: fix invalid tx/rx message handling logic Michael S. Tsirkin
2024-04-05 18:25     ` Manos Pitsidianakis

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=bgucz.0f0amac25xfr@linaro.org \
    --to=manos.pitsidianakis@linaro.org \
    --cc=kraxel@redhat.com \
    --cc=mst@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    --cc=zheyuma97@gmail.com \
    /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).