CVE-2021-3839
A flaw was found in the vhost library in DPDK. Function vhost_user_set_inflight_fd() does not...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2021-3839- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-3839- Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2021-27085 No score
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.
- Record
EUVD-2021-27085- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c4mq-4x72-rfxj
7.5
A flaw was found in the vhost library in DPDK. Function vhost_user_set_inflight_fd() does not...
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.
- Record
GHSA-c4mq-4x72-rfxj- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2021-3839- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-3839
7.5
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.
- Record
DEBIAN-CVE-2021-3839- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 11 moreShow less
OSVOESA-2022-1713
6.5
dpdk security update
DPDK core includes kernel modules, core libraries and tools. testpmd application allows to test fast packet processing environments on arm64 platforms. For instance, it can be used to check that environment can support fast path applications such as 6WINDGate, pktgen, rumptcpip, etc. More libraries are available as extensions in other packages.
Security Fix(es):
It’s an issue in the handling of vhost-user inflight type messages. A malicious vhost-user master can attach an unexpected number of fds as ancillary data to VHOST_USER_GET_INFLIGHT_FD / VHOST_USER_SET_INFLIGHT_FD messages that are not closed by the vhost-user slave. By sending such messages continuously, the vhost-user master could exhaust available fd in the vhost-user slave process and lead to a DoS.(CVE-2022-0669)
In DPDK Vhost communication, we didn’t test if msg->payload.inflight.num_queues is out of bounds in function ‘vhost_user_set_inflight_fd()’, and could cause the program to write OOB.(CVE-2021-3839)
- Record
OESA-2022-1713- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2022:4786
7.5
Red Hat Security Advisory: openvswitch2.13 security update
- Record
RHSA-2022:4786- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2022:4787
7.5
Red Hat Security Advisory: openvswitch2.15 security update
- Record
RHSA-2022:4787- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2022:4788
7.5
Red Hat Security Advisory: openvswitch2.16 security update
- Record
RHSA-2022:4788- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2022:8263
8.6
Red Hat Security Advisory: dpdk security and bug fix update
- Record
RHSA-2022:8263- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2022:8263
8.6
Important: dpdk security and bug fix update
The dpdk packages provide the Data Plane Development Kit, which is a set of libraries and drivers for fast packet processing in the user space.
Security Fix(es):
-
dpdk: DoS when a Vhost header crosses more than two descriptors and exhausts all mbufs (CVE-2022-2132)
-
DPDK: out-of-bounds read/write in vhost_user_set_inflight_fd() may lead to crash (CVE-2021-3839)
-
dpdk: error recovery in mlx5 driver not handled properly, allowing for denial of service (CVE-2022-28199)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Rocky Linux 9.1 Release Notes linked from the References section.
- Record
RLSA-2022:8263- CVSS 3.1
- 8.6 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-3839
7.5
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.
- Record
UBUNTU-CVE-2021-3839- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2022:8263 No score
Important: dpdk security and bug fix update
The dpdk packages provide the Data Plane Development Kit, which is a set of libraries and drivers for fast packet processing in the user space.
Security Fix(es):
- dpdk: DoS when a Vhost header crosses more than two descriptors and exhausts all mbufs (CVE-2022-2132)
- DPDK: out-of-bounds read/write in vhost_user_set_inflight_fd() may lead to crash (CVE-2021-3839)
- dpdk: error recovery in mlx5 driver not handled properly, allowing for denial of service (CVE-2022-28199)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2022:8263- Updated
- 2026-11-02
OSVSUSE-SU-2022:1892-1 No score
Security update for dpdk
This update for dpdk fixes the following issues:
Security:
- CVE-2021-3839: Fixed a memory corruption issue during vhost-user communication (bsc#1198963).
- CVE-2022-0669: Fixed a denial of service that could be triggered by a vhost-user master (bsc#1198964).
Bugfixes:
- kni: allow configuring thread granularity (bsc#1195172).
- Fixed reading of PCI device name as UTF strings (bsc#1198873).
- Record
SUSE-SU-2022:1892-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:2273-1 No score
Security update for dpdk
This update for dpdk fixes the following issues:
-
CVE-2021-3839: Fixed a memory corruption issue during vhost-user communication (bsc#1198963).
-
CVE-2022-0669: Fixed a denial of service that could be triggered by a vhost-user master (bsc#1198964).
-
rebuild with new secure boot key due to grub2 boothole 3 issues (bsc#1198581)
- Record
SUSE-SU-2022:2273-1- Updated
- 2026-11-02
OSVUSN-5401-1 No score
dpdk vulnerabilities
Wenxiang Qian discovered that DPDK incorrectly checked certain payloads. An attacker could use this issue to cause DPDK to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2021-3839)
It was discovered that DPDK incorrectly handled inflight type messages. An attacker could possibly use this issue to cause DPDK to consume resources, leading to a denial of service. (CVE-2022-0669)
- Record
USN-5401-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
dpdkAlmaLinux:9 From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdk-develAlmaLinux:9 From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdk-docAlmaLinux:9 From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdk-toolsAlmaLinux:9 From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdkDebian:12 |
before 20.11.5-1 | 20.11.5-1 |
dpdkDebian:13 |
before 20.11.5-1 | 20.11.5-1 |
dpdkDebian:14 |
before 20.11.5-1 | 20.11.5-1 |
dpdkDebian:11 From an advisory covering 2 CVEs |
before 20.11.5-1~deb11u1, plus listed versions 20.11-720.11.1-120.11.1-220.11.1-320.11.1-4 Show 7 moreShow less20.11.2-120.11.3-120.11.3-1~deb11u120.11.3-220.11.4-120.11.4-220.11.4-2~deb11u1 |
20.11.5-1~deb11u1 |
dpdkopenEuler:20.03-LTS-SP1 From an advisory covering 2 CVEs |
before 19.11-17.oe1 | 19.11-17.oe1 |
dpdkopenEuler:20.03-LTS-SP3 From an advisory covering 2 CVEs |
before 19.11-17.oe1 | 19.11-17.oe1 |
Show 34 moreShow less
| Package | Affected | Fixed |
|---|---|---|
dpdkopenEuler:22.03-LTS From an advisory covering 2 CVEs |
before 21.11-11.oe2203 | 21.11-11.oe2203 |
openvswitch2.13Red Hat:enterprise_linux:8::fastdatapath From an advisory covering 2 CVEs |
before 0:2.13.0-180.el8fdp | 0:2.13.0-180.el8fdp |
openvswitch2.15Red Hat:enterprise_linux:8::fastdatapath From an advisory covering 2 CVEs |
before 0:2.15.0-99.el8fdp | 0:2.15.0-99.el8fdp |
openvswitch2.16Red Hat:enterprise_linux:8::fastdatapath From an advisory covering 2 CVEs |
before 0:2.16.0-74.el8fdp | 0:2.16.0-74.el8fdp |
dpdkRed Hat:enterprise_linux:9::appstream From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdk-debuginfoRed Hat:enterprise_linux:9::appstream From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdk-debugsourceRed Hat:enterprise_linux:9::appstream From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdk-develRed Hat:enterprise_linux:9::appstream From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdk-docRed Hat:enterprise_linux:9::appstream From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdk-toolsRed Hat:enterprise_linux:9::appstream From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdkRocky Linux:9 From an advisory covering 3 CVEs |
before 2:21.11.2-1.el9_1 | 2:21.11.2-1.el9_1 |
dpdkSUSE:Linux Enterprise Module for Server Applications 15 SP3 From an advisory covering 2 CVEs |
before 19.11.4-150300.11.1 | 19.11.4-150300.11.1 |
dpdk-thunderxSUSE:Linux Enterprise Module for Server Applications 15 SP3 From an advisory covering 2 CVEs |
before 19.11.4-150300.11.1 | 19.11.4-150300.11.1 |
dpdkopenSUSE:Leap 15.3 From an advisory covering 2 CVEs |
before 19.11.4-150300.11.1 | 19.11.4-150300.11.1 |
dpdk-thunderxopenSUSE:Leap 15.3 From an advisory covering 2 CVEs |
before 19.11.4-150300.11.1 | 19.11.4-150300.11.1 |
dpdkopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 19.11.4-150300.11.1 | 19.11.4-150300.11.1 |
dpdk-thunderxopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 19.11.4-150300.11.1 | 19.11.4-150300.11.1 |
dpdkSUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdk-thunderxSUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdkSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdk-thunderxSUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdkSUSE:Linux Enterprise Server 15 SP2-BCL From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdkSUSE:Linux Enterprise Server 15 SP2-LTSS From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdk-thunderxSUSE:Linux Enterprise Server 15 SP2-LTSS From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdkSUSE:Linux Enterprise Server for SAP Applications 15 SP2 From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdkSUSE:Manager Proxy 4.1 From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdkSUSE:Manager Retail Branch Server 4.1 From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdkSUSE:Manager Server 4.1 From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdkSUSE:Enterprise Storage 7 From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdk-thunderxSUSE:Enterprise Storage 7 From an advisory covering 2 CVEs |
before 19.11.4-150200.3.17.1 | 19.11.4-150200.3.17.1 |
dpdkUbuntu:20.04:LTS |
before 19.11.12-0ubuntu0.20.04.1, plus listed versions 18.11.2-418.11.3-118.11.4-118.11.4-1ubuntu118.11.5-1 Show 10 moreShow less19.11-2ubuntu119.11-2ubuntu219.11.1-0ubuntu119.11.1-0ubuntu1.119.11.3-0ubuntu0.119.11.3-0ubuntu0.219.11.6-0ubuntu0.20.04.119.11.7-0ubuntu0.20.04.119.11.7-0ubuntu0.20.04.219.11.10-0ubuntu0.20.04.1 |
19.11.12-0ubuntu0.20.04.1 |
dpdkUbuntu:22.04:LTS |
before 21.11.1-0ubuntu0.3, plus listed versions 20.11.3-0ubuntu120.11.3-0ubuntu321.11-121.11-1build1 |
21.11.1-0ubuntu0.3 |
dpdkUbuntu:20.04:LTS From an advisory covering 2 CVEs |
before 19.11.12-0ubuntu0.20.04.1, plus listed versions 18.11.2-418.11.3-118.11.4-118.11.4-1ubuntu118.11.5-1 Show 10 moreShow less19.11-2ubuntu119.11-2ubuntu219.11.1-0ubuntu119.11.1-0ubuntu1.119.11.3-0ubuntu0.119.11.3-0ubuntu0.219.11.6-0ubuntu0.20.04.119.11.7-0ubuntu0.20.04.119.11.7-0ubuntu0.20.04.219.11.10-0ubuntu0.20.04.1 |
19.11.12-0ubuntu0.20.04.1 |
dpdkUbuntu:22.04:LTS From an advisory covering 2 CVEs |
before 21.11.1-0ubuntu0.3, plus listed versions 20.11.3-0ubuntu120.11.3-0ubuntu321.11-121.11-1build1 |
21.11.1-0ubuntu0.3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3839 is a high vulnerability (CVSS 7.5) in [unknown] Dpdk, published April 29, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.70%, the 77th percentile. Fixed in dpdk 20.11.5-1.
References
bugzilla.redhat.com/show_bug.cgi?id=2025882
access.redhat.com/security/cve/CVE-2021-3839
github.com/DPDK/dpdk/commit/6442c329b9d2ded0f44b27d2016aaba8ba5844c5
nvd.nist.gov/vuln/detail/CVE-2021-3839
github.com/advisories/GHSA-c4mq-4x72-rfxj
access.redhat.com/errata/RHSA-2022:8263
Show 49 moreShow less
access.redhat.com/security/cve/CVE-2022-2132
access.redhat.com/security/cve/CVE-2022-28199
bugzilla.redhat.com/2025882
bugzilla.redhat.com/2099475
bugzilla.redhat.com/2123549
errata.almalinux.org/9/ALSA-2022-8263.html
security-tracker.debian.org/tracker/CVE-2021-3839
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1713
nvd.nist.gov/vuln/detail/CVE-2022-0669
access.redhat.com/errata/RHSA-2022:4786
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2055793
bugzilla.redhat.com/show_bug.cgi?id=2080270
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_4786.json
cve.org/CVERecord?id=CVE-2021-3839
access.redhat.com/security/cve/CVE-2022-0669
cve.org/CVERecord?id=CVE-2022-0669
access.redhat.com/errata/RHSA-2022:4787
bugzilla.redhat.com/show_bug.cgi?id=2070343
bugzilla.redhat.com/show_bug.cgi?id=2080271
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_4787.json
access.redhat.com/errata/RHSA-2022:4788
bugzilla.redhat.com/show_bug.cgi?id=2055097
bugzilla.redhat.com/show_bug.cgi?id=2080273
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_4788.json
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.1_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=2070583
bugzilla.redhat.com/show_bug.cgi?id=2099475
bugzilla.redhat.com/show_bug.cgi?id=2123549
bugzilla.redhat.com/show_bug.cgi?id=2126159
security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_8263.json
cve.org/CVERecord?id=CVE-2022-2132
nvd.nist.gov/vuln/detail/CVE-2022-2132
bugs.dpdk.org/show_bug.cgi?id=1031
cve.org/CVERecord?id=CVE-2022-28199
nvd.nist.gov/vuln/detail/CVE-2022-28199
errata.rockylinux.org/RLSA-2022:8263
suse.com/support/update/announcement/2022/suse-su-20221892-1
bugzilla.suse.com/1195172
bugzilla.suse.com/1198873
bugzilla.suse.com/1198963
bugzilla.suse.com/1198964
suse.com/security/cve/CVE-2021-3839
suse.com/security/cve/CVE-2022-0669
suse.com/support/update/announcement/2022/suse-su-20222273-1
bugzilla.suse.com/1198581
ubuntu.com/security/CVE-2021-3839
ubuntu.com/security/notices/USN-5401-1
ubuntu.com/security/CVE-2022-0669