[PATCH v2 2/2] vhost: fix uninitialized VQ info in VDUSE vring setup

Maxime Coquelin mcoqueli at redhat.com
Wed Oct 15 13:44:43 CEST 2025


On Tue, Sep 16, 2025 at 11:36 AM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> Initialize vduse_vq_info structure to zero to avoid using
> uninitialized memory when setting up VDUSE virtual rings.
> This ensures all fields start with known values.
>
> Fixes: a9120db8b98b ("vhost: add VDUSE device startup")
> Cc: stable at dpdk.org
>
> Reported-by: David Marchand <david.marchand at redhat.com>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> ---
Applied to next-virtio/for-next-net.

Thanks,
Maxime



More information about the dev mailing list