lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 15 Mar 2019 12:46:32 +0100
From:   Dominik Brodowski <>
To:     Al Viro <>
Cc:     David Howells <>,
        Greg Kroah-Hartman <>,
        Tejun Heo <>, Li Zefan <>,
        Johannes Weiner <>,,,
Subject: Re: fs_context-related oops in mainline

On Fri, Mar 15, 2019 at 11:34:47AM +0000, Al Viro wrote:
> On Fri, Mar 15, 2019 at 08:43:07AM +0100, Dominik Brodowski wrote:
> > David, Al,
> > 
> > commit 23bf1b6be9c2 ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context")
> > seems to have introduced a bug; at least that's the commit I bisected the
> > following oops down to:

As additional information: In sysfs_init_fs_context, we have

	kfc->ns_tag = netns = kobj_ns_grab_current(KOBJ_NS_TYPE_NET);
	fc->user_ns = get_user_ns(netns->user_ns);

With my config, kobj_ns_grab_current() returns NULL here, which obviously
causes a null pointer dereference when trying to set fs->user_ns.

Probably the most important line of the .config (attached):

	# CONFIG_NET is not set


View attachment "config" of type "text/plain" (46463 bytes)

Powered by blists - more mailing lists