MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/4077
JIRA: https://issues.redhat.com/browse/RHEL-33098
CVE: CVE-2024-26843
Conflicts:
drivers/firmware/efi/riscv-runtime.c
-Excluding changes for unsupported arch by RHEL9.
commit de1034b38a346ef6be25fe8792f5d1e0684d5ff4
Author: Andrew Bresticker <abrestic@rivosinc.com>
Date: Fri Feb 2 10:07:03 2024 -0800
efi: runtime: Fix potential overflow of soft-reserved region size
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: Lenny Szubowicz <lszubowi@redhat.com>
Approved-by: Mark Langsdorf <mlangsdo@redhat.com>
Approved-by: David Arcari <darcari@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Lucas Zampieri <lzampier@redhat.com>