Bug 1879671 (CVE-2020-25085) - CVE-2020-25085 QEMU: sdhci: out-of-bounds access issue while doing multi block SDMA
Summary: CVE-2020-25085 QEMU: sdhci: out-of-bounds access issue while doing multi bloc...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2020-25085
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1879673 1910678
Blocks: 1850259
TreeView+ depends on / blocked
 
Reported: 2020-09-16 18:49 UTC by Prasad Pandit
Modified: 2022-04-17 21:00 UTC (History)
33 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-09-16 20:41:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Prasad Pandit 2020-09-16 18:49:01 UTC
An out-of-bounds r/w access issue was found in the SDHCI Controller emulator of QEMU. It may occur while doing multi block SDMA, if transfer block size exceeds the 's->fifo_buffer[s->buf_maxsz]' size. It'd leave the current element pointer 's->data_count' pointing out of bounds. Leading the subsequent DMA r/w operation to OOB access issue. A guest user/process may use this flaw to crash the QEMU process resulting in DoS scenario.

Upstream patches:
-----------------
  -> https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg00733.html
  -> https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg01439.html

Reference:
----------
  -> https://www.openwall.com/lists/oss-security/2020/09/16/6

Comment 1 Prasad Pandit 2020-09-16 18:49:10 UTC
Acknowledgments:

Name: Sergej Schumilo (Ruhr-University Bochum), Cornelius Aschermann (Ruhr-University Bochum), Simon Wrner (Ruhr-University Bochum)

Comment 3 Prasad Pandit 2020-09-16 18:49:44 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1879673]

Comment 4 Product Security DevOps Team 2020-09-16 20:41:05 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-25085


Note You need to log in before you can comment on or make changes to this bug.