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

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

https://gcc.gnu.org/g:65bd0655ece268895e5018e393bafb769e201c78

commit r15-1200-g65bd0655ece268895e5018e393bafb769e201c78
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.cc (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>

Reply via email to