On Fri, 24 Jul 2026 01:18:09 +0530, Mukesh Kumar Chaurasiya (IBM) wrote:
Commit d7a6797e0bc1 ("powerpc: add exit_flags field in pt_regs") added
the exit_flags field to struct pt_regs to pass internal exit control
flags (e.g. _TIF_RESTOREALL) from syscall_exit_prepare() to the
low-level assembly exit path.
However, the field was placed in a way that was visible to userspace
tools such as strace via PTRACE_GETREGS, or caused a struct layout or
size regression observable through ptrace. The field is purely
kernel-internal and must not be exposed beyond the user_pt_regs
boundary.
[...]
Applied to powerpc/fixes.
[1/1] powerpc: Fix exit_flags field placement in pt_regs for ptrace
https://git.kernel.org/powerpc/c/263e5159e00aa46bf26f3496ff7aae1fc9a6c826
cheers