panic: bad group arg size 29, should be <= 32 for &prog.GroupArg{ArgCommon:prog.ArgCommon{ref:0x328, dir:0x0}, Inner:[]prog.Arg{(*prog.DataArg)(0xc002947ce0), (*prog.ConstArg)(0xc00296a580), (*prog.ConstArg)(0xc00296a590), (*prog.ConstArg)(0xc00296a5a0)}} type &prog.StructType{TypeCommon:prog.TypeCommon{TypeName:"ifreq_name", TypeSize:0x20, IsOptional:false, IsVarlen:false, self:0x328}, Fields:[]prog.Field{prog.Field{Name:"ifr_name", Type:(*prog.BufferType)(0xcca340)}, prog.Field{Name:"tapindex", Type:(*prog.ProcType)(0xcbee60)}, prog.Field{Name:"z", Type:(*prog.ConstType)(0xcba5a0)}, prog.Field{Name:"", Type:(*prog.ConstType)(0xcbebc0)}}, AlignAttr:0x0}
goroutine 29 [running]:
github.com/google/syzkaller/prog.foreachArgImpl(0x9b1e40, 0xc0029412e0, 0xc002969780, 0xc001f31908)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:149 +0x765
github.com/google/syzkaller/prog.foreachArgImpl(0x9b1e80, 0xc002947cb0, 0xc002969780, 0xc001f31908)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:156 +0x5e5
github.com/google/syzkaller/prog.ForeachArg(0xc0029695c0, 0xc001f31908)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:122 +0xdd
github.com/google/syzkaller/prog.getCompatibleResources(0xc002969500, 0x8fa47d, 0x7, 0xc001f67ac0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:901 +0xb9
github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc001f67ac0, 0xc0001a95e0, 0xcab560, 0x0, 0xc001f31b08, 0x42dfd1, 0x9258a8, 0xc001f31b18, 0x40)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:849 +0xfe
github.com/google/syzkaller/prog.(*ResourceType).generate(0xcab560, 0xc001f67ac0, 0xc0001a95e0, 0x0, 0x886e00, 0x0, 0xc00044e480, 0x10, 0x10)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:678 +0x27c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001f67ac0, 0xc0001a95e0, 0x9b8160, 0xcab560, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:667 +0x450
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:617
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc001f67ac0, 0xc0001a95e0, 0xcaa020, 0x1, 0x1, 0x49ff00, 0xc0023f5800, 0x16f, 0x16f, 0x1024, ...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:605 +0x116
github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc001f67ac0, 0xc0001a95e0, 0xd2f260, 0x137, 0xc0001a95e0, 0xc003236cb0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:560 +0xd5
github.com/google/syzkaller/prog.(*randGen).generateCall(0xc001f67ac0, 0xc0001a95e0, 0xc000437b80, 0xc, 0xc000437b80, 0xc000437f40, 0xc0001a95e0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:549 +0x95
github.com/google/syzkaller/prog.(*mutator).insertCall(0xc001f31ec0, 0x14)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:141 +0xf2
github.com/google/syzkaller/prog.(*Prog).Mutate(0xc000437b80, 0x9ab4c0, 0xc001ffcc60, 0x14, 0xc001db6e00, 0xc0022c6000, 0x260f, 0x3000)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:45 +0x2ea
main.(*Proc).loop(0xc001db6e80)
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:95 +0x434
created by main.main
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:258 +0x1155
kernel: protection 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
the kernel did not panic
ddb{0}> trace
in_delmulti(fffdffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914
in_purgeaddr(ffff800000a0c900) at in_purgeaddr+0x156 sys/netinet/in.c:760
in_ifdetach(ffff800000a29000) at in_ifdetach+0x74 sys/netinet/in.c:971
if_detach(ffff800000a29000) at if_detach+0x140 sys/net/if.c:1148
tun_clone_destroy(ffff800000a29000) at tun_clone_destroy+0x1f2 sys/net/if_tun.c:329
tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:480
spec_close(ffff8000231933b0) at spec_close+0x311 sys/kern/spec_vnops.c:555
VOP_CLOSE(fffffd806e3b51a8,7,fffffd807f7bf8a0,ffff800020e93d58) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174
vn_closefile(fffffd80677f8b68,ffff800020e93d58) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffd80677f8b68,ffff800020e93d58) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614
fdrop(fffffd80677f8b68,ffff800020e93d58) at fdrop+0xc2 sys/kern/kern_descrip.c:1276
closef(fffffd80677f8b68,ffff800020e93d58) at closef+0x11c sys/kern/kern_descrip.c:1260
fdfree(ffff800020e93d58) at fdfree+0x101 sys/kern/kern_descrip.c:1192
exit1(ffff800020e93d58,0,d,1) at exit1+0x32c sys/kern/kern_exit.c:197
postsig(ffff800020e93d58,d) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline]
postsig(ffff800020e93d58,d) at postsig+0x4ed sys/kern/kern_sig.c:1415
userret(ffff800020e93d58) at userret+0x199 sys/kern/kern_sig.c:1867
syscall(ffff800023193830) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline]
syscall(ffff800023193830) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffcf210, count: -17
ddb{0}> show registers
rdi 0x2
rsi 0
rbp 0xffff800023193180
rbx 0
rdx 0xffff800020e93d58
rcx 0
rax 0
r8 0xffffffff812a8143 rt_ifa_purge+0x153
r9 0x5
r10 0x3
r11 0x672bd79c73d5b440
r12 0
r13 0x3
r14 0xfffdffffffffffff
r15 0x1
rip 0xffffffff814117ed in_delmulti+0x8d
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800023193120
ss 0x10
in_delmulti+0x8d: movl 0xc(%r14),%r15d
ddb{0}> show proc
PROC (syz-executor.1) pid=47537 stat=onproc
flags process=a<EXEC,EXITING,8ORPHAN> proc=2000<WEXIT>
pri=32, usrpri=82, nice=20
forw=0xffffffffffffffff, list=0xffff800020e6c008,0xffff800020e92298
process=0xffff800020e81af8 user=0xffff80002318e000, vmspace=0xfffffd807efffa10
estcpu=32, cpticks=1, pctcpu=0.14
user=0, sys=1, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
55915 403844 0 0 3 0x14200 bored sosplice
92574 513421 67975 0 7 0x100002 ksh
67975 521071 58987 0 3 0x92 select sshd
32112 90618 1 0 2 0x100003 getty
58987 78842 1 0 3 0x80 select sshd
97626 488801 70261 74 3 0x100092 bpf pflogd
70261 217347 1 0 3 0x80 netio pflogd
52787 494557 27932 73 3 0x100090 kqread syslogd
27932 355412 1 0 3 0x100082 netio syslogd
30619 243616 1 77 3 0x100090 poll dhclient
93506 313474 1 0 3 0x80 poll dhclient
64378 366984 0 0 3 0x14200 bored smr
37569 428108 0 0 2 0x14200 zerothread
67515 265945 0 0 3 0x14200 aiodoned aiodoned
82774 5536 0 0 3 0x14200 syncer update
78162 258817 0 0 3 0x14200 cleaner cleaner
15339 479436 0 0 3 0x14200 reaper reaper
90557 155366 0 0 3 0x14200 pgdaemon pagedaemon
55025 320349 0 0 3 0x14200 bored crynlk
63556 299341 0 0 3 0x14200 bored crypto
34659 183097 0 0 3 0x40014200 acpi0 acpi0
25226 337958 0 0 3 0x40014200 idle1
14904 426115 0 0 3 0x14200 bored softnet
25646 87302 0 0 3 0x14200 bored systqmp
96838 172826 0 0 3 0x14200 bored systq
91484 182365 0 0 3 0x40014200 bored softclock
29715 230144 0 0 3 0x40014200 idle0
1 346628 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9513 6423K 7176K 78643K 12360 0
pcb 13 8K 8K 78643K 97 0
rtable 106 3K 4K 78643K 300 0
ifaddr 71 14K 15K 78643K 117 0
sysctl 2 0K 0K 78643K 2 0
counters 43 33K 34K 78643K 59 0
ioctlops 0 0K 4K 78643K 1495 0
iov 0 0K 16K 78643K 359 0
mount 1 1K 1K 78643K 1 0
vnodes 1228 77K 77K 78643K 1654 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 6 0
VM map 2 1K 1K 78643K 2 0
sem 12 0K 1K 78643K 75 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1824 197K 290K 78643K 13058 0
file desc 3 8K 25K 78643K 416 0
sigio 0 0K 0K 78643K 9 0
proc 60 63K 95K 78643K 466 0
subproc 14 0K 2K 78643K 39 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 37 0
in_multi 54 2K 3K 78643K 108 0
ether_multi 1 0K 0K 78643K 17 0
mrt 0 0K 0K 78643K 10 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 61 281K 281K 78643K 61 0
exec 0 0K 1K 78643K 250 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 70 35K 42K 78643K 2114 0
UVM aobj 12 2K 2K 78643K 14 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 89 0
NDP 11 0K 0K 78643K 24 0
temp 98 3035K 3103K 78643K 7085 0
kqueue 2 2K 12K 78643K 16 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 1 1 0 1 1 0 8 0
plcache 128 20 0 0 1 0 1 1 0 8 0
rtpcb 80 39 0 37 1 0 1 1 0 8 0
rtentry 112 60 0 17 2 0 2 2 0 8 0
unpcb 120 215 0 205 1 0 1 1 0 8 0
syncache 264 10 0 10 3 3 0 1 0 8 0
tcpqe 32 198 0 198 2 2 0 1 0 8 0
tcpcb 544 160 0 157 1 0 1 1 0 8 0
inpcb 280 444 0 436 3 1 2 2 0 8 1
rttmr 72 5 0 5 2 2 0 1 0 8 0
nd6 48 9 0 4 1 0 1 1 0 8 0
pkpcb 40 2 0 2 1 1 0 1 0 8 0
ppxss 1128 1 0 1 1 1 0 1 0 8 0
pffrag 232 4 0 3 3 2 1 1 0 482 0
pffrnode 88 4 0 3 3 2 1 1 0 8 0
pffrent 40 137 0 136 3 2 1 1 0 8 0
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 57 0 24 1 0 1 1 0 8 0
pfstkey 112 57 0 24 1 0 1 1 0 8 0
pfstate 328 57 0 24 3 0 3 3 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 251 0 57 14 1 13 13 0 8 0
art_table 32 252 0 57 2 0 2 2 0 8 0
art_node 16 59 0 19 1 0 1 1 0 8 0
sysvmsgpl 40 5 0 3 2 1 1 1 0 8 0
semupl 112 9 0 9 2 2 0 1 0 8 0
semapl 112 65 0 55 1 0 1 1 0 8 0
shmpl 112 12 0 3 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1946 0 543 89 1 88 89 0 8 0
ffsino 272 1946 0 543 95 1 94 94 0 8 0
nchpl 144 2717 0 1110 60 0 60 60 0 8 0
uvmvnodes 72 2368 0 0 44 0 44 44 0 8 0
vnodes 208 2368 0 0 125 0 125 125 0 8 0
namei 1024 7881 0 7881 3 2 1 1 0 8 1
percpumem 16 40 0 8 1 0 1 1 0 8 0
vcpupl 1984 1 0 0 1 0 1 1 0 8 0
vmpool 560 4 0 3 1 0 1 1 0 8 0
scxspl 192 7995 0 7995 9 8 1 7 0 8 1
plimitpl 152 41 0 33 1 0 1 1 0 8 0
sigapl 424 632 0 602 4 0 4 4 0 8 0
futexpl 56 7402 0 7402 2 1 1 1 0 8 1
knotepl 112 73 0 68 1 0 1 1 0 8 0
kqueuepl 144 46 0 43 1 0 1 1 0 8 0
pipelkpl 48 132 0 124 1 0 1 1 0 8 0
pipepl 120 264 0 253 1 0 1 1 0 8 0
fdescpl 496 616 0 602 3 0 3 3 0 8 0
filepl 152 3743 0 3675 7 2 5 5 0 8 1
lockfpl 104 125 0 124 1 0 1 1 0 8 0
lockfspl 48 41 0 40 1 0 1 1 0 8 0
sessionpl 112 18 0 7 1 0 1 1 0 8 0
pgrppl 48 21 0 10 1 0 1 1 0 8 0
ucredpl 96 346 0 337 1 0 1 1 0 8 0
zombiepl 144 604 0 601 3 2 1 1 0 8 0
processpl 984 632 0 601 7 2 5 5 0 8 1
procpl 624 1332 0 1301 4 0 4 4 0 8 0
sosppl 128 4 0 4 2 2 0 1 0 8 0
sockpl 400 701 0 683 8 4 4 4 0 8 2
mcl64k 65536 517 0 0 65 0 65 65 0 8 0
mcl16k 16384 1 0 0 1 0 1 1 0 8 0
mcl12k 12288 3 0 0 1 0 1 1 0 8 0
mcl9k 9216 1 0 0 1 0 1 1 0 8 0
mcl8k 8192 3 0 0 1 0 1 1 0 8 0
mcl4k 4096 8 0 0 1 0 1 1 0 8 0
mcl2k 2048 219 0 0 27 0 27 27 0 8 0
mtagpl 80 33 0 0 1 0 1 1 0 8 0
mbufpl 256 753 0 0 44 0 44 44 0 8 0
bufpl 280 4347 0 134 301 0 301 301 0 8 0
anonpl 16 68426 0 67118 81 5 76 76 0 124 63
amapchunkpl 152 2924 0 2885 9 3 6 7 0 158 3
amappl16 192 2858 0 2842 54 13 41 52 0 8 36
amappl15 184 1 0 1 1 1 0 1 0 8 0
amappl14 176 52 0 48 1 0 1 1 0 8 0
amappl13 168 28 0 25 1 0 1 1 0 8 0
amappl12 160 42 0 41 1 0 1 1 0 8 0
amappl11 152 54 0 39 1 0 1 1 0 8 0
amappl10 144 379 0 376 1 0 1 1 0 8 0
amappl9 136 370 0 368 1 0 1 1 0 8 0
amappl8 128 348 0 347 2 0 2 2 0 8 1
amappl7 120 121 0 112 1 0 1 1 0 8 0
amappl6 112 33 0 32 2 1 1 1 0 8 0
amappl5 104 518 0 502 1 0 1 1 0 8 0
amappl4 96 521 0 494 1 0 1 1 0 8 0
amappl3 88 147 0 139 1 0 1 1 0 8 0
amappl2 80 3958 0 3901 2 0 2 2 0 8 0
amappl1 72 22858 0 22435 23 13 10 18 0 8 0
amappl 80 1580 0 1555 1 0 1 1 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 13 0 2 1 0 1 1 0 8 0
uaddrrnd 24 620 0 605 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 620 0 605 1 0 1 1 0 8 0
vmmpekpl 168 8191 0 8159 2 0 2 2 0 8 0
vmmpepl 168 79244 0 78295 128 32 96 106 0 357 43
vmsppl 368 619 0 605 2 0 2 2 0 8 0
pdppl 4096 1248 0 1211 6 0 6 6 0 8 0
pvpl 32 221655 0 218501 197 15 182 182 0 265 145
pmappl 232 619 0 605 4 3 1 2 0 8 0
extentpl 40 53 0 36 1 0 1 1 0 8 0
phpool 112 369 0 12 11 0 11 11 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
in_delmulti(fffdffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914
in_purgeaddr(ffff800000a0c900) at in_purgeaddr+0x156 sys/netinet/in.c:760
in_ifdetach(ffff800000a29000) at in_ifdetach+0x74 sys/netinet/in.c:971
if_detach(ffff800000a29000) at if_detach+0x140 sys/net/if.c:1148
tun_clone_destroy(ffff800000a29000) at tun_clone_destroy+0x1f2 sys/net/if_tun.c:329
tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:480
spec_close(ffff8000231933b0) at spec_close+0x311 sys/kern/spec_vnops.c:555
VOP_CLOSE(fffffd806e3b51a8,7,fffffd807f7bf8a0,ffff800020e93d58) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174
vn_closefile(fffffd80677f8b68,ffff800020e93d58) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffffd80677f8b68,ffff800020e93d58) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614
fdrop(fffffd80677f8b68,ffff800020e93d58) at fdrop+0xc2 sys/kern/kern_descrip.c:1276
closef(fffffd80677f8b68,ffff800020e93d58) at closef+0x11c sys/kern/kern_descrip.c:1260
fdfree(ffff800020e93d58) at fdfree+0x101 sys/kern/kern_descrip.c:1192
exit1(ffff800020e93d58,0,d,1) at exit1+0x32c sys/kern/kern_exit.c:197
postsig(ffff800020e93d58,d) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline]
postsig(ffff800020e93d58,d) at postsig+0x4ed sys/kern/kern_sig.c:1415
userret(ffff800020e93d58) at userret+0x199 sys/kern/kern_sig.c:1867
syscall(ffff800023193830) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline]
syscall(ffff800023193830) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffcf210, count: -17
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
ddb{1}> trace
x86_ipi_db(ffff800020e00ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352
x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
__sanitizer_cov_trace_cmp4(9b906,9b907) at __sanitizer_cov_trace_cmp4+0x5d kd_curproc sys/dev/kcov.c:416 [inline]
__sanitizer_cov_trace_cmp4(9b906,9b907) at __sanitizer_cov_trace_cmp4+0x5d trace_cmp sys/dev/kcov.c:104 [inline]
__sanitizer_cov_trace_cmp4(9b906,9b907) at __sanitizer_cov_trace_cmp4+0x5d sys/dev/kcov.c:135
__mp_lock(ffffffff82686218) at __mp_lock+0x139 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82686218) at __mp_lock+0x139 sys/kern/kern_lock.c:147
pageflttrap(ffff800020f0dc70,1) at pageflttrap+0x7f sys/arch/amd64/amd64/trap.c:180
usertrap(ffff800020f0dc70) at usertrap+0x21a sys/arch/amd64/amd64/trap.c:384
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x7f7ffffcb760, count: -8