Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 585254

Summary: app-emulation/qemu: scsi: esp: OOB r/w access while processing ESP_FIFO
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED DUPLICATE    
Severity: normal CC: qemu+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1343323
See Also: https://bugs.gentoo.org/show_bug.cgi?id=584918
Whiteboard: B2 [upstream]
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2016-06-07 07:47:40 UTC
From ${URL} :

Quick Emulator(Qemu) built with the ESP/NCR53C9x controller emulation support
is vulnerable to an OOB r/w access issue. The controller uses 16-byte FIFO
buffer the information transfer. The OOB r/w occurs while reading/writing
to this buffer in esp_reg_read() and esp_reg_write() routines.

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 patch:
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2016-06/msg01507.html


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Aaron Bauman (RETIRED) gentoo-dev 2016-07-01 00:07:34 UTC
This was addressed in CVE-2016-5238 as one vulnerability.  Please see bug 584918.

*** This bug has been marked as a duplicate of bug 584918 ***