qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] virtio-net: correctly copy vnet header when flushing TX


From: Jason Wang
Subject: Re: [PATCH] virtio-net: correctly copy vnet header when flushing TX
Date: Mon, 15 Jan 2024 10:38:10 +0800

On Tue, Jan 2, 2024 at 11:29 AM Jason Wang <jasowang@redhat.com> wrote:
>
> When HASH_REPORT is negotiated, the guest_hdr_len might be larger than
> the size of the mergeable rx buffer header. Using
> virtio_net_hdr_mrg_rxbuf during the header swap might lead a stack
> overflow in this case. Fixing this by using virtio_net_hdr_v1_hash
> instead.
>
> Reported-by: Xiao Lei <leixiao.nop@zju.edu.cn>
> Cc: Yuri Benditovich <yuri.benditovich@daynix.com>
> Cc: qemu-stable@nongnu.org
> Cc: Mauro Matteo Cascella <mcascell@redhat.com>
> Fixes: CVE-2023-6693
> Fixes: e22f0603fb2f ("virtio-net: reference implementation of hash report")
> Signed-off-by: Jason Wang <jasowang@redhat.com>

Queued.

Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]