CVE-2021-3839 json
A flaw was found in the vhost library in DPDK.
published 2022-08-23 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-27085
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- dpdk data_plane_development_kit 22.03
- dpdk Debian 14, Debian 13, Debian 12 20.11.5-1
debian advisories DEBIAN-CVE-2021-3839
- dpdk Ubuntu 20.04 LTS 19.11.12-0ubuntu0.20.04.1
- dpdk Ubuntu 22.04 LTS 21.11.1-0ubuntu0.3
ubuntu advisories UBUNTU-CVE-2021-3839
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- dpdk RHEL 9 2:21.11.2-1.el9_1
- dpdk-tools RHEL 9 2:21.11.2-1.el9_1
- openvswitch2.13 RHEL 8 2.13.0-180.el8fdp
- openvswitch2.16 RHEL 8 2.16.0-74.el8fdp
- openvswitch2.15 RHEL 8 2.15.0-99.el8fdp
red hat advisories RHSA-2022:8263RHSA-2022:4786RHSA-2022:4788RHSA-2022:4787
- dpdk SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 19.11.4-150200.3.17.1
- dpdk-thunderx SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS, SLE High Performance Computing 15 SP2-ESPOS +1 more 19.11.4-150200.3.17.1
- dpdk SLE Module for Server Applications 15 SP3, openSUSE Leap 15.4, openSUSE Leap 15.3 19.11.4-150300.11.1
- dpdk-thunderx SLE Module for Server Applications 15 SP3, openSUSE Leap 15.4, openSUSE Leap 15.3 19.11.4-150300.11.1
suse advisories SUSE-SU-2022:2273-1SUSE-SU-2022:1892-1
- dpdk AlmaLinux 9 2:21.11.2-1.el9_1
- dpdk-tools AlmaLinux 9 2:21.11.2-1.el9_1
almalinux advisories ALSA-2022:8263
- dpdk Rocky Linux 9 2:21.11.2-1.el9_1
rocky linux advisories RLSA-2022:8263
- dpdk Arch Linux 22.03-1
arch linux advisories AVG-2697
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-3839 updated cvss 7.5
DPDK: out-of-bounds read/write in vhost_user_set_inflight_fd() may lead to crash
-
Red Hat Fast Datapath for RHEL 7 openvswitch, openvswitch2.13, openvswitch2.15, openvswitch-test, python-openvswitch, openvswitch-ovn-host, +7 more Red Hat Enterprise Linux 7 dpdkaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 dpdk, dpdk-tools Red Hat Virtualization 4 openvswitch2.11, openvswitch2.11-test, python-openvswitch2.11affected: workaround, no fix planned “Will not fix”
-
Red Hat Fast Datapath for Red Hat Enterprise Linux 8 openvswitch2.15 2.15.0-99.el8fdp, openvswitch2.16 2.16.0-74.el8fdp, openvswitch2.13 2.13.0-180.el8fdpfixed: vendor fix RHSA-2022:4786
-
Red Hat Enterprise Linux AppStream (v. 9) dpdk 21.11.2-1.el9_1, dpdk-tools 21.11.2-1.el9_1fixed: vendor fix RHSA-2022:8263
-
Red Hat Fast Datapath for Red Hat Enterprise Linux 8 openvswitch2.15-test 2.15.0-99.el8fdp, openvswitch2.16-test 2.16.0-74.el8fdp, openvswitch2.13-test 2.13.0-180.el8fdp, openvswitch2.15-ipsec 2.15.0-99.el8fdp, openvswitch2.16-ipsec 2.16.0-74.el8fdp, openvswitch2.13-ipsec 2.13.0-180.el8fdp, +6 more Red Hat Fast Datapath for RHEL 7 openvswitch2.11, openvswitch2.11-test, python-openvswitch2.11 Red Hat Fast Datapath for RHEL 8 openvswitch2.11, openvswitch2.17, openvswitch2.11-test, openvswitch2.17-test, openvswitch2.17-ipsec, python3-openvswitch2.11, +3 more Red Hat Ceph Storage 3 ceph, librbd1, librgw2, ceph-mds, ceph-mgr, ceph-mon, +15 more Red Hat Ceph Storage 4 ceph, librbd1, librgw2, rbd-nbd, ceph-mds, ceph-mgr, +27 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.70% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- n/a dpdk
Classification
References
-
github.com
/DPDK/dpdk/commit/6442c329b9d2ded0f44b27d2016aaba8ba5844c5
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2025882
issue-tracking, patch, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2021-3839
third-party-advisory
Sources
- CVE List CVE-2021-3839
- NVD CVE-2021-3839
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.