login: 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(bffffffef7ffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000a46700) 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(ffff8000149304f0) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd80361b7ea0,7,fffffd803f7c6960,ffff8000ffff8c60) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd802d89a538,ffff8000ffff8c60) at vn_closefile+0xd3 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd802d89a538,ffff8000ffff8c60) at vn_closefile+0xd3 sys/kern/vfs_vnops.c:610 fdrop(fffffd802d89a538,ffff8000ffff8c60) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd802d89a538,ffff8000ffff8c60) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff8000ffff8c60) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff8000ffff8c60,19,1) at exit1+0x32f sys/kern/kern_exit.c:196 postsig(ffff8000ffff8c60,19) at postsig+0x4a6 sigexit sys/kern/kern_sig.c:1499 [inline] postsig(ffff8000ffff8c60,19) at postsig+0x4a6 sys/kern/kern_sig.c:1431 userret(ffff8000ffff8c60) at userret+0x159 sys/kern/kern_sig.c:1889 syscall(ffff800014930970) at syscall+0x42e mi_syscall_return sys/sys/syscall_mi.h:115 [inline] syscall(ffff800014930970) at syscall+0x42e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec5d0, count: -16 ddb> show registers rdi 0x2 rsi 0 rbp 0xffff800014930320 rbx 0 rdx 0x3 rcx 0x1 rax 0 r8 0xffff800000a46700 r9 0x5 r10 0xdb5e3fb29d972dcf r11 0x939659210d733d40 r12 0 r13 0x3 r14 0xbffffffef7ffffff r15 0x1 rip 0xffffffff8152520d in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000149302c0 ss 0 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb> show proc PROC (syz-executor.1) pid=154939 stat=onproc flags process=a proc=2000 pri=17, usrpri=64, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff9640,0xffff8000ffff8ee8 process=0xffff8000148b2018 user=0xffff80001492b000, vmspace=0xfffffd803f012110 estcpu=36, cpticks=0, pctcpu=0.1 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 2732 343684 0 0 3 0x14200 bored sosplice 57909 191151 57348 0 2 0x2 syz-executor.0 57348 56554 55391 0 3 0x82 thrsleep syz-fuzzer 57348 89592 55391 0 3 0x4000082 nanosleep syz-fuzzer 57348 213768 55391 0 3 0x4000082 thrsleep syz-fuzzer 57348 99933 55391 0 3 0x4000082 thrsleep syz-fuzzer 57348 342746 55391 0 3 0x4000082 thrsleep syz-fuzzer 57348 96997 55391 0 2 0x4000002 syz-fuzzer 57348 2809 55391 0 3 0x4000082 thrsleep syz-fuzzer 55391 390531 53667 0 3 0x10008a pause ksh 53667 324317 29277 0 2 0x12 sshd 22624 291464 1 0 3 0x100083 ttyin getty 29277 205177 1 0 3 0x80 select sshd 54237 448804 43404 73 3 0x100090 kqread syslogd 43404 228218 1 0 3 0x100082 netio syslogd 68451 280710 1 77 2 0x100090 dhclient 82470 150488 1 0 3 0x80 poll dhclient 5758 520499 0 0 2 0x14200 zerothread 87526 398922 0 0 3 0x14200 aiodoned aiodoned 92433 4787 0 0 3 0x14200 syncer update 76849 329630 0 0 3 0x14200 cleaner cleaner 34204 176380 0 0 3 0x14200 reaper reaper 30695 323160 0 0 3 0x14200 pgdaemon pagedaemon 29283 369748 0 0 3 0x14200 bored crynlk 5522 127671 0 0 3 0x14200 bored crypto 38784 359774 0 0 3 0x40014200 acpi0 acpi0 27213 509708 0 0 2 0x14200 softnet 9761 230869 0 0 2 0x14200 systqmp 3382 59595 0 0 3 0x14200 bored systq 73895 69317 0 0 3 0x40014200 bored softclock 73387 148933 0 0 3 0x40014200 idle0 53347 351006 0 0 3 0x14200 bored smr 1 2262 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 9467 6456K 6842K 78643K 10796 0 pcb 13 8K 9K 78643K 47 0 rtable 100 3K 4K 78643K 246 0 ifaddr 45 11K 12K 78643K 73 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 17 0 iov 0 0K 16K 78643K 34 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1291 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 3 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 26 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 4 9K 25K 78643K 94 0 proc 48 38K 54K 78643K 359 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 23 0 in_multi 35 2K 2K 78643K 47 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 36 159K 159K 78643K 36 0 exec 0 0K 1K 78643K 200 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 109 21K 22K 78643K 1101 0 UVM aobj 10 2K 2K 78643K 10 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 12 0 NDP 6 0K 0K 78643K 16 0 temp 106 3017K 3081K 78643K 11881 0 kqueue 0 0K 0K 78643K 4 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 2 1 0 1 1 0 8 0 rtpcb 80 27 0 25 1 0 1 1 0 8 0 rtentry 112 52 0 12 2 0 2 2 0 8 0 unpcb 120 84 0 76 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 42 0 42 1 1 0 1 0 8 0 tcpcb 544 46 0 42 1 0 1 1 0 8 0 inpcb 280 168 0 161 4 0 4 4 0 8 3 nd6 48 5 0 2 1 0 1 1 0 8 0 ppxss 1128 4 0 4 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 249 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 60 0 31 1 0 1 1 0 8 0 semupl 112 4 0 4 1 0 1 1 0 8 1 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1535 0 133 46 0 46 46 0 8 0 ffsino 240 1535 0 133 83 0 83 83 0 8 0 nchpl 144 1867 0 251 60 0 60 60 0 8 0 uvmvnodes 72 1633 0 0 30 0 30 30 0 8 0 vnodes 208 1633 0 0 86 0 86 86 0 8 0 namei 1024 4710 0 4710 1 0 1 1 0 8 1 scxspl 192 5107 0 5107 8 1 7 7 0 8 7 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 432 265 0 253 2 0 2 2 0 8 0 futexpl 56 2510 0 2510 1 0 1 1 0 8 1 knotepl 112 63 0 44 1 0 1 1 0 8 0 kqueuepl 104 32 0 30 1 0 1 1 0 8 0 pipepl 128 170 0 152 1 0 1 1 0 8 0 fdescpl 424 266 0 253 2 0 2 2 0 8 0 filepl 120 1705 0 1620 5 0 5 5 0 8 2 lockfpl 104 47 0 46 1 0 1 1 0 8 0 lockfspl 48 16 0 15 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 77 0 70 1 0 1 1 0 8 0 zombiepl 144 254 0 253 1 0 1 1 0 8 0 processpl 864 281 0 253 4 0 4 4 0 8 0 procpl 632 396 0 362 4 0 4 4 0 8 0 sosppl 128 1 0 1 1 0 1 1 0 8 1 sockpl 384 281 0 264 7 0 7 7 0 8 5 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 19 0 19 2 1 1 1 0 8 1 mcl2k 2048 68260 0 68209 16 2 14 14 0 8 7 mtagpl 80 10 0 10 2 1 1 1 0 8 1 mbufpl 256 108625 0 108501 15 2 13 13 0 8 1 bufpl 280 6349 0 1473 349 0 349 349 0 8 0 anonpl 16 43420 0 24283 80 2 78 78 0 62 0 amapchunkpl 152 1290 0 1147 8 0 8 8 0 158 1 amappl16 192 1375 0 322 54 0 54 54 0 8 1 amappl15 184 50 0 46 1 0 1 1 0 8 0 amappl14 176 53 0 51 1 0 1 1 0 8 0 amappl12 160 12 0 11 2 1 1 1 0 8 0 amappl11 152 44 0 33 1 0 1 1 0 8 0 amappl10 144 45 0 41 1 0 1 1 0 8 0 amappl9 136 491 0 488 1 0 1 1 0 8 0 amappl8 128 132 0 104 2 0 2 2 0 8 0 amappl7 120 123 0 112 1 0 1 1 0 8 0 amappl6 112 54 0 49 1 0 1 1 0 8 0 amappl5 104 278 0 266 1 0 1 1 0 8 0 amappl4 96 477 0 449 1 0 1 1 0 8 0 amappl3 88 145 0 138 1 0 1 1 0 8 0 amappl2 80 1339 0 1278 3 1 2 3 0 8 0 amappl1 72 14586 0 14180 26 16 10 20 0 8 0 amappl 80 616 0 576 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 266 0 253 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 266 0 253 1 0 1 1 0 8 0 vmmpekpl 168 5974 0 5950 2 0 2 2 0 8 0 vmmpepl 168 40561 0 38514 133 6 127 127 0 357 33 vmsppl 272 265 0 253 2 0 2 2 0 8 1 pdppl 4096 538 0 506 6 0 6 6 0 8 1 pvpl 32 140732 0 118679 180 0 180 180 0 265 1 pmappl 200 265 0 253 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 149 0 7 5 0 5 5 0 8 0