[PATCH v2] arm64: poe: fix stale POR_EL0 values for ptrace
Will Deacon
will at kernel.org
Thu Jan 29 04:58:51 PST 2026
On Tue, 27 Jan 2026 13:39:26 +0000, Joey Gouly wrote:
> If a process wrote to POR_EL0 and then crashed before a context switch
> happened, the coredump would contain an incorrect value for POR_EL0.
>
> The value read in poe_get() would be a stale value left in thread.por_el0. Fix
> this by reading the value from the system register, if the target thread is the
> current thread.
>
> [...]
Applied to arm64 (for-next/cpufeature), thanks!
[1/1] arm64: poe: fix stale POR_EL0 values for ptrace
https://git.kernel.org/arm64/c/1f3b950492db
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
More information about the linux-arm-kernel
mailing list