From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Date: Mon, 05 Jul 2021 08:04:41 +0000 Subject: Re: [PATCH -tip v8 08/13] arm: kprobes: Make a space for regs->ARM_pc at kretprobe_trampoline Message-Id: List-Id: References: <162399992186.506599.8457763707951687195.stgit@devnote2> <162399999702.506599.16339931387573094059.stgit@devnote2> In-Reply-To: <162399999702.506599.16339931387573094059.stgit@devnote2> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Masami Hiramatsu Cc: Steven Rostedt , Josh Poimboeuf , X86 ML , Daniel Xu , linux-kernel@vger.kernel.org, bpf@vger.kernel.org, kuba@kernel.org, mingo@redhat.com, ast@kernel.org, Thomas Gleixner , Borislav Petkov , Peter Zijlstra , kernel-team@fb.com, yhs@fb.com, linux-ia64@vger.kernel.org, Abhishek Sagar , Andrii Nakryiko * Masami Hiramatsu wrote: > Change kretprobe_trampoline to make a space for regs->ARM_pc so that > kretprobe_trampoline_handler can call instruction_pointer_set() > safely. The idiom is "make space", but in any case, what does this mean? Was the stack frame set up in kretprobe_trampoline() and calling trampoline_handler() buggy? If yes, then explain the bad effects of the bug, and make all of this clear in the title & changelog. Thanks, Ingo