https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115253

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Torbjorn Svensson
<az...@gcc.gnu.org>:

https://gcc.gnu.org/g:319081d614dec354ae415472121e0e8ebc4b1402

commit r11-11477-g319081d614dec354ae415472121e0e8ebc4b1402
Author: Torbjörn SVENSSON <torbjorn.svens...@foss.st.com>
Date:   Thu Jun 6 17:12:11 2024 +0200

    arm: Zero/Sign extends for CMSE security on Armv8-M.baseline [PR115253]

    Properly handle zero and sign extension for Armv8-M.baseline as
    Cortex-M23 can have the security extension active.
    Currently, there is an internal compiler error on Cortex-M23 for the
    epilog processing of sign extension.

    This patch addresses the following CVE-2024-0151 for Armv8-M.baseline.

    gcc/ChangeLog:

            PR target/115253
            * config/arm/arm.c (cmse_nonsecure_call_inline_register_clear):
            Sign extend for Thumb1.
            (thumb1_expand_prologue): Add zero/sign extend.

    Signed-off-by: Torbjörn SVENSSON <torbjorn.svens...@foss.st.com>
    Co-authored-by: Yvan ROUX <yvan.r...@foss.st.com>
    (cherry picked from commit 65bd0655ece268895e5018e393bafb769e201c78)

Reply via email to