[PATCH v5] ARM: imx: Fix suspend/resume crash with Clang CFI

Frank.Li at oss.nxp.com Frank.Li at oss.nxp.com
Wed Sep 2 12:37:31 PDT 2026


From: Frank Li <Frank.Li at nxp.com>


On Sun, 30 Aug 2026 17:51:00 +0200, Yo'av Moshe wrote:
> The suspend code that runs from OCRAM is copied there with fncpy(),
> which does not copy the kCFI type hash preceding the function. With
> CONFIG_CFI=y the indirect call through imx6_suspend_in_ocram_fn
> therefore panics.
> 
> Keep the call covered by CFI instead of exempting it:
> 
> [...]

Applied, thanks!

[1/1] ARM: imx: Fix suspend/resume crash with Clang CFI
      commit: 242757d109bd5c9b8fb7194fb4d44625be0b859a

Best regards,
-- 
Frank Li <Frank.Li at nxp.com>



More information about the linux-arm-kernel mailing list