syzbot


freebsd boot error: panic: Assertion in_epoch(net_epoch_preempt) failed at /syzkaller/managers/i386/kernel/sys/net/if.c:LINE

Status: fixed on 2019/10/08 22:59
Reported-by: syzbot+631f400c0275b549de37@syzkaller.appspotmail.com
Fix commit: In DIAGNOSTIC block of if_delmulti_ifma_flags() enter the network epoch. This quickly plugs the regression from r353292. The locking of multicast definitely needs a broader review today...
First crash: 1873d, last: 1873d

Sample crash report:
panic: Assertion in_epoch(net_epoch_preempt) failed at /syzkaller/managers/i386/kernel/sys/net/if.c:3694
cpuid = 1
time = 1570551739
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe001a110850
vpanic() at vpanic+0x1e0/frame 0xfffffe001a1108b0
panic() at panic+0x43/frame 0xfffffe001a110910
if_delmulti_ifma_flags() at if_delmulti_ifma_flags+0x1af/frame 0xfffffe001a110950
inm_release_task() at inm_release_task+0x345/frame 0xfffffe001a1109c0
gtaskqueue_run_locked() at gtaskqueue_run_locked+0x13e/frame 0xfffffe001a110a20
gtaskqueue_thread_loop() at gtaskqueue_thread_loop+0xdd/frame 0xfffffe001a110a60
fork_exit() at fork_exit+0xb0/frame 0xfffffe001a110ab0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe001a110ab0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 0 tid 100005 ]
Stopped at      kdb_enter+0x6a: movq    $0,kdb_why
db> 

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/08 16:31 freebsd 92f05be957a2 64612bfd console log report ci-freebsd-i386
2019/10/08 16:31 freebsd 92f05be957a2 64612bfd console log report ci-freebsd-i386
2019/10/08 16:31 freebsd 92f05be957a2 64612bfd console log report ci-freebsd-i386
2019/10/08 15:48 freebsd 236e505a955c 64612bfd console log report ci-freebsd-i386
2019/10/08 15:48 freebsd 236e505a955c 64612bfd console log report ci-freebsd-i386
2019/10/08 15:48 freebsd 236e505a955c 64612bfd console log report ci-freebsd-i386
2019/10/08 14:46 freebsd 4b1b83073280 64612bfd console log report ci-freebsd-i386
2019/10/08 14:46 freebsd 4b1b83073280 64612bfd console log report ci-freebsd-i386
2019/10/08 14:46 freebsd 4b1b83073280 64612bfd console log report ci-freebsd-i386
2019/10/08 12:13 freebsd 2fa7e77a36f6 64612bfd console log report ci-freebsd-i386
2019/10/08 12:13 freebsd 2fa7e77a36f6 64612bfd console log report ci-freebsd-i386
2019/10/08 12:13 freebsd 2fa7e77a36f6 64612bfd console log report ci-freebsd-i386
2019/10/08 11:34 freebsd 918670a5ed80 64612bfd console log report ci-freebsd-i386
2019/10/08 11:34 freebsd 918670a5ed80 64612bfd console log report ci-freebsd-i386
2019/10/08 11:34 freebsd 918670a5ed80 64612bfd console log report ci-freebsd-i386
2019/10/08 10:53 freebsd 918670a5ed80 28ac6e64 console log report ci-freebsd-i386
2019/10/08 10:53 freebsd 918670a5ed80 28ac6e64 console log report ci-freebsd-i386
2019/10/08 10:53 freebsd 918670a5ed80 28ac6e64 console log report ci-freebsd-i386
* Struck through repros no longer work on HEAD.