Re:CVE-2013-0871: Linux arbitrary kernel-mode code execution
by sounds on Saturday February 16, 2013 @06:05AM
(#5231146)
Has 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.)
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.)