File dpdk-CVE-2021-3839.patch of Package dpdk.33996
Index: dpdk-stable-19.11.10/lib/librte_vhost/vhost_user.c
===================================================================
--- dpdk-stable-19.11.10.orig/lib/librte_vhost/vhost_user.c
+++ dpdk-stable-19.11.10/lib/librte_vhost/vhost_user.c
@@ -2622,6 +2622,9 @@ vhost_user_check_and_alloc_queue_pair(st
case VHOST_USER_SET_VRING_ADDR:
vring_idx = msg->payload.addr.index;
break;
+ case VHOST_USER_SET_INFLIGHT_FD:
+ vring_idx = msg->payload.inflight.num_queues - 1;
+ break;
default:
return 0;
}