[PATCH v4] ARM: imx: Fix suspend/resume crash with Clang CFI
Sami Tolvanen
samitolvanen at google.com
Tue Sep 1 12:45:21 PDT 2026
On Sun, Aug 30, 2026 at 9:24 AM Yo'av Moshe <linux at yoavmoshe.com> wrote:
>
> The sashiko-bot's comment on v5 indeed pointed out that imx5, at91 and
> omap1 might suffer from the same bug: their suspend routines are also
> fncpy()'d into SRAM without a type hash and called indirectly. They're
> all ARM, so asm/linkage.h still seems like the right place for the
> macro.
>
> Do you think these need to be fixed as part of this patch, or as
> follow-ups? I only have my one imx6 device (a Kobo Clara HD), so I'm not
> sure how to test the fixes for the others.
I think separate patches for the others should be fine.
Sami
More information about the linux-arm-kernel
mailing list