Re: [fs] bdd20132c6: BUG: sleeping function called from invalid context at fs/proc/proc_sysctl.c:1569

From: Eric W. Biederman
Date: Sat Jul 23 2016 - 07:58:04 EST


kernel test robot <xiaolong.ye@xxxxxxxxx> writes:

> FYI, we noticed the following commit:
>
> https://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-testing
> commit bdd20132c624a976f88b108ff37c7481c6f33e70 ("fs: Set s_user_ns to &init_user_ns in sget when MS_KERNMOUNT")
>
> in testcase: boot
>
> on test machine: 2 threads qemu-system-x86_64 -enable-kvm with 360M memory
>
> caused below changes:

Thank you for the report. For anyone who is watching the change that
actually has the problem is:

a02420f1402ca76a6f2833c14fa82044cb2a0ae4 ("userns: Add per user namespace sysctls.")

It looks like that change isn't ready. Close but not quite. Ah well.

Eric