diff --git a/docs/design/cpu-specific-build-macros.rst b/docs/design/cpu-specific-build-macros.rst index 369ec6ff5..17b295451 100644 --- a/docs/design/cpu-specific-build-macros.rst +++ b/docs/design/cpu-specific-build-macros.rst @@ -38,6 +38,10 @@ vulnerability workarounds should be applied at runtime. in EL3 FW. This build option should be set to 1 if the target platform contains at least 1 CPU that requires this mitigation. Defaults to 1. +- ``WORKAROUND_CVE_2024_7881``: Enables mitigation for `CVE-2024-7881`. + This build option should be set to 1 if the target platform contains at + least 1 CPU that requires this mitigation. Defaults to 1. + .. _arm_cpu_macros_errata_workarounds: CPU Errata Workarounds @@ -1055,7 +1059,7 @@ GIC Errata Workarounds -------------- -*Copyright (c) 2014-2024, Arm Limited and Contributors. All rights reserved.* +*Copyright (c) 2014-2025, Arm Limited and Contributors. All rights reserved.* .. _CVE-2017-5715: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5715 .. _CVE-2018-3639: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3639 diff --git a/lib/cpus/cpu-ops.mk b/lib/cpus/cpu-ops.mk index d5324606b..19846890d 100644 --- a/lib/cpus/cpu-ops.mk +++ b/lib/cpus/cpu-ops.mk @@ -1,5 +1,5 @@ # -# Copyright (c) 2014-2024, Arm Limited and Contributors. All rights reserved. +# Copyright (c) 2014-2025, Arm Limited and Contributors. All rights reserved. # Copyright (c) 2020-2022, NVIDIA Corporation. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause @@ -32,6 +32,8 @@ CPU_FLAG_LIST += WORKAROUND_CVE_2018_3639 CPU_FLAG_LIST += DYNAMIC_WORKAROUND_CVE_2018_3639 WORKAROUND_CVE_2022_23960 ?=1 CPU_FLAG_LIST += WORKAROUND_CVE_2022_23960 +WORKAROUND_CVE_2024_7881 ?=1 +CPU_FLAG_LIST += WORKAROUND_CVE_2024_7881 # Flag to disable Hardware page aggregation(HPA). # This flag is enabled by default.