Description
A flaw was found in the USB redirector device (usb-redir) of QEMU. Small USB packets are combined into a single, large transfer request, to reduce the overhead and improve performance. The combined size of the bulk transfer is used to dynamically allocate a variable length array (VLA) on the stack without proper validation. Since the total size is not bounded, a malicious guest could use this flaw to influence the array length and cause the QEMU process to perform an excessive allocation on the stack, resulting in a denial of service.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | QEMU | all versions | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | qemu | 1:5.2+dfsg-11 | — |
| Debian 13 | qemu | 1:5.2+dfsg-11 | — |
| Debian 12 | qemu | 1:5.2+dfsg-11 | — |
| Debian 10 | qemu | 1:3.1+dfsg-8+deb10u9 | DLA-3099-1 |
| Debian 9 | qemu | 1:2.8+dfsg-6+deb9u15 | DLA-2753-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | qemu | 1:6.0+dfsg-2expubuntu1 | — |
| Ubuntu 20.04 LTS | qemu | 1:4.2-3ubuntu6.17 | USN-5010-1 |
| Ubuntu 18.04 LTS | qemu | 1:2.11+dfsg-1ubuntu7.37 | USN-5010-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | qemu | 1:2.5+dfsg-5ubuntu10.51+esm4 | — |
| Ubuntu Pro 14.04 LTS | qemu | 2.0.0+dfsg-2ubuntu1.47+esm6 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | qemu | 5.2.0-103.2 | SUSE-SU-2021:2858-1 |
| SLES 15 SP2 | qemu | 4.2.1-11.28.1 | SUSE-SU-2021:2789-1 |
| SLES 15 SP1 | qemu | 3.1.1.1-80.40.1 | SUSE-SU-2021:3614-1 |
| SLES 15 | qemu | 2.11.2-70.59.1 | SUSE-SU-2021:3613-1 |
| SLES 12 SP5 | qemu | 3.1.1.1-57.2 | SUSE-SU-2021:2813-1 |
Show 13 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | qemu | 2.11.2-5.40.2 | SUSE-SU-2021:3635-1 |
| SLES 12 SP2 | qemu | 2.6.2-41.73.1 | SUSE-SU-2021:3575-1 |
| SLES 11 SP4 | xen | 4.4.4_50-61.67.1 | SUSE-SU-2021:14848-1 |
| SLES for SAP 15 SP1 | qemu | 3.1.1.1-80.40.1 | SUSE-SU-2021:3614-1 |
| SLES for SAP 15 | qemu | 2.11.2-70.59.1 | SUSE-SU-2021:3613-1 |
| SLES for SAP 12 SP5 | qemu | 3.1.1.1-57.2 | SUSE-SU-2021:2813-1 |
| SLES for SAP 12 SP4 | qemu | 2.11.2-5.40.2 | SUSE-SU-2021:3635-1 |
| SLE Micro 5.0 | qemu | 4.2.1-11.28.1 | SUSE-SU-2021:2789-1 |
| SLE HPC 15 SP1 | qemu | 3.1.1.1-80.40.1 | SUSE-SU-2021:3614-1 |
| SLE HPC 15 | qemu | 2.11.2-70.59.1 | SUSE-SU-2021:3613-1 |
| SUSE OpenStack Cloud Crowbar 9 | qemu | 2.11.2-5.40.2 | SUSE-SU-2021:3635-1 |
| SUSE OpenStack Cloud 9 | qemu | 2.11.2-5.40.2 | SUSE-SU-2021:3635-1 |
| SUSE Enterprise Storage 6 | qemu | 3.1.1.1-80.40.1 | SUSE-SU-2021:3614-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | qemu | 6.1.0-32.1 | openSUSE-SU-2024:11287-1 |
| openSUSE Leap 15.3 | qemu | 3.1.1.1-80.40.1 | openSUSE-SU-2021:3614-1, openSUSE-SU-2021:2858-1, openSUSE-SU-2021:2789-1 |
| openSUSE Leap 15.2 | qemu +2 | 4.2.1-lp152.9.20.1 | openSUSE-SU-2021:1202-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | qemu | 6.0.0-r2 | — |
| Alpine v3.23 | qemu | 6.0.0-r2 | — |
| Alpine v3.22 | qemu | 6.0.0-r2 | — |
| Alpine v3.21 | qemu | 6.0.0-r2 | — |
| Alpine v3.20 | qemu | 6.0.0-r2 | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | qemu | 6.0.0-r2 | — |
| Alpine v3.18 | qemu | 6.0.0-r2 | — |
| Alpine v3.17 | qemu | 6.0.0-r2 | — |
| Alpine v3.16 | qemu | 6.0.0-r2 | — |
| Alpine v3.15 | qemu | 6.0.0-r2 | — |
| Alpine v3.14 | qemu | 6.0.0-r2 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | qemu +26 | 10:3.1.0-8.amzn2.0.10 | ALAS2-2023-2061 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | hivex +4 | 1.3.18-20.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | libguestfs-winsupport | 8.2-1.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | libiscsi +2 | 1.18.0-8.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | libnbd +3 | 1.2.2-1.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | libvirt +29 | 5.7.0-31.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | libvirt-dbus | 1.3.0-2.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | nbdkit +13 | 1.16.2-4.0.1.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | netcf +2 | 0.2.8-12.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | perl-Sys-Virt | 4.5.0-5.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | qemu-img +9 | 15:4.2.1-11.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | seabios +2 | 1.13.0-2.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | sgabios +1 | 1:0.20170427git-3.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | supermin +1 | 5.1.19-10.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 8 | virt-dib +23 | 1:1.40.2-25.0.1.module+el8.4.0+20319+6eb4347c | ELSA-2021-9568 |
| Oracle Linux 7 | qemu +12 | 15:4.2.1-11.el7 | ELSA-2021-9425 |
Advisories 20
- WID-SEC-2022-1108 QEMU: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jun 29, 2026
- USN-5010-1 qemu vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3099-1 qemu - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2753-1 qemu - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2021:3614-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3613-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3614-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3575-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:2789-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:2789-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:1202-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:2858-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3635-1 Security update for qemu SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11287-1 qemu-6.1.0-32.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2021:14848-1 Security update for xen SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2021:2858-1 Security update for qemu SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2021:2813-1 Security update for qemu SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2-2023-2061 Moderate: qemu security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 1, 2023
- ELSA-2021-9568 Important: virt:kvm_utils security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Dec 1, 2021
- ELSA-2021-9425 Important: qemu security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Aug 17, 2021
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1955695
- https://www.openwall.com/lists/oss-security/2021/05/05/5
- https://gitlab.com/qemu-project/qemu/-/commit/7ec54f9eb62b5d177e30eb8b1cad795a5f8d8986
- https://gitlab.com/qemu-project/qemu/-/commit/05a40b172e4d691371534828078be47e7fff524c
- https://security.netapp.com/advisory/ntap-20210708-0008/
- [debian-lts-announce] 20210902 [SECURITY] [DLA 2753-1] qemu security update mailing-list
- GLSA-202208-27 vendor-advisory
- [debian-lts-announce] 20220905 [SECURITY] [DLA 3099-1] qemu security update mailing-list