[PATCH 6.15 574/592] arm64/ptrace: Fix stack-out-of-bounds read in regs_get_kernel_stack_nth()