CVE-2021-3839 Memory corruption in dpdk
An out-of-bounds memory access flaw in the DPDK vhost library allows attackers to cause a denial of service via crash.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3839?
CVE-2021-3839 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 23 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2021-3839?
It affects 4 products.
Products include Dpdk Data Plane Development Kit, Fedoraproject Fedora, Redhat Enterprise Linux, Redhat Enterprise Linux Fast Datapath.
How do I fix CVE-2021-3839?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-3839 being exploited?
There is no known exploitation of CVE-2021-3839 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as DEBIAN-CVE-2021-3839, GHSA-c4mq-4x72-rfxj, UBUNTU-CVE-2021-3839.