kernel: protection fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace in_delmulti(bfffbfffbfffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000a1ac00) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000a15000) at in_ifdetach+0x74 sys/netinet/in.c:969 if_detach(ffff800000a15000) at if_detach+0x140 sys/net/if.c:1151 tun_clone_destroy(ffff800000a15000) at tun_clone_destroy+0x179 sys/net/if_tun.c:312 spec_close(ffff80002199d730) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd806e5de1a8,7,fffffd807f7c67e0,ffff800020ac0ee8) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd80651a2998,ffff800020ac0ee8) at vn_closefile+0xd8 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80651a2998,ffff800020ac0ee8) at vn_closefile+0xd8 sys/kern/vfs_vnops.c:610 fdrop(fffffd80651a2998,ffff800020ac0ee8) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd80651a2998,ffff800020ac0ee8) at closef+0x11d sys/kern/kern_descrip.c:1257 fdfree(ffff800020ac0ee8) at fdfree+0x101 sys/kern/kern_descrip.c:1189 exit1(ffff800020ac0ee8,19,1) at exit1+0x32f sys/kern/kern_exit.c:196 postsig(ffff800020ac0ee8,19) at postsig+0x4e3 sigexit sys/kern/kern_sig.c:1499 [inline] postsig(ffff800020ac0ee8,19) at postsig+0x4e3 sys/kern/kern_sig.c:1431 userret(ffff800020ac0ee8) at userret+0x199 sys/kern/kern_sig.c:1889 Xsyscall() at Xsyscall+0x156 end of kernel end trace frame: 0x7f7ffffc0c60, count: -15 ddb{0}> show registers rdi 0x2 rsi 0 rbp 0xffff80002199d560 rbx 0 rdx 0xffff800020ac0ee8 rcx 0 rax 0 r8 0xffffffff81342423 rt_ifa_purge+0x153 r9 0x5 r10 0x2f r11 0x145366aa4f70d198 r12 0 r13 0x3 r14 0xbfffbfffbfffffff r15 0x1 rip 0xffffffff81eee24d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002199d500 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{0}> show proc PROC (syz-executor.1) pid=183343 stat=onproc flags process=a proc=2000 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac18c8,0xffff800020ac0790 process=0xffff800020aece00 user=0xffff800021998000, vmspace=0xfffffd807f008a10 estcpu=28, cpticks=3, pctcpu=1.43 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 92574 521762 53050 0 2 0 syz-executor.0 92574 436046 53050 0 3 0x4000080 ttyout syz-executor.0 92574 417737 53050 0 3 0x4000080 ttyout syz-executor.0 81789 274377 0 0 3 0x14200 bored sosplice 53050 125399 58659 0 3 0x82 nanosleep syz-executor.0 58659 371203 9225 0 3 0x82 thrsleep syz-fuzzer 58659 280942 9225 0 3 0x4000082 nanosleep syz-fuzzer 58659 21525 9225 0 3 0x4000082 thrsleep syz-fuzzer 58659 123708 9225 0 3 0x4000082 nanosleep syz-fuzzer 58659 4298 9225 0 7 0x4000082 syz-fuzzer 58659 490587 9225 0 3 0x4000082 thrsleep syz-fuzzer 58659 453247 9225 0 3 0x4000082 thrsleep syz-fuzzer 58659 460209 9225 0 3 0x4000082 thrsleep syz-fuzzer 58659 487480 9225 0 3 0x4000082 thrsleep syz-fuzzer 58659 45205 9225 0 3 0x4000082 thrsleep syz-fuzzer 9225 28271 33057 0 3 0x10008a pause ksh 33057 160542 45320 0 3 0x92 select sshd 38797 160522 1 0 3 0x100083 ttyin getty 45320 232804 1 0 3 0x80 select sshd 52975 29665 68952 74 3 0x100092 bpf pflogd 68952 432669 1 0 3 0x80 netio pflogd 32641 192689 96957 73 3 0x100090 kqread syslogd 96957 38659 1 0 3 0x100082 netio syslogd 49397 159834 1 77 2 0x100090 dhclient 34847 266189 1 0 3 0x80 poll dhclient 94527 375006 0 0 2 0x14200 zerothread 3330 8583 0 0 3 0x14200 aiodoned aiodoned 55611 458895 0 0 3 0x14200 syncer update 90143 305495 0 0 3 0x14200 cleaner cleaner 34305 184271 0 0 3 0x14200 reaper reaper 80602 118400 0 0 3 0x14200 pgdaemon pagedaemon 37466 180793 0 0 3 0x14200 bored crynlk 3344 190973 0 0 3 0x14200 bored crypto 59455 104153 0 0 3 0x40014200 acpi0 acpi0 77783 128823 0 0 3 0x40014200 idle1 91315 37236 0 0 2 0x14200 softnet 19680 415986 0 0 2 0x14200 systqmp 75220 351287 0 0 3 0x14200 bored systq 48668 237211 0 0 3 0x40014200 bored softclock 52213 349647 0 0 3 0x40014200 idle0 42702 26870 0 0 3 0x14200 bored smr 1 417573 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 9557 6445K 8159K 78643K 12245 0 pcb 13 8K 8K 78643K 99 0 rtable 95 4K 4K 78643K 324 0 ifaddr 103 19K 20K 78643K 147 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1491 0 iov 0 0K 48K 78643K 91 0 mount 1 1K 1K 78643K 1 0 vnodes 1257 79K 79K 78643K 1702 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 51 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 357 0 sigio 1 0K 0K 78643K 31 0 proc 60 63K 95K 78643K 457 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 36 0 in_multi 89 3K 3K 78643K 118 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 4 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 120 530K 530K 78643K 120 0 exec 0 0K 1K 78643K 224 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 119 38K 38K 78643K 2182 0 UVM aobj 21 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 71 0 NDP 16 0K 0K 78643K 29 0 temp 153 3019K 3095K 78643K 10870 0 kqueue 0 0K 0K 78643K 21 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 6 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 60 0 24 2 0 2 2 0 8 0 unpcb 120 291 0 281 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpcb 544 122 0 118 1 0 1 1 0 8 0 inpcb 280 446 0 439 3 1 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 6 0 4 1 0 1 1 0 8 0 pkpcb 40 12 0 12 1 1 0 1 0 8 0 ppxss 1128 6 0 6 3 2 1 1 0 8 1 pffrag 232 6 0 6 3 2 1 1 0 482 1 pffrnode 88 6 0 6 3 2 1 1 0 8 1 pffrent 40 184 0 184 3 2 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 47 0 31 1 0 1 1 0 8 0 pfstkey 112 47 0 31 2 0 2 2 0 8 0 pfstate 328 47 0 31 4 0 4 4 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 278 0 86 15 2 13 15 0 8 0 art_table 32 280 0 86 2 0 2 2 0 8 0 art_node 16 59 0 21 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 3 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 49 0 39 1 0 1 1 0 8 0 shmpl 112 21 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1943 0 533 46 0 46 46 0 8 0 ffsino 272 1943 0 533 95 0 95 95 0 8 0 nchpl 144 2812 0 1188 61 0 61 61 0 8 0 uvmvnodes 72 2398 0 0 44 0 44 44 0 8 0 vnodes 208 2398 0 0 127 0 127 127 0 8 0 namei 1024 8747 0 8747 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 8077 0 8077 10 9 1 7 0 8 1 plimitpl 152 29 0 21 1 0 1 1 0 8 0 sigapl 432 556 0 541 3 1 2 3 0 8 0 futexpl 56 8998 0 8998 4 3 1 1 0 8 1 knotepl 112 385 0 366 2 1 1 2 0 8 0 kqueuepl 104 526 0 524 2 1 1 2 0 8 0 pipepl 160 338 0 320 3 1 2 2 0 8 1 fdescpl 488 557 0 541 3 0 3 3 0 8 0 filepl 152 5075 0 4983 13 7 6 8 0 8 1 lockfpl 104 220 0 219 1 0 1 1 0 8 0 lockfspl 48 60 0 59 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 553 0 543 1 0 1 1 0 8 0 zombiepl 144 542 0 541 5 4 1 1 0 8 0 processpl 896 573 0 541 4 0 4 4 0 8 0 procpl 632 1382 0 1339 7 2 5 5 0 8 0 sosppl 128 4 0 4 1 1 0 1 0 8 0 sockpl 384 795 0 775 6 2 4 5 0 8 1 mcl64k 65536 260 0 0 33 3 30 33 0 8 1 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 149 0 0 18 0 18 18 0 8 0 mtagpl 80 29 0 0 1 0 1 1 0 8 0 mbufpl 256 423 0 0 25 0 25 25 0 8 0 bufpl 280 7471 0 1342 438 0 438 438 0 8 0 anonpl 16 80187 0 59803 117 18 99 99 0 125 15 amapchunkpl 152 3189 0 3024 10 2 8 10 0 158 0 amappl16 192 3475 0 2367 80 12 68 68 0 8 11 amappl15 184 58 0 54 1 0 1 1 0 8 0 amappl14 176 28 0 26 1 0 1 1 0 8 0 amappl13 168 172 0 170 1 0 1 1 0 8 0 amappl12 160 13 0 7 1 0 1 1 0 8 0 amappl11 152 57 0 42 1 0 1 1 0 8 0 amappl10 144 18 0 11 1 0 1 1 0 8 0 amappl9 136 761 0 756 1 0 1 1 0 8 0 amappl8 128 292 0 265 2 0 2 2 0 8 0 amappl7 120 106 0 94 1 0 1 1 0 8 0 amappl6 112 60 0 53 1 0 1 1 0 8 0 amappl5 104 143 0 129 1 0 1 1 0 8 0 amappl4 96 820 0 786 1 0 1 1 0 8 0 amappl3 88 136 0 128 1 0 1 1 0 8 0 amappl2 80 3728 0 3649 3 1 2 3 0 8 0 amappl1 72 22237 0 21770 26 16 10 21 0 8 0 amappl 80 1643 0 1595 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 2 1 0 1 1 0 8 0 uaddrrnd 24 559 0 541 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 559 0 541 1 0 1 1 0 8 0 vmmpekpl 168 7824 0 7785 3 1 2 3 0 8 0 vmmpepl 168 76489 0 74158 146 32 114 130 0 357 8 vmsppl 368 558 0 541 2 0 2 2 0 8 0 pdppl 4096 1125 0 1084 6 0 6 6 0 8 0 pvpl 32 231396 0 208061 246 24 222 227 0 265 32 pmappl 232 558 0 541 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 209 0 9 6 0 6 6 0 8 0