Bug 990835 (CVE-2016-6351) - VUL1: CVE-2016-6351: qemu: scsi: esp: OOB write access in esp_do_dma
Summary: VUL1: CVE-2016-6351: qemu: scsi: esp: OOB write access in esp_do_dma
Status: RESOLVED FIXED
Alias: CVE-2016-6351
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Bruce Rogers
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/171373/
Whiteboard: CVSSv2:SUSE:CVE-2016-6351:4.0:(AV:A/A...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-27 11:15 UTC by Andreas Stieger
Modified: 2021-04-30 09:42 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Stieger 2016-07-27 11:15:29 UTC
http://www.openwall.com/lists/oss-security/2016/07/25/14

Quick Emulator(Qemu) built with the ESP/NCR53C9x controller emulation support 
is vulnerable to an OOB write access issue. It could occur while doing DMA 
read into ESP command buffer 's->cmdbuf'; It could write past the 's->cmdbuf' 
area, if it was transferring more than 16 bytes in esp_do_dma().

A privileged user inside guest could use this flaw to crash the Qemu process 
resulting in DoS OR potentially leverage it to execute arbitrary code with 
privileges of the Qemu process on the host.

Upstream patches:
-----------------
   -> http://git.qemu.org/?p=qemu.git;a=commit;h=926cde5f3e4d2504ed161ed0
   -> http://git.qemu.org/?p=qemu.git;a=commit;h=cc96677469388bad3d664793

This issue was discovered by Li Qiang of 360.cn Inc.



References:
https://bugzilla.redhat.com/show_bug.cgi?id=1360599
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-6351
http://seclists.org/oss-sec/2016/q3/158
Comment 1 Bruce Rogers 2017-03-07 22:51:45 UTC
Fixed.