Re: memory leak in path_openat (2)

From: Al Viro
Date: Wed Feb 17 2021 - 00:42:25 EST


On Tue, Feb 16, 2021 at 09:21:14PM -0800, syzbot wrote:
> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: dcc0b490 Merge tag 'powerpc-5.11-8' of git://git.kernel.or..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=1316c614d00000
> kernel config: https://syzkaller.appspot.com/x/.config?x=a2fbb1a71525e1d5
> dashboard link: https://syzkaller.appspot.com/bug?extid=921ef0ccfeed3a496721
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1378ba4cd00000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12e73fc2d00000
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+921ef0ccfeed3a496721@xxxxxxxxxxxxxxxxxxxxxxxxx

Some observations:
* .config is x86 one
* merge in question is ppc-only
* at least some "leaks" reported are dentries in devtmpfs,
which should stay around until the shutdown
Care to bisect to something more useful?