diff options
| author | Kajal Agarwal <kajal.agarwal@arm.com> | 2026-10-21 17:50:25 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-10-22 21:23:18 +0300 |
| commit | 6a3fb7e0111bbd564b4244a9cbd458995fde684c (patch) | |
| tree | 7b1993851ce4edc070c20ac9bec48b0c7a934712 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c | |
| parent | c41279f7b01f176b8c924f563cd6ae833f176be2 (diff) | |
| download | edk2-6a3fb7e0111bbd564b4244a9cbd458995fde684c.tar.xz | |
ArmPkg/ArmPsciMpServicesDxe: Validate processor index before access
EnableDisableAP() reads the target processor's status before checking
whether ProcessorNumber is within the per-processor data array. An invalid
index can therefore cause an out-of-bounds read instead of returning
EFI_NOT_FOUND.
Move the per-processor data access after the existing caller, processor
index and BSP checks. Read StatusFlag through the validated CpuData pointer
to preserve the existing behavior for valid APs.
Signed-off-by: Kajal Agarwal <kajal.agarwal@arm.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptExecute.c')
0 files changed, 0 insertions, 0 deletions
