Thread (2 messages) 2 messages, 2 authors, 2026-01-29

Re: [PATCH v2] arm64: poe: fix stale POR_EL0 values for ptrace

From: Will Deacon <will@kernel.org>
Date: 2026-01-29 12:58:59
Also in: stable

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help