[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181218135159.GV2217@ZenIV.linux.org.uk>
Date: Tue, 18 Dec 2018 13:51:59 +0000
From: Al Viro <viro@...iv.linux.org.uk>
To: Ian Kent <raven@...maw.net>
Cc: syzbot <syzbot+5399ed0832693e29f392@...kaller.appspotmail.com>,
Andrew Morton <akpm@...ux-foundation.org>,
DmitryVyukov <dvyukov@...gle.com>, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Re: kernel BUG at fs/inode.c:LINE!
On Tue, Dec 18, 2018 at 06:42:35PM +0800, Ian Kent wrote:
> Sorry Al, that's my bad.
>
> See https://www.ozlabs.org/~akpm/mmotm/broken-out/autofs-fix-possible-inode-leak-in-autofs_fill_super.patch
>
> I think this will fix it, I'll forward it to Andrew if you agree:
Just drop it and be done with that. d_make_root(NULL) returns NULL,
no need to check that in the caller. There is no leak in the mainline;
the calling conventions for d_make_root() are chosen that way
just for that reason - to minimize the amount of cleanups needed.
Powered by blists - more mailing lists