Re: general protection fault in kernfs_kill_sb (2)

From: Stephen Rothwell
Date: Mon May 14 2018 - 20:17:36 EST


Hi Al,

On Mon, 14 May 2018 05:04:15 +0100 Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, May 14, 2018 at 12:20:16PM +0900, Tetsuo Handa wrote:
>
> > But there remains a refcount bug because deactivate_locked_super() from
> > kernfs_mount_ns() triggers kobj_ns_drop() from sysfs_kill_sb() via
> > sb->kill_sb() when kobj_ns_drop() is always called by sysfs_mount()
> > if kernfs_mount_ns() returned an error.
>
> Trivial:
>
> unfuck sysfs_mount()
>
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

I noticed this turn up in linux-next today. Can I ask that you please
add an actual commit message to it before sending it on to Linus.
--
Cheers,
Stephen Rothwell

Attachment: pgpv3DTof34J_.pgp
Description: OpenPGP digital signature