Re: 2.6.24-rc1-gb4f5550 oops

Oleg Nesterov
2007-11-14T17:51:24Z

On 11/14, Srivatsa Vaddagiri wrote:
>
> On Wed, Nov 14, 2007 at 06:17:08PM +0300, Oleg Nesterov wrote:
> > Suppose that old user_struct/task_group is freed/reused, and the task does
>
> Shouldn't this old user actually be the root user_struct?

Well, the S_ISUID application can switch ->user from !root_user (note that
setuid exec doesn't change ->user), and we also have CAP_SETUID...

But yes, I agree, this all is very unlikely.

Oleg.