patch 'vhost: fix virtqueue info init in VDUSE vring setup' has been queued to stable release 24.11.4
Kevin Traynor
ktraynor at redhat.com
Fri Oct 31 15:33:16 CET 2025
Hi,
FYI, your patch has been queued to stable release 24.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/05/25. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/f25ac9297da16ea4f5f193b1977f192888f7a4c4
Thanks.
Kevin
---
>From f25ac9297da16ea4f5f193b1977f192888f7a4c4 Mon Sep 17 00:00:00 2001
From: Maxime Coquelin <maxime.coquelin at redhat.com>
Date: Tue, 16 Sep 2025 11:35:50 +0200
Subject: [PATCH] vhost: fix virtqueue info init in VDUSE vring setup
[ upstream commit db91578981c6869d4ee476347141c0fccd1d6146 ]
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")
Reported-by: David Marchand <david.marchand at redhat.com>
Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
---
lib/vhost/vduse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/vhost/vduse.c b/lib/vhost/vduse.c
index 63750d0b25..5d78f01126 100644
--- a/lib/vhost/vduse.c
+++ b/lib/vhost/vduse.c
@@ -141,5 +141,5 @@ vduse_vring_setup(struct virtio_net *dev, unsigned int index, bool reconnect)
struct vhost_virtqueue *vq = dev->virtqueue[index];
struct vhost_vring_addr *ra = &vq->ring_addrs;
- struct vduse_vq_info vq_info;
+ struct vduse_vq_info vq_info = { 0 };
struct vduse_vq_eventfd vq_efd;
int ret;
--
2.51.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-10-31 13:53:54.490357701 +0000
+++ 0074-vhost-fix-virtqueue-info-init-in-VDUSE-vring-setup.patch 2025-10-31 13:53:52.176339735 +0000
@@ -1 +1 @@
-From db91578981c6869d4ee476347141c0fccd1d6146 Mon Sep 17 00:00:00 2001
+From f25ac9297da16ea4f5f193b1977f192888f7a4c4 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit db91578981c6869d4ee476347141c0fccd1d6146 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index 70fe472624..68e56843fd 100644
+index 63750d0b25..5d78f01126 100644
@@ -24 +25 @@
-@@ -142,5 +142,5 @@ vduse_vring_setup(struct virtio_net *dev, unsigned int index, bool reconnect)
+@@ -141,5 +141,5 @@ vduse_vring_setup(struct virtio_net *dev, unsigned int index, bool reconnect)
More information about the stable
mailing list