OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 2/2] Fix user namespace exiting OOPs
Re: [PATCH 2/2] Fix user namespace exiting OOPs [message #20337 is a reply to message #20303] Mon, 17 September 2007 06:21 Go to previous message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
Andrew Morton wrote:
> On Fri, 14 Sep 2007 13:23:55 -0500 "Serge E. Hallyn" <serue@us.ibm.com> wrote:
> 
>>> run on kernel with CONFIG_USER_NS turned on will oops the
>>> kernel immediately.
>>>
>>> This was spotted during OpenVZ kernel testing.
>>>
>>> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
>>> Signed-off-by: Alexey Dobriyan <adobriyan@openvz.org>
>> Good spot.  Interesting solution :)
>>
> 
> Do we want to fix this in 2.6.23?

This is not a security issue at all. This BUG can be triggered only
by CAP_SYS_ADMIN capable task on the kernel with CONFIG_USER_NS=y,
which is an EXPERIMENTAL depending option.

> If so then at present I'll need to merge 
> 
> kernel-userc-use-list_for_each_entry-instead-of-list_for_each.patch
> convert-uid-hash-to-hlist.patch
> fix-user-namespace-exiting-oops.patch
> 
> which is rather a lot of merging at this stage - surely more than
> is really needed?
> 

Thanks,
Pavel
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: [RFC][PATCH 0/3] Kernel memory accounting container (v2)
Next Topic: [PATCH 1/5] Cleanup macros for distinguishing mandatory locks
Goto Forum:
  


Current Time: Thu Aug 28 17:17:09 GMT 2025

Total time taken to generate the page: 0.09984 seconds