QEMU: pvrdma: unchecked malloc size due to integer overflow in init_dev_ring()
Published Feb 24, 2022
6.0
MEDIUMCVSS 3.1
EPSS 0.30%
Description
An integer overflow was found in the QEMU implementation of VMWare's paravirtual RDMA device in versions prior to 6.1.0. The issue occurs while handling a "PVRDMA_REG_DSRHIGH" write from the guest due to improper input validation. This flaw allows a privileged guest user to make QEMU allocate a large amount of memory, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
Affected products
- Vendor n/a Product QEMU Defaultn/a
- Version qemu-kvm 6.1.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | QEMU | n/a |
|
Configuration 2
- 10.0
- 34
No data.
Red Hat Enterprise Linux 6
qemu-kvm
Not affected
Red Hat Enterprise Linux 7
qemu-kvm
Not affected
Red Hat Enterprise Linux 7
qemu-kvm-ma
Not affected
Red Hat Enterprise Linux 7
qemu-kvm-rhev
Not affected
Red Hat Enterprise Linux 8
virt:rhel/qemu-kvm
Not affected
Red Hat Enterprise Linux 8 Advanced Virtualization
virt:8.2/qemu-kvm
Not affected
Red Hat Enterprise Linux 8 Advanced Virtualization
virt:8.3/qemu-kvm
Not affected
Red Hat Enterprise Linux 8 Advanced Virtualization
virt:av/qemu-kvm
Not affected
Red Hat Enterprise Linux 9
qemu-kvm
Not affected
Red Hat OpenStack Platform 10 (Newton)
qemu-kvm-rhev
Not affected
Red Hat OpenStack Platform 13 (Queens)
qemu-kvm-rhev
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 7 | qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 7 | qemu-kvm-ma | Not affected | n/a |
| Red Hat Enterprise Linux 7 | qemu-kvm-rhev | Not affected | n/a |
| Red Hat Enterprise Linux 8 | virt:rhel/qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 8 Advanced Virtualization | virt:8.2/qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 8 Advanced Virtualization | virt:8.3/qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 8 Advanced Virtualization | virt:av/qemu-kvm | Not affected | n/a |
| Red Hat Enterprise Linux 9 | qemu-kvm | Not affected | n/a |
| Red Hat OpenStack Platform 10 (Newton) | qemu-kvm-rhev | Not affected | n/a |
| Red Hat OpenStack Platform 13 (Queens) | qemu-kvm-rhev | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
The versions of `qemu-kvm` as shipped with Red Hat Enterprise Linux and RHEL Advanced Virtualization are not affected by this flaw, as they are not built with PVRDMA support.
References (8)
- https://access.redhat.com/security/cve/CVE-2021-3607 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1973349 x_refsource_MISCIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.gnu.org/archive/html/qemu-devel/2021-06/msg07925.html x_refsource_MISCMailing ListPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-3607
- https://security.gentoo.org/glsa/202208-27 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://security.netapp.com/advisory/ntap-20220318-0002/ x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2021-3607
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2021-3607 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1973349 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://lists.debian.org/debian-lts-announce/2022/09/msg00008.html | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://lists.gnu.org/archive/html/qemu-devel/2021-06/msg07925.html | x_refsource_MISCMailing ListPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-3607 | ||
| https://security.gentoo.org/glsa/202208-27 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://security.netapp.com/advisory/ntap-20220318-0002/ | x_refsource_CONFIRMThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2021-3607 |
Change history (0)
No recorded changes yet.