| Name | CVE-2017-5987 | 
| Description | The sdhci_sdma_transfer_multi_blocks function in hw/sd/sdhci.c in QEMU (aka Quick Emulator) allows local OS guest privileged users to cause a denial of service (infinite loop and QEMU process crash) via vectors involving the transfer mode register during multi block transfer. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-1497-1 | 
| Debian Bugs | 855159 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| qemu (PTS) | bullseye | 1:5.2+dfsg-11+deb11u3 | fixed | 
|  | bullseye (security) | 1:5.2+dfsg-11+deb11u5 | fixed | 
|  | bookworm | 1:7.2+dfsg-7+deb12u16 | fixed | 
|  | bookworm (security) | 1:7.2+dfsg-7+deb12u15 | fixed | 
|  | trixie | 1:10.0.3+ds-0+deb13u1 | fixed | 
|  | trixie (security) | 1:10.0.2+ds-2+deb13u1 | fixed | 
|  | forky, sid | 1:10.1.2+ds-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| qemu | source | wheezy | (not affected) |  |  |  | 
| qemu | source | jessie | 1:2.1+dfsg-12+deb8u7 |  | DLA-1497-1 |  | 
| qemu | source | (unstable) | 1:2.8+dfsg-3 |  |  | 855159 | 
| qemu-kvm | source | wheezy | (not affected) |  |  |  | 
| qemu-kvm | source | (unstable) | (unfixed) |  |  |  | 
Notes
[wheezy] - qemu <not-affected> (Vulnerable code not present)
[wheezy] - qemu-kvm <not-affected> (Vulnerable code not present)
https://lists.gnu.org/archive/html/qemu-devel/2017-02/msg02776.html