Bug 1843764 (CVE-2020-13791)

Summary: CVE-2020-13791 QEMU: ati-vga: OOB access while reading PCI configuration may lead to DoS
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: amit, berrange, cfergeau, dbecker, dwmw2, itamar, jen, jferlan, jforbes, jjoyce, jlyle, jmaloy, jschluet, kbasil, knoel, lhh, lpeer, m.a.young, mburns, mkenneth, mrezanin, mst, pbonzini, ribarry, rjones, robinlee.sysu, sclewis, slinaber, virt-maint, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: QEMU 5.0.1 Doc Type: If docs needed, set a value
Doc Text:
An out-of-bounds access flaw was found in the ati-vga emulator of the QEMU. The issue occurs while reading PCI configuration bytes via the ati_mm_read routine if the address sent by a guest is towards an end of the PCI configuration space. This flaw allows a guest user or process to crash the QEMU process resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-04 05:20:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1843765, 1910690    
Bug Blocks: 1772801    

Description Prasad Pandit 2020-06-04 04:51:41 UTC
An out-of-bounds access issue was found in the ati-vga emulator of the QEMU. It could occur while reading PCI configuration bytes via ati_mm_read routine, if the address sent by a guest is towards an end of the PCI configuration space. A guest user/process may use this flaw to crash the QEMU process resulting in DoS scenario.

Upstream patch
---------------
  -> https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg00979.html

Comment 1 Prasad Pandit 2020-06-04 04:51:48 UTC
Acknowledgments:

Name: Ren Ding (SSLab Georgia Tech), Hanqing Zhao (SSLab Georgia Tech), Yi Ren

Comment 2 Prasad Pandit 2020-06-04 04:52:49 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1843765]

Comment 3 Product Security DevOps Team 2020-06-04 05:20:32 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-13791

Comment 5 Prasad Pandit 2020-06-04 06:27:05 UTC
External References:

https://www.openwall.com/lists/oss-security/2020/06/04/1