All reports
Medium

edk2: integer underflow in SmmEntryPoint function leads to potential SMM privilege escalation

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-38578

Probability of exploitation in the next 30 days: 1.02%

FIRST EPSS · 2026-11-23

Description

Existing CommBuffer checks in SmmEntryPoint will not catch underflow when computing BufferSize.

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.