syzbot
panic: inp_join_group: imf_sources not empty
Status:
fixed on 2019/04/11 14:45
Reported-by: syzbot+f8c3c564ee21d650475e@syzkaller.appspotmail.com
Fix commit:
f1ef572a1ecd
Reinitialize multicast source filter structures after invalidation.
First crash: 2688d, last: 2661d
Sample crash report:
login: panic: inp_join_group: imf_sources not empty
cpuid = 0
time = 1552663815
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0021231520
vpanic() at vpanic+0x1e0/frame 0xfffffe0021231580
panic() at panic+0x43/frame 0xfffffe00212315e0
inp_setmoptions() at inp_setmoptions+0x4023/frame 0xfffffe00212317c0
ip_ctloutput() at ip_ctloutput+0x80f/frame 0xfffffe0021231810
rip_ctloutput() at rip_ctloutput+0x2c9/frame 0xfffffe0021231850
sosetopt() at sosetopt+0x101/frame 0xfffffe00212318d0
kern_setsockopt() at kern_setsockopt+0x158/frame 0xfffffe0021231950
sys_setsockopt() at sys_setsockopt+0x33/frame 0xfffffe0021231980
amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe0021231ab0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0021231ab0
--- syscall (0, FreeBSD ELF64, nosys), rip = 0x457ada, rsp = 0x7fffdffdcf78, rbp = 0x6b6100 ---
KDB: enter: panic
[ thread pid 759 tid 100103 ]
Stopped at kdb_enter+0x6a: movq $0,kdb_why
* Struck through repros no longer work on HEAD.