Re: bpf-next boot error: KASAN: use-after-free Write in call_usermodehelper_exec_work

From: Alexei Starovoitov
Date: Thu Jun 07 2018 - 12:07:12 EST


On Thu, Jun 07, 2018 at 02:19:16PM +0200, Dmitry Vyukov wrote:
> On Mon, Jun 4, 2018 at 10:21 PM, syzbot
> <syzbot+2c73319c406f1987d156@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > Hello,
> >
> > syzbot found the following crash on:
> >
> > HEAD commit: 69b450789136 Merge branch 'misc-BPF-improvements'
> > git tree: bpf-next
> > console output: https://syzkaller.appspot.com/x/log.txt?x=1080d1d7800000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=e4078980b886800c
> > dashboard link: https://syzkaller.appspot.com/bug?extid=2c73319c406f1987d156
> > compiler: gcc (GCC) 8.0.1 20180413 (experimental)
> >
> > Unfortunately, I don't have any reproducer for this crash yet.
> >
> > IMPORTANT: if you fix the bug, please add the following tag to the commit:
> > Reported-by: syzbot+2c73319c406f1987d156@xxxxxxxxxxxxxxxxxxxxxxxxx
>
>
> This crash now happens on every other boot of mainline tree. This
> prevents syzbot testing of new code, and just boots machine with
> corrupted memory. Were there any recent changes in umh? +Alexei, you
> seem to touch it last. Could your change cause this?

looking into it. I think I see the issue. Trying to reproduce.