A flaw was found in the vhost library in DPDK. Function vhostusersetinflightfd() does not validate msg->payload.inflight.num_queues, possibly causing out-of-bounds memory read/write. Any software using DPDK vhost library may crash as a result of this vulnerability.
[
{
"id": "CVE-2021-3839-07035299",
"target": {
"file": "lib/vhost/vhost_user.c"
},
"signature_version": "v1",
"digest": {
"line_hashes": [
"218964855366889817698744017324434491215",
"153393868971813765081598737286992637585",
"215130104168108337750727703366659950908",
"135045007302257789395044528308605937321"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://github.com/dpdk/dpdk/commit/6442c329b9d2ded0f44b27d2016aaba8ba5844c5",
"signature_type": "Line"
},
{
"id": "CVE-2021-3839-60bcf5ef",
"target": {
"function": "vhost_user_check_and_alloc_queue_pair",
"file": "lib/vhost/vhost_user.c"
},
"signature_version": "v1",
"digest": {
"length": 789.0,
"function_hash": "340127545324019451371334732147163230990"
},
"deprecated": false,
"source": "https://github.com/dpdk/dpdk/commit/6442c329b9d2ded0f44b27d2016aaba8ba5844c5",
"signature_type": "Function"
}
]