Loading
efi: runtime: Fix potential overflow of soft-reserved region size
stable inclusion from stable-v5.10.211 commit 4fff3d735baea104017f2e3c245e27cdc79f2426 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9HJU0 CVE: CVE-2024-26843 -------------------------------- [ Upstream commit de1034b38a346ef6be25fe8792f5d1e0684d5ff4 ] 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> Signed-off-by:
Yongqiang Liu <liuyongqiang13@huawei.com>