CVE-2021-3839: High severity DPDK Data Plane Development Kit vulnerability

Published Nov 23, 2021
·
Updated

A flaw was found in the vhost library in DPDK. Function vhostusersetinflightfd() does not validate msg->payload.inflight.numqueues, possibly causing out-of-bounds memory read/write. Any software using DPDK vhost library may crash as a result of this vulnerability.

Other sources

In function vhostusersetinflightfd() which is in DPDK Vhost library, msg->payload.inflight.numqueues doesn't get checked to determine if it's out of bounds. So it could cause the program to write/read out of boundary. And in the end the software using DPDK Vhost library may crash.

— Red Hat

Affected Software

16 affected componentsFixes available
redhat/openvswitch2.13<0:2.13.0-180.el8fd
0:2.13.0-180.el8fd
redhat/openvswitch2.15<0:2.15.0-99.el8fd
0:2.15.0-99.el8fd
redhat/openvswitch2.16<0:2.16.0-74.el8fd
0:2.16.0-74.el8fd
redhat/dpdk<2:21.11.2-1.el9_1
2:21.11.2-1.el9_1
redhat/dpdk<22.03
22.03
DPDK Data Plane Development Kit<22.03
DPDK Data Plane Development Kit=22.03-rc1
DPDK Data Plane Development Kit=22.03-rc2
DPDK Data Plane Development Kit=22.03-rc3
Fedoraproject Fedora=35
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux Fast Datapath=7.0
redhat Enterprise Linux Fast Datapath=8.0
debian/dpdk
20.11.5-1~deb11u120.11.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/openvswitch2.13 to a version that resolves this vulnerability.

    Fixed in 0:2.13.0-180.el8fd
  2. Upgrade

    Upgrade redhat/openvswitch2.15 to a version that resolves this vulnerability.

    Fixed in 0:2.15.0-99.el8fd
  3. Upgrade

    Upgrade redhat/openvswitch2.16 to a version that resolves this vulnerability.

    Fixed in 0:2.16.0-74.el8fd
  4. Upgrade

    Upgrade redhat/dpdk to a version that resolves this vulnerability.

    Fixed in 2:21.11.2-1.el9_1
  5. Upgrade

    Upgrade redhat/dpdk to a version that resolves this vulnerability.

    Fixed in 22.03
  6. Upgrade

    Upgrade debian/dpdk to a version that resolves this vulnerability.

    Fixed in 20.11.5-1~deb11u1Fixed in 20.11.5-1

Event History

Nov 23, 2021
Data Sourced
09:55 AM
DescriptionSeverityAffected Software
Apr 29, 2022
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyWeakness
Aug 23, 2022
CVE Published
via MITRE·03:52 PM
Data Sourced
via MITRE·03:52 PM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 29, 2022
Data Sourced
via Red Hat·05:57 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2021-3839?

CVE-2021-3839 is a vulnerability in the vhost library in DPDK that can cause out-of-bounds memory read/write, potentially leading to a crash.

2

What is the severity level of CVE-2021-3839?

The severity level of CVE-2021-3839 is high, with a CVSS score of 7.5.

3

Which software is affected by CVE-2021-3839?

Any software using DPDK vhost library may be affected by CVE-2021-3839.

4

How can I fix CVE-2021-3839?

To fix CVE-2021-3839, upgrade to DPDK version 22.03 or apply the relevant patches provided by Red Hat.

5

Where can I find more information about CVE-2021-3839?

You can find more information about CVE-2021-3839 in the references provided: [link1](https://github.com/DPDK/dpdk/commit/6442c329b9d2ded0f44b27d2016aaba8ba5844c5), [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2081486), [link3](https://access.redhat.com/errata/RHSA-2022:4786).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203