kernel: protection fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace in_delmulti(fdffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b11300) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac7800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac7800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000ac7800) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001e7a5270) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd80635dc9c0,7,fffffd806c3bfb40,ffff80001d6bf160) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8057792cc0,ffff80001d6bf160) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8057792cc0,ffff80001d6bf160) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd8057792cc0,ffff80001d6bf160) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8057792cc0,ffff80001d6bf160) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80001d6bf160) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff80001d6bf160,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d6bf160,ffff80001e7a5500,ffff80001e7a5550) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80001e7a55d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd6990, count: -16 ddb> show registers rdi 0x2 rsi 0 rbp 0xffff80001e7a5040 rbx 0 rdx 0 rcx 0x1 rax 0xffff80001d6bf160 r8 0xffff800000b11300 r9 0xffffffff81256843 rt_ifa_purge+0x153 r10 0x5 r11 0x3970cb054ce2aaca r12 0 r13 0x3 r14 0xfdffffffffffffff r15 0x1 rip 0xffffffff817ba21d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001e7a4fe0 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> show proc PROC (syz-executor.0) pid=392943 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6be780,0xffff80001d6bec80 process=0xffff80001d705638 user=0xffff80001e7a0000, vmspace=0xfffffd80563faee8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 11603 161577 2149 0 2 0 syz-executor.1 11603 128317 2149 0 3 0x4000080 ttyout syz-executor.1 77727 412244 1 0 3 0x100083 ttyin getty 67299 445154 0 0 3 0x14200 bored sosplice 2149 486116 41871 0 3 0x82 nanosleep syz-executor.1 41871 201514 65293 0 3 0x82 thrsleep syz-fuzzer 41871 455825 65293 0 3 0x4000082 nanosleep syz-fuzzer 41871 124664 65293 0 2 0x4000002 syz-fuzzer 41871 161583 65293 0 3 0x4000082 thrsleep syz-fuzzer 41871 415179 65293 0 3 0x4000082 thrsleep syz-fuzzer 41871 161149 65293 0 3 0x4000082 thrsleep syz-fuzzer 65293 338671 69981 0 3 0x10008a pause ksh 69981 122485 49031 0 3 0x92 select sshd 49031 121401 1 0 3 0x80 select sshd 3268 98769 23351 73 3 0x100090 kqread syslogd 23351 478173 1 0 3 0x100082 netio syslogd 81674 358359 1 77 2 0x100090 dhclient 41417 265844 1 0 2 0x80 dhclient 33950 387343 0 0 3 0x14200 bored smr 80461 268643 0 0 2 0x14200 zerothread 65649 89451 0 0 3 0x14200 aiodoned aiodoned 36938 345001 0 0 3 0x14200 syncer update 99842 361614 0 0 3 0x14200 cleaner cleaner 2777 276449 0 0 3 0x14200 reaper reaper 32227 318999 0 0 3 0x14200 pgdaemon pagedaemon 67977 382382 0 0 3 0x14200 bored crynlk 32013 498666 0 0 3 0x14200 bored crypto 67780 349586 0 0 3 0x40014200 acpi0 acpi0 81518 67704 0 0 3 0x14200 bored softnet 21360 502449 0 0 2 0x14200 systqmp 12447 131699 0 0 3 0x14200 bored systq 89553 215115 0 0 3 0x40014200 bored softclock 3890 69317 0 0 3 0x40014200 idle0 1 4054 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9480 6351K 6733K 78643K 11051 0 pcb 13 8K 8K 78643K 47 0 rtable 103 4K 6K 78643K 294 0 ifaddr 65 14K 15K 78643K 162 0 counters 21 16K 17K 78643K 36 0 ioctlops 0 0K 4K 78643K 93 0 iov 0 0K 16K 78643K 30 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1378 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 10 1K 1K 78643K 12 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 412 0 sigio 1 0K 0K 78643K 6 0 proc 50 38K 63K 78643K 410 0 subproc 23 1K 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 12 0 in_multi 48 2K 2K 78643K 91 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 3 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 216 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 124 54K 54K 78643K 1798 0 UVM aobj 23 2K 2K 78643K 23 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 41 0 NDP 9 0K 0K 78643K 32 0 temp 106 3860K 3939K 78643K 5672 0 kqueue 3 4K 14K 78643K 22 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 7 0 3 1 0 1 1 0 8 0 rtpcb 88 47 0 45 1 0 1 1 0 8 0 rtentry 112 66 0 27 2 0 2 2 0 8 0 unpcb 120 227 0 219 1 0 1 1 0 8 0 syncache 272 8 0 8 2 2 0 1 0 8 0 tcpqe 32 306 0 306 1 1 0 1 0 8 0 tcpcb 592 96 0 88 3 2 1 2 0 8 0 inpcb 296 970 0 960 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 17 0 11 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 0 1 1 0 8 1 swfcl 56 2 0 0 1 0 1 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 17 0 15 1 0 1 1 0 8 0 pftag 88 6 0 6 1 1 0 1 0 8 0 pfstkey 112 2 0 2 1 1 0 1 0 8 0 pfstate 328 1 0 1 1 1 0 1 0 8 0 pfrule 1360 12 0 8 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 262 0 62 13 0 13 13 0 8 0 art_table 32 263 0 62 2 0 2 2 0 8 0 art_node 16 65 0 22 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 2 1 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 20 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1925 0 531 88 0 88 88 0 8 0 ffsino 240 1925 0 531 83 0 83 83 0 8 0 nchpl 144 2676 0 1095 60 0 60 60 0 8 0 uvmvnodes 72 2072 0 0 38 0 38 38 0 8 0 vnodes 208 2072 0 0 110 0 110 110 0 8 0 namei 1024 7279 0 7279 2 1 1 1 0 8 1 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 528 5 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 6 0 4 1 0 1 1 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 200 8160 0 8160 1 0 1 1 0 8 1 plimitpl 152 63 0 56 1 0 1 1 0 8 0 sigapl 424 600 0 571 4 0 4 4 0 8 0 futexpl 56 8413 0 8413 1 0 1 1 0 8 1 knotepl 112 93 0 79 1 0 1 1 0 8 0 kqueuepl 152 51 0 49 1 0 1 1 0 8 0 pipepl 272 116 0 107 1 0 1 1 0 8 0 fdescpl 432 585 0 571 2 0 2 2 0 8 0 filepl 120 3760 0 3671 4 0 4 4 0 8 0 lockfpl 104 71 0 70 1 0 1 1 0 8 0 lockfspl 48 27 0 26 1 0 1 1 0 8 0 sessionpl 120 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 425 0 418 1 0 1 1 0 8 0 zombiepl 144 572 0 571 2 1 1 1 0 8 0 processpl 944 600 0 571 4 0 4 4 0 8 0 procpl 632 1075 0 1040 4 0 4 4 0 8 0 sosppl 144 10 0 10 2 2 0 1 0 8 0 sockpl 400 1250 0 1230 5 1 4 4 0 8 2 mcl64k 65536 25 0 25 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 2 1 1 1 0 8 1 mcl12k 12288 10 0 10 2 1 1 1 0 8 1 mcl9k 9216 11 0 11 2 2 0 1 0 8 0 mcl8k 8192 16 0 16 2 1 1 1 0 8 1 mcl4k 4096 49 0 49 2 1 1 1 0 8 1 mcl2k2 2112 2 0 2 1 1 0 1 0 8 0 mcl2k 2048 94209 0 94169 27 21 6 22 0 8 0 mtagpl 96 34 0 14 2 1 1 1 0 8 0 mbufpl 256 151581 0 151448 33 5 28 28 0 8 13 bufpl 280 4132 0 124 287 0 287 287 0 8 0 anonpl 16 66343 0 48724 74 1 73 73 0 107 1 amapchunkpl 152 2688 0 2516 15 6 9 14 0 158 0 amappl16 192 2375 0 1435 49 0 49 49 0 8 1 amappl15 184 189 0 187 1 0 1 1 0 8 0 amappl14 176 2 0 1 1 0 1 1 0 8 0 amappl13 168 217 0 212 1 0 1 1 0 8 0 amappl12 160 215 0 211 1 0 1 1 0 8 0 amappl11 152 47 0 36 1 0 1 1 0 8 0 amappl10 144 200 0 196 1 0 1 1 0 8 0 amappl9 136 358 0 357 1 0 1 1 0 8 0 amappl8 128 287 0 263 1 0 1 1 0 8 0 amappl7 120 288 0 276 1 0 1 1 0 8 0 amappl6 112 26 0 21 1 0 1 1 0 8 0 amappl5 104 322 0 309 1 0 1 1 0 8 0 amappl4 96 631 0 600 1 0 1 1 0 8 0 amappl3 88 330 0 320 1 0 1 1 0 8 0 amappl2 80 3834 0 3762 2 0 2 2 0 8 0 amappl1 72 22178 0 21744 24 15 9 17 0 8 0 amappl 80 1331 0 1277 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 22 0 0 1 0 1 1 0 8 0 uaddrrnd 24 590 0 571 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 590 0 571 1 0 1 1 0 8 0 vmmpekpl 168 7351 0 7327 2 0 2 2 0 8 0 vmmpepl 168 77093 0 75013 118 22 96 108 0 357 5 vmsppl 272 589 0 571 2 0 2 2 0 8 0 pdppl 4096 1186 0 1147 7 1 6 6 0 8 0 pvpl 32 215428 0 194803 176 0 176 176 0 265 7 pmappl 200 589 0 571 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 278 0 37 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace in_delmulti(fdffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b11300) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac7800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac7800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000ac7800) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001e7a5270) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd80635dc9c0,7,fffffd806c3bfb40,ffff80001d6bf160) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8057792cc0,ffff80001d6bf160) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8057792cc0,ffff80001d6bf160) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd8057792cc0,ffff80001d6bf160) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8057792cc0,ffff80001d6bf160) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80001d6bf160) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff80001d6bf160,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d6bf160,ffff80001e7a5500,ffff80001e7a5550) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80001e7a55d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd6990, count: -16 ddb> machine ddbcpu 1 No such command ddb> trace in_delmulti(fdffffffffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b11300) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000ac7800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000ac7800) at if_detach+0x140 sys/net/if.c:1032 tun_clone_destroy(ffff800000ac7800) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:326 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:477 spec_close(ffff80001e7a5270) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd80635dc9c0,7,fffffd806c3bfb40,ffff80001d6bf160) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd8057792cc0,ffff80001d6bf160) at vn_closefile+0xd2 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd8057792cc0,ffff80001d6bf160) at vn_closefile+0xd2 sys/kern/vfs_vnops.c:614 fdrop(fffffd8057792cc0,ffff80001d6bf160) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd8057792cc0,ffff80001d6bf160) at closef+0x117 sys/kern/kern_descrip.c:1263 fdfree(ffff80001d6bf160) at fdfree+0x100 sys/kern/kern_descrip.c:1195 exit1(ffff80001d6bf160,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff80001d6bf160,ffff80001e7a5500,ffff80001e7a5550) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff80001e7a55d0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd6990, count: -16