CVE-2021-3544: Medium severity Qemu Qemu vulnerability

Published May 10, 2021
·
Updated

Last updated 24 July 2024

Other sources

Several memory leaks were found in the virtio vhost-user GPU device (vhost-user-gpu) of QEMU in versions up to and including 6.0. They exist in contrib/vhost-user-gpu/vhost-user-gpu.c and contrib/vhost-user-gpu/virgl.c due to improper release of memory (i.e., free) after effective lifetime.

Launchpad

Several memory leaks were found in the virtio vhost-user GPU device (vhost-user-gpu) of QEMU. They exist in contrib/vhost-user-gpu/vhost-user-gpu.c and contrib/vhost-user-gpu/virgl.c due to improper release of memory (i.e., free) after effective lifetime. For more information, please refer to the upstream patchset below.

Patch series: https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg04536.html

Memory leak in vgresourcecreate2d() in vhost-user-gpu.c : https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg04541.html

Memory leak in vgresourceattachbacking() in vhost-user-gpu.c: https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg04534.html

Memory leak in vgresourcedestroy() in vhost-user-gpu.c: https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg04538.html

Memory leak in virglcmdresourceunref() in virgl.c: https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg04540.html

Memory leak in virglresourceattachbacking() in virgl.c: https://lists.nongnu.org/archive/html/qemu-devel/2021-05/msg04537.html

Red Hat

Affected Software

4 affected componentsFixes available
Qemu Qemu<=6.0.0
Debian Debian Linux=11.0
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u21:7.2+dfsg-7+deb12u121:10.0.0~rc2+ds-21:10.0.0~rc3+ds-2
Microsoft cm1 qemu-kvm 4.2.0-48

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 1:5.2+dfsg-11+deb11u3Fixed in 1:5.2+dfsg-11+deb11u2Fixed in 1:7.2+dfsg-7+deb12u12Fixed in 1:10.0.0~rc2+ds-2Fixed in 1:10.0.0~rc3+ds-2
  2. Upgrade

    Upgrade qemu/contrib/vhost-user-gpu (vhost-user-gpu device) to a version that resolves this vulnerability.

    Fixed in 6.0
  3. Upgrade

    Upgrade qemu/contrib/vhost-user-gpu/vhost-user-gpu.c to a version that resolves this vulnerability.

    Fixed in 6.0
  4. Upgrade

    Upgrade qemu/contrib/vhost-user-gpu/virgl.c to a version that resolves this vulnerability.

    Fixed in 6.0

Event History

May 10, 2021
Data Sourced
via Red Hat·12:58 PM
DescriptionSeverityAffected Software
May 24, 2021
Data Sourced
03:18 PM
SeverityAffected Software
Jun 2, 2021
CVE Published
via MITRE·01:30 PM
Data Sourced
via MITRE·01:30 PM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:57 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:33 AM
RemedyDescriptionSeverityAffected Software
Oct 1, 2025
Data Sourced
via Microsoft·11:11 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·11:11 PM
Affected Software
Updated
via Microsoft·11:11 PM
DescriptionSeverity

Frequently Asked Questions

1

What is CVE-2021-3544?

CVE-2021-3544 is a vulnerability in the virtio vhost-user GPU device (vhost-user-gpu) of QEMU in versions up to and including 6.0, allowing memory leaks due to improper release of memory.

2

How severe is CVE-2021-3544?

CVE-2021-3544 has a severity score of 6.5 (high).

3

Which software are affected by CVE-2021-3544?

QEMU versions up to and including 6.0, Debian Linux 11.0, and various versions of QEMU on Ubuntu and Debian are affected by CVE-2021-3544.

4

How can I fix CVE-2021-3544?

To fix CVE-2021-3544, users should update to the latest version of QEMU or apply the relevant security patches provided by the distribution vendor.

5

What is the CWE category of CVE-2021-3544?

CVE-2021-3544 is categorized under CWE-401 (Memory Leak).

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