On Tue, 2024-05-21 at 12:48 +0200, Jiri Olsa wrote: > Currently the application with enabled shadow stack will crash > if it sets up return uprobe. The reason is the uretprobe kernel > code changes the user space task's stack, but does not update > shadow stack accordingly. > > Adding new functions to update values on shadow stack and using > them in uprobe code to keep shadow stack in sync with uretprobe > changes to user stack. > > Fixes: 8b1c23543436 ("x86/shstk: Add return uprobe support") > Signed-off-by: Jiri Olsa <jo...@kernel.org> > --- Acked-by: Rick Edgecombe <rick.p.edgeco...@intel.com>
- [PATCHv6 bpf-next 0/9] uprobe: uretprobe speed up Jiri Olsa
- [PATCHv6 bpf-next 1/9] x86/shstk: Make return uprob... Jiri Olsa
- Re: [PATCHv6 bpf-next 1/9] x86/shstk: Make retu... Oleg Nesterov
- Re: [PATCHv6 bpf-next 1/9] x86/shstk: Make retu... Edgecombe, Rick P
- [PATCHv6 bpf-next 2/9] uprobe: Wire up uretprobe sy... Jiri Olsa
- [PATCHv6 bpf-next 3/9] uprobe: Add uretprobe syscal... Jiri Olsa
- [PATCHv6 bpf-next 4/9] selftests/x86: Add return up... Jiri Olsa
- [PATCHv6 bpf-next 5/9] selftests/bpf: Add uretprobe... Jiri Olsa
- [PATCHv6 bpf-next 6/9] selftests/bpf: Add uretprobe... Jiri Olsa
- [PATCHv6 bpf-next 7/9] selftests/bpf: Add uretprobe... Jiri Olsa
- [PATCHv6 bpf-next 8/9] selftests/bpf: Add uretprobe... Jiri Olsa
- [PATCHv6 9/9] man2: Add uretprobe syscall page Jiri Olsa
- Re: [PATCHv6 9/9] man2: Add uretprobe syscall p... Alejandro Colomar