Bug 1960321 (CVE-2021-38578) - CVE-2021-38578 edk2: integer underflow in SmmEntryPoint function leads to potential SMM privilege escalation
Summary: CVE-2021-38578 edk2: integer underflow in SmmEntryPoint function leads to pot...
Keywords:
Status: NEW
Alias: CVE-2021-38578
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: 1989857 2096378 2096379 1989856
Blocks: 1959708
TreeView+ depends on / blocked
 
Reported: 2021-05-13 16:32 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-06-16 22:01 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in edk2. A integer underflow in the SmmEntryPoint function leads to a write into the SMM region allowing a local attacker with administration privileges on the system to execute code within the SMM privileged context. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-05-13 16:32:19 UTC
Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize.

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

Comment 5 Mauro Matteo Cascella 2022-06-13 16:39:29 UTC
Created edk2 tracking bugs for this issue:

Affects: epel-7 [bug 2096378]
Affects: fedora-all [bug 2096379]

Comment 6 Gerd Hoffmann 2022-06-14 11:59:28 UTC
https://edk2.groups.io/g/devel/message/90516


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