Thread (4 messages) 4 messages, 4 authors, 2026-01-23

Re: [PATCH] arch: arm64: set __nocfi on swsusp_arch_resume

flat view

From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2026-01-22 18:23:57
Also in: lkml

On Thu, 22 Jan 2026 19:49:25 +0800, zhaoyang.huang wrote:
A DABT is reported[1] on an android based system when resume from hiberate,
which is root caused as CFI will plant stub code[2] to verify the
swsusp_arch_suspend_exit's authentication, where the hash value is stored
before the page that alloced by create_safe_exec_page. We also have
tried to copy the hash value together with the function but get failed since
the value is not on the desired position(src_start - 4). So we solve
this issue by setting __nocfi on swsusp_arch_resume and it works.

[...]
Applied to arm64 (for-next/fixes), thanks!

[1/1] arch: arm64: set __nocfi on swsusp_arch_resume
      (no commit info)

-- 
Catalin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help