CVE-2021-3839

NameCVE-2021-3839
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5130-1
Debian Bugs1010641

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dpdk (PTS)bullseye20.11.10-1~deb11u1fixed
bullseye (security)20.11.6-1~deb11u1fixed
bookworm22.11.6-1~deb12u1fixed
trixie, sid23.11.2-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dpdksourcestretch(not affected)
dpdksourcebuster(not affected)
dpdksourcebullseye20.11.5-1~deb11u1DSA-5130-1
dpdksource(unstable)20.11.5-11010641

Notes

[buster] - dpdk <not-affected> (Vulnerable code introduced later)
[stretch] - dpdk <not-affected> (Vulnerable code introduced later)
https://bugs.dpdk.org/show_bug.cgi?id=657
Introduced by: https://github.com/DPDK/dpdk/commit/ad0a4ae491fe3b10338441dfdf11a9b3a1c05798 (v19.11-rc1)
Fixed by: https://github.com/DPDK/dpdk/commit/6442c329b9d2ded0f44b27d2016aaba8ba5844c5 (v22.03-rc4)

Search for package or bug name: Reporting problems