Description
QEMU (aka Quick Emulator) built with the Rocker switch emulation support is vulnerable to an off-by-one error. It happens while processing transmit (tx) descriptors in 'tx_consume' routine, if a descriptor was to have more than allowed (ROCKER_TX_FRAGS_MAX=16) fragments. A privileged user inside guest could use this flaw to cause memory leakage on the host or crash the QEMU process instance resulting in DoS issue.
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:2.5+dfsg-3 | — |
| Debian 13 | qemu | 1:2.5+dfsg-3 | — |
| Debian 12 | qemu | 1:2.5+dfsg-3 | — |
References
- [oss-security] 20151228 CVE request Qemu net: rocker: fix an incorrect array bounds check mailing-list
- [qemu-devel] 20151226 [PATCH v2] net: rocker: fix an incorrect array bounds check mailing-list
- 79706 vdb-entry
- [oss-security] 20151229 Re: CVE request Qemu net: rocker: fix an incorrect array bounds check mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=1286971
- GLSA-201602-01 vendor-advisory