3 ms·
No, you can exploit this by ptracing your child. It's not targeting a special process. (Does anybody use yama.ptrace_scope?)
by tedunangst 14y ago
No, you can exploit this by ptracing your child. It's not targeting a special process. (Does anybody use yama.ptrace_scope?)
- bcoates 14y agoIt's on by default on Ubuntu.
- sounds 14y agoHas anyone estimated the probability of success? What is the average number of attempts to get the scheduling conditions to happen? Assume the user can get access to a CPU core that is otherwise idle. sched_setaffinity(2) will succeed when run by the process to set its own affinity to a specific core, so the attacker can locate the processes on a chosen core. (The attacker could spend a few milliseconds first to find an idle core.)