Bug 1833352 (CVE-2019-14587) - CVE-2019-14587 edk2: double-unmap issue in SdMmcCreateTrb function in MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c
Summary: CVE-2019-14587 edk2: double-unmap issue in SdMmcCreateTrb function in MdeModu...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-14587
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: 1833354 1833353
Blocks: 1833355
TreeView+ depends on / blocked
 
Reported: 2020-05-08 13:55 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-06-02 13:57 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-29 17:20:38 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
TianoCore 1989 0 None None None 2020-05-11 15:24:47 UTC

Description Guilherme de Almeida Suckevicz 2020-05-08 13:55:33 UTC
In edk2, a double-unmap issue was found in SdMmcCreateTrb() as a result of calling PciIo->Unmap. Within an error condition, as well as within the body of the SdMmcFreeTrb() which is also called on error. It's unclear if this will have exploitable properties in cases where other devices share a DMA mapping.

Reference:
https://bugzilla.tianocore.org/show_bug.cgi?id=1989

Upstream commit:
https://github.com/tianocore/edk2/commit/e36d5ac7d10a6ff5becb0f52fdfd69a1752b0d14

Comment 1 Guilherme de Almeida Suckevicz 2020-05-08 13:55:57 UTC
Created edk2 tracking bugs for this issue:

Affects: epel-all [bug 1833354]
Affects: fedora-all [bug 1833353]

Comment 4 Riccardo Schirone 2020-05-29 14:31:21 UTC
Marking rhel-7/ovmf and rhel-8/edk2 as notaffected as they don't include SdMmcPciHcDxe, as already mentioned in https://bugzilla.tianocore.org/show_bug.cgi?id=1989#c6 .

Comment 5 Product Security DevOps Team 2020-05-29 17:20:38 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-2019-14587


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