{"id":"ALPINE-CVE-2017-5856","details":"Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (host memory consumption) via MegaRAID Firmware Interface (MFI) commands with the sglist size set to a value over 2 Gb.","modified":"2025-11-19T06:10:31.914729Z","published":"2017-03-16T15:59:01.007Z","upstream":["CVE-2017-5856"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-5856"}],"affected":[{"package":{"name":"qemu","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/qemu?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}],"versions":["0.10.6-r0","0.10.6-r1","0.10.6-r2","0.11.0-r0","0.11.1-r0","0.11.1-r1","0.12.3-r0","0.12.4-r0","0.12.5-r0","0.13.0-r0","0.13.0-r1","0.14.0-r0","0.14.0-r1","0.14.1-r0","0.15.0-r0","0.15.0-r1","0.15.1-r0","1.0-r0","1.0-r1","1.0-r2","1.0-r3","1.0-r4","1.0.1-r0","1.0.1-r1","1.0.1-r2","1.1.0-r0","1.1.0-r1","1.1.0-r2","1.1.1-r0","1.2.0-r0","1.2.0-r1","1.2.0-r2","1.2.1-r0","1.2.1-r1","1.2.2-r0","1.3.0-r0","1.3.1-r0","1.4.0-r0","1.4.0-r1","1.4.1-r0","1.5.0-r0","1.5.0-r1","1.5.1-r0","1.5.1-r1","1.5.1-r2","1.5.1-r3","1.5.2-r0","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.7.0-r0","1.7.0-r1","1.7.1-r0","2.0.0-r0","2.0.0-r1","2.1.0-r0","2.1.0-r1","2.1.1-r0","2.1.2-r0","2.1.2-r1","2.1.2-r2","2.1.3-r0","2.2.1-r0","2.2.1-r1","2.2.1-r2","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.4.0-r0","2.4.0.1-r0","2.4.0.1-r1","2.4.1-r0","2.4.1-r1","2.4.1-r2","2.4.1-r3","2.5.0-r0","2.5.0-r1","2.5.1-r0","2.5.1-r1","2.5.1-r2","2.5.1-r3","2.6.0-r0","2.6.0-r1","2.6.0-r2","2.6.0-r3","2.6.0-r4","2.6.0-r5","2.6.0-r6","2.6.1-r0","2.6.2-r0","2.7.0-r0","2.8.0-r0","2.8.0-r1","2.8.0-r2","2.8.0-r3","2.8.0-r4","2.8.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-5856.json"}},{"package":{"name":"qemu","ecosystem":"Alpine:v3.5","purl":"pkg:apk/alpine/qemu?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1.1-r0"}]}],"versions":["0.10.6-r0","0.10.6-r1","0.10.6-r2","0.11.0-r0","0.11.1-r0","0.11.1-r1","0.12.3-r0","0.12.4-r0","0.12.5-r0","0.13.0-r0","0.13.0-r1","0.14.0-r0","0.14.0-r1","0.14.1-r0","0.15.0-r0","0.15.0-r1","0.15.1-r0","1.0-r0","1.0-r1","1.0-r2","1.0-r3","1.0-r4","1.0.1-r0","1.0.1-r1","1.0.1-r2","1.1.0-r0","1.1.0-r1","1.1.0-r2","1.1.1-r0","1.2.0-r0","1.2.0-r1","1.2.0-r2","1.2.1-r0","1.2.1-r1","1.2.2-r0","1.3.0-r0","1.3.1-r0","1.4.0-r0","1.4.0-r1","1.4.1-r0","1.5.0-r0","1.5.0-r1","1.5.1-r0","1.5.1-r1","1.5.1-r2","1.5.1-r3","1.5.2-r0","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.7.0-r0","1.7.0-r1","1.7.1-r0","2.0.0-r0","2.0.0-r1","2.1.0-r0","2.1.0-r1","2.1.1-r0","2.1.2-r0","2.1.2-r1","2.1.2-r2","2.1.3-r0","2.2.1-r0","2.2.1-r1","2.2.1-r2","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.4.0-r0","2.4.0.1-r0","2.4.0.1-r1","2.4.1-r0","2.4.1-r1","2.4.1-r2","2.4.1-r3","2.5.0-r0","2.5.0-r1","2.5.1-r0","2.5.1-r1","2.5.1-r2","2.5.1-r3","2.6.0-r0","2.6.0-r1","2.6.0-r2","2.6.0-r3","2.6.0-r4","2.6.0-r5","2.6.0-r6","2.6.1-r0","2.6.2-r0","2.7.0-r0","2.8.0-r0","2.8.0-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-5856.json"}},{"package":{"name":"qemu","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/qemu?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}],"versions":["0.10.6-r0","0.10.6-r1","0.10.6-r2","0.11.0-r0","0.11.1-r0","0.11.1-r1","0.12.3-r0","0.12.4-r0","0.12.5-r0","0.13.0-r0","0.13.0-r1","0.14.0-r0","0.14.0-r1","0.14.1-r0","0.15.0-r0","0.15.0-r1","0.15.1-r0","1.0-r0","1.0-r1","1.0-r2","1.0-r3","1.0-r4","1.0.1-r0","1.0.1-r1","1.0.1-r2","1.1.0-r0","1.1.0-r1","1.1.0-r2","1.1.1-r0","1.2.0-r0","1.2.0-r1","1.2.0-r2","1.2.1-r0","1.2.1-r1","1.2.2-r0","1.3.0-r0","1.3.1-r0","1.4.0-r0","1.4.0-r1","1.4.1-r0","1.5.0-r0","1.5.0-r1","1.5.1-r0","1.5.1-r1","1.5.1-r2","1.5.1-r3","1.5.2-r0","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.7.0-r0","1.7.0-r1","1.7.1-r0","2.0.0-r0","2.0.0-r1","2.1.0-r0","2.1.0-r1","2.1.1-r0","2.1.2-r0","2.1.2-r1","2.1.2-r2","2.1.3-r0","2.2.1-r0","2.2.1-r1","2.2.1-r2","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.4.0-r0","2.4.0.1-r0","2.4.0.1-r1","2.4.1-r0","2.4.1-r1","2.4.1-r2","2.4.1-r3","2.5.0-r0","2.5.0-r1","2.5.1-r0","2.5.1-r1","2.5.1-r2","2.5.1-r3","2.6.0-r0","2.6.0-r1","2.6.0-r2","2.6.0-r3","2.6.0-r4","2.6.0-r5","2.6.0-r6","2.6.1-r0","2.6.2-r0","2.7.0-r0","2.8.0-r0","2.8.0-r1","2.8.0-r2","2.8.0-r3","2.8.0-r4","2.8.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-5856.json"}},{"package":{"name":"qemu","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/qemu?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}],"versions":["0.10.6-r0","0.10.6-r1","0.10.6-r2","0.11.0-r0","0.11.1-r0","0.11.1-r1","0.12.3-r0","0.12.4-r0","0.12.5-r0","0.13.0-r0","0.13.0-r1","0.14.0-r0","0.14.0-r1","0.14.1-r0","0.15.0-r0","0.15.0-r1","0.15.1-r0","1.0-r0","1.0-r1","1.0-r2","1.0-r3","1.0-r4","1.0.1-r0","1.0.1-r1","1.0.1-r2","1.1.0-r0","1.1.0-r1","1.1.0-r2","1.1.1-r0","1.2.0-r0","1.2.0-r1","1.2.0-r2","1.2.1-r0","1.2.1-r1","1.2.2-r0","1.3.0-r0","1.3.1-r0","1.4.0-r0","1.4.0-r1","1.4.1-r0","1.5.0-r0","1.5.0-r1","1.5.1-r0","1.5.1-r1","1.5.1-r2","1.5.1-r3","1.5.2-r0","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.7.0-r0","1.7.0-r1","1.7.1-r0","2.0.0-r0","2.0.0-r1","2.1.0-r0","2.1.0-r1","2.1.1-r0","2.1.2-r0","2.1.2-r1","2.1.2-r2","2.1.3-r0","2.2.1-r0","2.2.1-r1","2.2.1-r2","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.4.0-r0","2.4.0.1-r0","2.4.0.1-r1","2.4.1-r0","2.4.1-r1","2.4.1-r2","2.4.1-r3","2.5.0-r0","2.5.0-r1","2.5.1-r0","2.5.1-r1","2.5.1-r2","2.5.1-r3","2.6.0-r0","2.6.0-r1","2.6.0-r2","2.6.0-r3","2.6.0-r4","2.6.0-r5","2.6.0-r6","2.6.1-r0","2.6.2-r0","2.7.0-r0","2.8.0-r0","2.8.0-r1","2.8.0-r2","2.8.0-r3","2.8.0-r4","2.8.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-5856.json"}},{"package":{"name":"qemu","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/qemu?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}],"versions":["0.10.6-r0","0.10.6-r1","0.10.6-r2","0.11.0-r0","0.11.1-r0","0.11.1-r1","0.12.3-r0","0.12.4-r0","0.12.5-r0","0.13.0-r0","0.13.0-r1","0.14.0-r0","0.14.0-r1","0.14.1-r0","0.15.0-r0","0.15.0-r1","0.15.1-r0","1.0-r0","1.0-r1","1.0-r2","1.0-r3","1.0-r4","1.0.1-r0","1.0.1-r1","1.0.1-r2","1.1.0-r0","1.1.0-r1","1.1.0-r2","1.1.1-r0","1.2.0-r0","1.2.0-r1","1.2.0-r2","1.2.1-r0","1.2.1-r1","1.2.2-r0","1.3.0-r0","1.3.1-r0","1.4.0-r0","1.4.0-r1","1.4.1-r0","1.5.0-r0","1.5.0-r1","1.5.1-r0","1.5.1-r1","1.5.1-r2","1.5.1-r3","1.5.2-r0","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.7.0-r0","1.7.0-r1","1.7.1-r0","2.0.0-r0","2.0.0-r1","2.1.0-r0","2.1.0-r1","2.1.1-r0","2.1.2-r0","2.1.2-r1","2.1.2-r2","2.1.3-r0","2.2.1-r0","2.2.1-r1","2.2.1-r2","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.4.0-r0","2.4.0.1-r0","2.4.0.1-r1","2.4.1-r0","2.4.1-r1","2.4.1-r2","2.4.1-r3","2.5.0-r0","2.5.0-r1","2.5.1-r0","2.5.1-r1","2.5.1-r2","2.5.1-r3","2.6.0-r0","2.6.0-r1","2.6.0-r2","2.6.0-r3","2.6.0-r4","2.6.0-r5","2.6.0-r6","2.6.1-r0","2.6.2-r0","2.7.0-r0","2.8.0-r0","2.8.0-r1","2.8.0-r2","2.8.0-r3","2.8.0-r4","2.8.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-5856.json"}},{"package":{"name":"qemu","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/qemu?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}],"versions":["0.10.6-r0","0.10.6-r1","0.10.6-r2","0.11.0-r0","0.11.1-r0","0.11.1-r1","0.12.3-r0","0.12.4-r0","0.12.5-r0","0.13.0-r0","0.13.0-r1","0.14.0-r0","0.14.0-r1","0.14.1-r0","0.15.0-r0","0.15.0-r1","0.15.1-r0","1.0-r0","1.0-r1","1.0-r2","1.0-r3","1.0-r4","1.0.1-r0","1.0.1-r1","1.0.1-r2","1.1.0-r0","1.1.0-r1","1.1.0-r2","1.1.1-r0","1.2.0-r0","1.2.0-r1","1.2.0-r2","1.2.1-r0","1.2.1-r1","1.2.2-r0","1.3.0-r0","1.3.1-r0","1.4.0-r0","1.4.0-r1","1.4.1-r0","1.5.0-r0","1.5.0-r1","1.5.1-r0","1.5.1-r1","1.5.1-r2","1.5.1-r3","1.5.2-r0","1.6.0-r0","1.6.0-r1","1.6.1-r0","1.7.0-r0","1.7.0-r1","1.7.1-r0","2.0.0-r0","2.0.0-r1","2.1.0-r0","2.1.0-r1","2.1.1-r0","2.1.2-r0","2.1.2-r1","2.1.2-r2","2.1.3-r0","2.2.1-r0","2.2.1-r1","2.2.1-r2","2.3.0-r0","2.3.0-r1","2.3.0-r2","2.4.0-r0","2.4.0.1-r0","2.4.0.1-r1","2.4.1-r0","2.4.1-r1","2.4.1-r2","2.4.1-r3","2.5.0-r0","2.5.0-r1","2.5.1-r0","2.5.1-r1","2.5.1-r2","2.5.1-r3","2.6.0-r0","2.6.0-r1","2.6.0-r2","2.6.0-r3","2.6.0-r4","2.6.0-r5","2.6.0-r6","2.6.1-r0","2.6.2-r0","2.7.0-r0","2.8.0-r0","2.8.0-r1","2.8.0-r2","2.8.0-r3","2.8.0-r4","2.8.1-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-5856.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H"}]}