Bug 1840980 (CVE-2020-13361)

Summary: CVE-2020-13361 QEMU: es1370: OOB access due to incorrect frame count leads to DoS
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: amit, berrange, cfergeau, dwmw2, itamar, jen, jferlan, jforbes, jjoyce, jlyle, jmaloy, jschluet, 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 ES1370 audio device emulator of the QEMU. This flaw occurs in the 'audio_pcm_sw_read', while reading an audio byte stream from a channel if the channel frame count is set to a malicious value. A guest user or process may use this flaw to crash the QEMU process on the host, resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-15 11:32:36 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: 1840985, 1840986, 1840987, 1910696    
Bug Blocks: 1772801    

Description Prasad Pandit 2020-05-28 04:09:54 UTC
An OOB access issue was found in the ES1370 audio device emulator of the QEMU. The issue occurs in 'audio_pcm_sw_read', while reading audio byte stream from a channel, if the channel frame count is set to a malicious value. A guest user/process may use this flaw to crash the QEMU process on the host resulting in DoS scenario.

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

Reference:
----------
  -> https://www.openwall.com/lists/oss-security/2020/05/28/1

Comment 1 Prasad Pandit 2020-05-28 04:10:03 UTC
Acknowledgments:

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

Comment 2 Prasad Pandit 2020-05-28 04:19:25 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1840985]


Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1840986]