What’s Vulnerable › Vulnerabilities
CVE-2021-3839
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-08-23 · updated 2026-06-17
- Weakness: CWE-125
Description
A flaw was found in the vhost library in DPDK. Function vhost_user_set_inflight_fd() 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.
Affected products
- DPDK Data Plane Development Kit: before 22.03; 22.03-rc1, 22.03-rc2, 22.03-rc3 — fixed in 22.03
- Fedoraproject Fedora: 35
- Red Hat Enterprise Linux: 7.0, 8.0, 9.0
- RedHat Enterprise Linux Fast Datapath: 7.0, 8.0
How to fix
Upgrade to a fixed version: DPDK Data Plane Development Kit 22.03. Check the vendor advisory for mitigations.
References
- https://access.redhat.com/security/cve/CVE-2021-3839
- https://bugzilla.redhat.com/show_bug.cgi?id=2025882
- https://github.com/DPDK/dpdk/commit/6442c329b9d2ded0f44b27d2016aaba8ba5844c5
- https://access.redhat.com/security/cve/CVE-2021-3839
- https://bugzilla.redhat.com/show_bug.cgi?id=2025882
- https://github.com/DPDK/dpdk/commit/6442c329b9d2ded0f44b27d2016aaba8ba5844c5
Get alerted when CVE-2021-3839 or the next vulnerability affects your stack