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(fff7f7fffffeffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000a22f00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff8000009e3800) at in_ifdetach+0x74 sys/netinet/in.c:969 if_detach(ffff8000009e3800) at if_detach+0x140 sys/net/if.c:1151 tun_clone_destroy(ffff8000009e3800) at tun_clone_destroy+0x172 sys/net/if_tun.c:312 spec_close(ffff800014962530) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd8036146dd0,7,fffffd803f7c6900,ffff8000ffff8008) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd80345a05b0,ffff8000ffff8008) at vn_closefile+0xd3 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80345a05b0,ffff8000ffff8008) at vn_closefile+0xd3 sys/kern/vfs_vnops.c:610 fdrop(fffffd80345a05b0,ffff8000ffff8008) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd80345a05b0,ffff8000ffff8008) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff8000ffff8008) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff8000ffff8008,19,1) at exit1+0x32f sys/kern/kern_exit.c:196 postsig(ffff8000ffff8008,19) at postsig+0x4a6 sigexit sys/kern/kern_sig.c:1499 [inline] postsig(ffff8000ffff8008,19) at postsig+0x4a6 sys/kern/kern_sig.c:1431 userret(ffff8000ffff8008) at userret+0x159 sys/kern/kern_sig.c:1889 syscall(ffff8000149629b0) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:115 [inline] syscall(ffff8000149629b0) at syscall+0x42e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbfce0, count: -16 ddb> show registers rdi 0x2 rsi 0 rbp 0xffff800014962360 rbx 0 rdx 0x3 rcx 0x1 rax 0 r8 0xffff800000a22f00 r9 0x5 r10 0xbc3fedf74e9f8f71 r11 0x39b028f0c8e5b222 r12 0 r13 0x3 r14 0xfff7f7fffffeffff r15 0x1 rip 0xffffffff8152520d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800014962300 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> show proc PROC (syz-executor.0) pid=498211 stat=onproc flags process=a proc=2000 pri=17, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8770,0xffff8000ffff2c80 process=0xffff8000148b2d98 user=0xffff80001495d000, vmspace=0xfffffd803f012330 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 30163 350860 0 0 3 0x14200 bored sosplice 59254 229703 51556 0 2 0x482 syz-executor.1 51556 312009 59908 0 3 0x82 thrsleep syz-fuzzer 51556 442779 59908 0 2 0x4000482 syz-fuzzer 51556 198103 59908 0 2 0x4000082 syz-fuzzer 51556 245254 59908 0 3 0x4000082 thrsleep syz-fuzzer 51556 430480 59908 0 3 0x4000082 thrsleep syz-fuzzer 51556 370090 59908 0 3 0x4000082 thrsleep syz-fuzzer 51556 23361 59908 0 3 0x4000082 thrsleep syz-fuzzer 59908 74569 14799 0 3 0x10008a pause ksh 14799 98197 63239 0 2 0x92 sshd 12305 253184 1 0 3 0x100083 ttyin getty 63239 77379 1 0 2 0x80 sshd 92489 59373 12180 73 3 0x100090 kqread syslogd 12180 53646 1 0 3 0x100082 netio syslogd 57015 43208 1 77 2 0x100090 dhclient 70009 213087 1 0 2 0x80 dhclient 15573 289676 0 0 2 0x14200 zerothread 79641 400895 0 0 3 0x14200 aiodoned aiodoned 77798 237913 0 0 3 0x14200 syncer update 72720 31987 0 0 3 0x14200 cleaner cleaner 6051 315204 0 0 3 0x14200 reaper reaper 16141 244075 0 0 3 0x14200 pgdaemon pagedaemon 98035 371687 0 0 3 0x14200 bored crynlk 68663 230874 0 0 3 0x14200 bored crypto 7652 437638 0 0 3 0x40014200 acpi0 acpi0 21205 450770 0 0 2 0x14200 softnet 98931 372097 0 0 2 0x14200 systqmp 85354 330078 0 0 3 0x14200 bored systq 4876 481168 0 0 3 0x40014200 bored softclock 54184 475448 0 0 3 0x40014200 idle0 96667 25027 0 0 3 0x14200 bored smr 1 38834 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 9501 6345K 6976K 78643K 11569 0 pcb 13 8K 8K 78643K 101 0 rtable 101 3K 4K 78643K 302 0 ifaddr 74 14K 16K 78643K 134 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 57 0 iov 0 0K 32K 78643K 90 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1536 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 14 0 VM map 2 0K 0K 78643K 2 0 sem 11 1K 1K 78643K 14 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 4 9K 25K 78643K 382 0 sigio 0 0K 0K 78643K 16 0 proc 48 38K 54K 78643K 396 0 subproc 23 1K 2K 78643K 38 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 66 3K 3K 78643K 87 0 ether_multi 1 0K 0K 78643K 5 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 60 265K 265K 78643K 60 0 exec 0 0K 1K 78643K 212 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 130 119K 121K 78643K 1820 0 UVM aobj 59 3K 3K 78643K 62 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 84 0 NDP 12 0K 0K 78643K 26 0 temp 134 3018K 3647K 78643K 6646 0 kqueue 0 0K 0K 78643K 3 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 80 35 0 33 1 0 1 1 0 8 0 rtentry 112 52 0 13 2 0 2 2 0 8 0 unpcb 120 343 0 335 1 0 1 1 0 8 0 syncache 264 8 0 8 3 3 0 1 0 8 0 tcpqe 32 193 0 193 3 3 0 1 0 8 0 tcpcb 544 276 0 271 2 0 2 2 0 8 1 inpcb 280 1260 0 1252 5 3 2 4 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 5 0 2 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 ppxss 1128 6 0 6 2 1 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 248 0 45 14 0 14 14 0 8 0 art_table 32 250 0 45 2 0 2 2 0 8 0 art_node 16 51 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 4 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 10 0 1 1 0 1 1 0 8 0 shmpl 112 60 0 3 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1984 0 585 46 0 46 46 0 8 0 ffsino 240 1984 0 585 83 0 83 83 0 8 0 nchpl 144 2774 0 1158 61 0 61 61 0 8 0 uvmvnodes 72 2254 0 0 41 0 41 41 0 8 0 vnodes 208 2254 0 0 119 0 119 119 0 8 0 namei 1024 7879 0 7879 1 0 1 1 0 8 1 vcpupl 1984 13 0 0 2 0 2 2 0 8 0 vmpool 528 15 0 2 1 0 1 1 0 8 0 scxspl 192 8559 0 8559 10 7 3 7 0 8 3 plimitpl 152 40 0 33 1 0 1 1 0 8 0 sigapl 432 553 0 541 2 0 2 2 0 8 0 futexpl 56 12604 0 12604 1 0 1 1 0 8 1 knotepl 112 89 0 70 1 0 1 1 0 8 0 kqueuepl 104 111 0 109 1 0 1 1 0 8 0 pipepl 128 352 0 334 3 1 2 2 0 8 1 fdescpl 424 554 0 541 2 0 2 2 0 8 0 filepl 120 4830 0 4745 6 1 5 5 0 8 2 lockfpl 104 116 0 115 1 0 1 1 0 8 0 lockfspl 48 43 0 42 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 31 0 21 1 0 1 1 0 8 0 ucredpl 96 690 0 683 1 0 1 1 0 8 0 zombiepl 144 544 0 542 1 0 1 1 0 8 0 processpl 864 571 0 542 4 0 4 4 0 8 0 procpl 632 1058 0 1023 5 1 4 5 0 8 0 sosppl 128 10 0 10 1 0 1 1 0 8 1 sockpl 384 1659 0 1641 6 1 5 6 0 8 2 mcl64k 65536 33 0 33 1 0 1 1 0 8 1 mcl16k 16384 7 0 7 1 1 0 1 0 8 0 mcl12k 12288 12 0 12 1 0 1 1 0 8 1 mcl9k 9216 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 21 0 21 1 0 1 1 0 8 1 mcl4k 4096 52 0 52 2 1 1 1 0 8 1 mcl2k2 2112 5 0 5 1 0 1 1 0 8 1 mcl2k 2048 69416 0 69367 23 16 7 17 0 8 0 mtagpl 80 32 0 22 2 1 1 1 0 8 0 mbufpl 256 112742 0 112627 19 3 16 16 0 8 3 bufpl 280 7590 0 2621 356 0 356 356 0 8 0 anonpl 16 80350 0 58680 105 1 104 104 0 62 16 amapchunkpl 152 2657 0 2480 13 2 11 12 0 158 2 amappl16 192 3735 0 2555 76 5 71 71 0 8 11 amappl15 184 50 0 46 1 0 1 1 0 8 0 amappl14 176 28 0 26 1 0 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 14 0 12 2 1 1 1 0 8 0 amappl11 152 49 0 37 1 0 1 1 0 8 0 amappl10 144 183 0 179 1 0 1 1 0 8 0 amappl9 136 563 0 560 1 0 1 1 0 8 0 amappl8 128 127 0 100 2 0 2 2 0 8 0 amappl7 120 259 0 248 1 0 1 1 0 8 0 amappl6 112 61 0 55 1 0 1 1 0 8 0 amappl5 104 137 0 127 1 0 1 1 0 8 0 amappl4 96 772 0 744 1 0 1 1 0 8 0 amappl3 88 133 0 122 1 0 1 1 0 8 0 amappl2 80 3658 0 3592 3 1 2 3 0 8 0 amappl1 72 19546 0 19147 26 17 9 20 0 8 0 amappl 80 1320 0 1271 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 61 0 3 1 0 1 1 0 8 0 uaddrrnd 24 569 0 543 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 569 0 543 1 0 1 1 0 8 0 vmmpekpl 168 7311 0 7286 2 0 2 2 0 8 0 vmmpepl 168 73729 0 71481 179 25 154 174 0 357 47 vmsppl 272 568 0 543 2 0 2 2 0 8 0 pdppl 4096 1144 0 1099 7 0 7 7 0 8 0 pvpl 32 222611 0 199293 227 0 227 227 0 265 37 pmappl 200 568 0 543 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 163 0 23 5 0 5 5 0 8 0