Description: house of 1ce0ear
Jann Horn’s bug: https://bugs.chromium.org/p/project-zero/issues/detail?id=1903
Please consider the following scenario:
First of all, the process A calls ptrace with PTRACE_TRACEME . Process B attaches process A and later A invokes execve('passwd') . Since A is supposed to become a privileged process because of executing a suid binary, will process B gets elevated privilege in order to trace process A?