efi: runtime: Fix potential overflow of soft-reserved region size

[ Upstream commit de1034b38a ]

md_size will have been narrowed if we have >= 4GB worth of pages in a
soft-reserved region.

Signed-off-by: Andrew Bresticker <abrestic@rivosinc.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Andrew Bresticker 2024-02-02 10:07:03 -08:00 • committed by Greg Kroah-Hartman
commit cf3d681360
2 changed files with 2 additions and 2 deletions