Re: 2.6.24-rc1-gb4f5550 oops

From: Oleg Nesterov
Date: Wed Nov 14 2007 - 12:51:25 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/