A vulnerability was found in DPDK through version 18.11, vhost_user_set_log_base() is a message handler that is called to handle the VHOST_USER_SET_LOG_BASE message. Its payload contains a 64 bit size and offset. Both are added up and used as a size when calling mmap(). There is no integer overflow check. If an integer overflow occurs a smaller memory map would be created than requested. Since the returned mapping is mapped as writable and used for logging, it seems highly likely that memory corruption can occur.
Acknowledgments: Name: Ferruh Yigit (Reporter)
Removed OpenStack 7 affects and added missing affects for OpenStack and FastDatapath.
It seems to me this flaw was introduced in DPDK upstream version 18.05 with the following commit: -> http://git.dpdk.org/dpdk/commit/?id=fbc4d248b198db7f720fe31a47050a406632cc7a The mmap length was changed from "size" to "size + off", resulting in a potential unsigned integer wrap during the addition of the two variables.
Statement: This issue did not affect the versions of Ceph as shipped with Red Hat Ceph Storage 3 and 4, as they did not include support for DPDK.
External References: https://www.openwall.com/lists/oss-security/2020/05/18/2 https://bugs.dpdk.org/show_bug.cgi?id=267
Created dpdk tracking bugs for this issue: Affects: fedora-all [bug 1837055]
Upstream fix: https://git.dpdk.org/dpdk/commit/?id=3ae4beb079ce242240c34376a066bbccd0c0b23e
This issue has been addressed in the following products: Fast Datapath for Red Hat Enterprise Linux 8 Via RHSA-2020:2297 https://access.redhat.com/errata/RHSA-2020:2297
This issue has been addressed in the following products: Fast Datapath for Red Hat Enterprise Linux 8 Via RHSA-2020:2295 https://access.redhat.com/errata/RHSA-2020:2295
This issue has been addressed in the following products: Fast Datapath for Red Hat Enterprise Linux 7 Via RHSA-2020:2296 https://access.redhat.com/errata/RHSA-2020:2296
This issue has been addressed in the following products: Fast Datapath for Red Hat Enterprise Linux 7 Via RHSA-2020:2298 https://access.redhat.com/errata/RHSA-2020:2298
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2020-10722
This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Extras Via RHSA-2020:2683 https://access.redhat.com/errata/RHSA-2020:2683
This issue has been addressed in the following products: Red Hat Virtualization 4 for Red Hat Enterprise Linux 7 Red Hat Virtualization Engine 4.3 Via RHSA-2020:4114 https://access.redhat.com/errata/RHSA-2020:4114
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:4806 https://access.redhat.com/errata/RHSA-2020:4806
This issue has been addressed in the following products: Red Hat OpenStack Platform 13.0 (Queens) Via RHSA-2021:0931 https://access.redhat.com/errata/RHSA-2021:0931