panic: bad arg kind: <nil>
goroutine 14 [running]:
github.com/google/syzkaller/prog.clone(0x0, 0x0, 0xc0021cbe38, 0xc002fce900, 0xc002fa8c80)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:79 +0x954
github.com/google/syzkaller/prog.(*Prog).Clone(0xc000bb3c80, 0xc0038a40f0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:24 +0x279
main.(*Proc).loop(0xc0038a20c0)
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:98 +0x3ca
created by main.main
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:259 +0x114c
OpenBSD/amd64 (ci-openbsd-multicore-2.c.syzkaller.internal) (tty00)
login: uvm_fault(0xfffffd807efffcf0, 0x3fff7ee000b, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
kernel page fault
uvm_fault(0xfffffd807efffcf0, 0x3fff7ee000b, 0, 1) -> e
in_delmulti(3fff7edffff) at in_delmulti+0x8d sys/netinet/in.c:914
end trace frame: 0xffff800021f98c20, count: 0
ddb{0}> trace
in_delmulti(3fff7edffff) at in_delmulti+0x8d sys/netinet/in.c:914
in_purgeaddr(ffff8000009d2100) at in_purgeaddr+0x156 sys/netinet/in.c:760
in_ifdetach(ffff800000a22000) at in_ifdetach+0x74 sys/netinet/in.c:969
if_detach(ffff800000a22000) at if_detach+0x140 sys/net/if.c:1151
tun_clone_destroy(ffff800000a22000) at tun_clone_destroy+0x179 sys/net/if_tun.c:312
spec_close(ffff800021f98da0) at spec_close+0x311 sys/kern/spec_vnops.c:555
VOP_CLOSE(fffffd8076985278,7,fffffd807f7be9c0,ffff800020ad6ee8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175
vn_closefile(fffffd80657f5e58,ffff800020ad6ee8) at vn_closefile+0xd8 vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffd80657f5e58,ffff800020ad6ee8) at vn_closefile+0xd8 sys/kern/vfs_vnops.c:610
fdrop(fffffd80657f5e58,ffff800020ad6ee8) at fdrop+0xc2 sys/kern/kern_descrip.c:1273
closef(fffffd80657f5e58,ffff800020ad6ee8) at closef+0x11d sys/kern/kern_descrip.c:1257
fdfree(ffff800020ad6ee8) at fdfree+0x101 sys/kern/kern_descrip.c:1189
exit1(ffff800020ad6ee8,0,d,1) at exit1+0x344 sys/kern/kern_exit.c:196
postsig(ffff800020ad6ee8,d) at postsig+0x4e5 sigexit sys/kern/kern_sig.c:1498 [inline]
postsig(ffff800020ad6ee8,d) at postsig+0x4e5 sys/kern/kern_sig.c:1430
userret(ffff800020ad6ee8) at userret+0x199 sys/kern/kern_sig.c:1888
syscall(ffff800021f99220) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:115 [inline]
syscall(ffff800021f99220) at syscall+0x55f sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7fffff5480, count: -16
ddb{0}> show registers
rdi 0x2
rsi 0
rbp 0xffff800021f98bd0
rbx 0
rdx 0xffff800020ad6ee8
rcx 0
rax 0
r8 0xffffffff81950223 rt_ifa_purge+0x153
r9 0x5
r10 0x2f
r11 0xb37f1db1dc72df3b
r12 0
r13 0x3
r14 0x3fff7edffff
r15 0x1
rip 0xffffffff817458ad in_delmulti+0x8d
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800021f98b70
ss 0x10
in_delmulti+0x8d: movl 0xc(%r14),%r15d
ddb{0}> show proc
PROC (syz-executor.1) pid=129901 stat=onproc
flags process=a<EXEC,EXITING> proc=2000<WEXIT>
pri=86, usrpri=86, nice=20
forw=0xffffffffffffffff, list=0xffff800020ad7160,0xffff800020ad6790
process=0xffff800020af51c0 user=0xffff800021f94000, vmspace=0xfffffd807efffcf0
estcpu=36, cpticks=3, pctcpu=0.23
user=0, sys=1, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
59832 106762 0 0 3 0x14200 bored sosplice
88507 491143 95190 0 3 0x10008a pause ksh
95190 193774 5530 0 3 0x92 select sshd
44294 70439 1 0 3 0x100083 ttyin getty
5530 338064 1 0 3 0x80 select sshd
97973 80392 95603 74 3 0x100092 bpf pflogd
95603 522780 1 0 3 0x80 netio pflogd
73307 100869 3369 73 3 0x100090 kqread syslogd
3369 482918 1 0 3 0x100082 netio syslogd
73951 395440 1 77 2 0x100090 dhclient
27115 95948 1 0 3 0x80 poll dhclient
51292 387504 0 0 2 0x14200 zerothread
276 511234 0 0 3 0x14200 aiodoned aiodoned
98394 173641 0 0 3 0x14200 syncer update
81628 121238 0 0 3 0x14200 cleaner cleaner
94341 405841 0 0 7 0x14200 reaper
90411 193494 0 0 3 0x14200 pgdaemon pagedaemon
19226 346522 0 0 3 0x14200 bored crynlk
10808 374912 0 0 3 0x14200 bored crypto
42442 312197 0 0 3 0x40014200 acpi0 acpi0
32246 497956 0 0 3 0x40014200 idle1
51673 217683 0 0 2 0x14200 softnet
16730 307695 0 0 2 0x14200 systqmp
56255 478744 0 0 3 0x14200 bored systq
68212 145277 0 0 3 0x40014200 bored softclock
65393 327488 0 0 3 0x40014200 idle0
26373 427901 0 0 3 0x14200 bored smr
1 494402 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
CPU 1:
exclusive mutex pvpl r = 0 (0xffffffff8261cc90)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 mtx_enter_try+0x102
#2 mtx_enter+0x4b sys/kern/kern_lock.c:266
#3 pool_put+0x64 sys/kern/subr_pool.c:800
#4 pmap_do_remove+0x61b sys/arch/amd64/amd64/pmap.c:1794
#5 uvm_map_teardown+0x195 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:176 [inline]
#5 uvm_map_teardown+0x195 sys/uvm/uvm_map.c:2737
#6 uvmspace_free+0x86 sys/uvm/uvm_map.c:3611
#7 uvm_exit+0x29 sys/uvm/uvm_glue.c:297
#8 reaper+0x189 sys/kern/kern_exit.c:443
#9 proc_trampoline+0x1c
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9509 6413K 7382K 78643K 11537 0
pcb 13 8K 8K 78643K 69 0
rtable 77 3K 4K 78643K 338 0
ifaddr 58 12K 13K 78643K 126 0
counters 39 33K 33K 78643K 39 0
ioctlops 0 0K 4K 78643K 1479 0
iov 0 0K 16K 78643K 89 0
mount 1 1K 1K 78643K 1 0
vnodes 1229 77K 78K 78643K 1515 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 16 0
VM map 2 1K 1K 78643K 2 0
sem 12 0K 0K 78643K 128 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1809 196K 290K 78643K 12766 0
file desc 3 8K 25K 78643K 273 0
sigio 0 0K 0K 78643K 6 0
proc 60 63K 83K 78643K 486 0
subproc 14 0K 2K 78643K 34 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 49 0
in_multi 24 1K 2K 78643K 52 0
ether_multi 1 0K 0K 78643K 2 0
mrt 0 0K 0K 78643K 2 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 55 254K 254K 78643K 55 0
exec 0 0K 1K 78643K 236 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 7 26K 26K 78643K 7 0
UVM amap 117 38K 39K 78643K 1901 0
UVM aobj 41 2K 2K 78643K 43 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 61 0
NDP 10 0K 0K 78643K 28 0
temp 127 3020K 3101K 78643K 14835 0
kqueue 0 0K 0K 78643K 2 0
SYN cache 2 16K 16K 78643K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp 64 8 0 6 1 0 1 1 0 8 0
plcache 128 20 0 0 1 0 1 1 0 8 0
rtpcb 80 106 0 104 1 0 1 1 0 8 0
rtentry 112 57 0 29 2 0 2 2 0 8 0
unpcb 120 138 0 128 1 0 1 1 0 8 0
syncache 264 4 0 4 1 1 0 1 0 8 0
tcpqe 32 133 0 133 1 1 0 1 0 8 0
tcpcb 544 160 0 156 1 0 1 1 0 8 0
inpcb 280 403 0 397 3 1 2 2 0 8 1
nd6 48 5 0 4 1 0 1 1 0 8 0
pkpcb 40 4 0 4 2 1 1 1 0 8 1
ppxss 1128 4 0 4 2 1 1 1 0 8 1
pffrag 232 3 0 3 1 0 1 1 0 482 1
pffrnode 88 3 0 3 1 0 1 1 0 8 1
pffrent 40 49 0 49 1 0 1 1 0 8 1
pfosfp 40 846 0 423 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pfstitem 24 27 0 10 1 0 1 1 0 8 0
pfstkey 112 27 0 10 1 0 1 1 0 8 0
pfstate 328 27 0 7 3 1 2 2 0 8 0
pfrule 1360 21 0 16 2 1 1 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 258 0 104 14 0 14 14 0 8 2
art_table 32 259 0 104 2 0 2 2 0 8 0
art_node 16 56 0 26 1 0 1 1 0 8 0
sysvmsgpl 40 34 0 20 1 0 1 1 0 8 0
semupl 112 1 0 1 1 1 0 1 0 8 0
semapl 112 126 0 116 1 0 1 1 0 8 0
shmpl 112 41 0 2 2 0 2 2 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino1pl 128 1884 0 478 46 0 46 46 0 8 0
ffsino 272 1884 0 478 95 0 95 95 0 8 0
nchpl 144 2542 0 924 61 0 61 61 0 8 0
uvmvnodes 72 2152 0 0 40 0 40 40 0 8 0
vnodes 208 2152 0 0 114 0 114 114 0 8 0
namei 1024 7275 0 7275 2 1 1 1 0 8 1
percpumem 16 30 0 0 1 0 1 1 0 8 0
vcpupl 1984 2 0 0 1 0 1 1 0 8 0
vmpool 560 2 0 0 1 0 1 1 0 8 0
scxspl 192 6824 0 6824 8 6 2 6 0 8 2
plimitpl 152 29 0 21 1 0 1 1 0 8 0
sigapl 432 472 0 459 3 1 2 3 0 8 0
futexpl 56 6749 0 6749 2 1 1 1 0 8 1
knotepl 112 101 0 96 1 0 1 1 0 8 0
kqueuepl 104 106 0 105 1 0 1 1 0 8 0
pipepl 112 272 0 261 1 0 1 1 0 8 0
fdescpl 488 473 0 459 3 0 3 3 0 8 0
filepl 152 3553 0 3485 8 2 6 6 0 8 2
lockfpl 104 94 0 93 1 0 1 1 0 8 0
lockfspl 48 33 0 32 1 0 1 1 0 8 0
sessionpl 112 18 0 7 1 0 1 1 0 8 0
pgrppl 48 24 0 13 1 0 1 1 0 8 0
ucredpl 96 247 0 238 1 0 1 1 0 8 0
zombiepl 144 461 0 458 1 0 1 1 0 8 0
processpl 904 489 0 458 4 0 4 4 0 8 0
procpl 632 1121 0 1090 6 1 5 5 0 8 1
sosppl 128 4 0 4 2 1 1 1 0 8 1
sockpl 384 657 0 639 7 2 5 5 0 8 3
mcl64k 65536 6 0 0 1 0 1 1 0 8 0
mcl16k 16384 1 0 0 1 0 1 1 0 8 0
mcl12k 12288 4 0 0 1 0 1 1 0 8 0
mcl9k 9216 3 0 0 1 0 1 1 0 8 0
mcl8k 8192 6 0 0 1 0 1 1 0 8 0
mcl4k 4096 12 0 0 2 0 2 2 0 8 0
mcl2k2 2112 1 0 0 1 0 1 1 0 8 0
mcl2k 2048 168 0 0 20 0 20 20 0 8 0
mtagpl 80 40 0 0 1 0 1 1 0 8 0
mbufpl 256 325 0 0 18 0 18 18 0 8 0
bufpl 280 6682 0 1340 382 0 382 382 0 8 0
anonpl 16 67550 0 47820 97 1 96 96 0 125 13
amapchunkpl 152 2547 0 2384 9 1 8 9 0 158 0
amappl16 192 2616 0 1546 70 7 63 66 0 8 8
amappl15 184 295 0 290 1 0 1 1 0 8 0
amappl14 176 150 0 146 1 0 1 1 0 8 0
amappl12 160 6 0 5 1 0 1 1 0 8 0
amappl11 152 57 0 42 1 0 1 1 0 8 0
amappl10 144 12 0 6 1 0 1 1 0 8 0
amappl9 136 605 0 601 1 0 1 1 0 8 0
amappl8 128 123 0 100 1 0 1 1 0 8 0
amappl7 120 102 0 91 1 0 1 1 0 8 0
amappl6 112 57 0 49 1 0 1 1 0 8 0
amappl5 104 136 0 121 1 0 1 1 0 8 0
amappl4 96 731 0 700 1 0 1 1 0 8 0
amappl3 88 123 0 115 1 0 1 1 0 8 0
amappl2 80 2992 0 2922 3 1 2 3 0 8 0
amappl1 72 20650 0 20212 26 16 10 21 0 8 0
amappl 80 1373 0 1326 2 0 2 2 0 84 0
dma4096 4096 1 0 1 1 1 0 1 0 8 0
dma256 256 6 0 6 1 1 0 1 0 8 0
dma128 128 253 0 253 1 1 0 1 0 8 0
dma64 64 6 0 6 1 1 0 1 0 8 0
dma32 32 7 0 7 1 1 0 1 0 8 0
dma16 16 18 0 17 1 0 1 1 0 8 0
aobjpl 64 42 0 2 1 0 1 1 0 8 0
uaddrrnd 24 475 0 459 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 475 0 459 1 0 1 1 0 8 0
vmmpekpl 168 7873 0 7840 2 0 2 2 0 8 0
vmmpepl 168 66026 0 63876 139 25 114 131 0 357 13
vmsppl 368 474 0 458 2 0 2 2 0 8 0
pdppl 4096 957 0 918 7 1 6 6 0 8 0
pvpl 32 201852 0 184998 222 0 222 222 0 265 30
pmappl 232 474 0 458 3 1 2 2 0 8 0
extentpl 40 46 0 29 1 0 1 1 0 8 0
phpool 112 176 0 5 5 0 5 5 0 8 0