On Fri, Nov 01, 2019 at 12:59:45AM +0900, [email protected] wrote:
> >Synopsis:    syncthing with many files crashes the kernel
> >Category:    kernel
> >Environment:
>       System      : OpenBSD 6.6
>       Details     : OpenBSD 6.6 (GENERIC.MP) #0: Sat Oct 26 08:08:07 MDT 2019
>                        
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
> 
>       My system constantly crashes overnight, so I have to login
>       remotely over VNC to enter the encryption password and restart the 
> machine.
> 
>       I have tried to trace the bug in ddb, and I think I have found
>       where the bug is, but I don't know how to fix it. When it crashes
>       this message is being displayed in ddb:
> 
>       /bsd: Stopped at in_delmulti+0xe8:       movq    %rcx,0(%rax)
> 
>       which corresponds to this line in sys/netinet/in.c:
> 
>       TAILQ_REMOVE(&ifp->if_maddrlist, &inm->inm_ifma, ifma_list);
> 
>       I suspect it has something to do with multicast traffic syncthing
>       generates, as the same setup doesn't crash my other machines
>       which use Linux kernel instead.

Also discovered by syzkaller, with a complete backtrace:

  https://syzkaller.appspot.com/bug?extid=7939d2c4bc9a5dfa707a

Reply via email to