login: kernel: protection fault trap, code=0 Stopped at mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace mrouter6_rtwalk_delete(f7ce402318e87567,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036da69a0,ffff8000149efc18) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036da52a0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036da52a0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036da5260,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5240,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5200,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da51e0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da51a0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da50c0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da50a0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5080,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5040,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5020,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5000,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5060,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da50e0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5100,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5120,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5140,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5160,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5180,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da51c0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5220,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5280,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da52e0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da53a0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da53c0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5400,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5420,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5460,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5480,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da54e0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5500,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da5ec0,ffffffff81e04650,ffff8000149efc18) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff81e04650,ffff8000149efc18) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff819bbe10,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd803ecc1600) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd803ecc1600) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd803ecc1600,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802fc68f10,ffff8000149014e8) at soo_close+0x40 fdrop(fffffd802fc68f10,ffff8000149014e8) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802fc68f10,ffff8000149014e8) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff8000149014e8) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff8000149014e8,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff8000149014e8,ffff8000149f0090,ffff8000149f0100) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff8000149f0160) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffc74c4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc7490, count: -47 ddb> show registers rdi 0xf7ce402318e87567 rsi 0 rbp 0xffff8000149ee950 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0xea82df954659d35 r12 0 r13 0xfffffd8036da52a0 r14 0 r15 0xf7ce402318e87567 rip 0xffffffff819bbe3b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000149ee910 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=8405 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=64, nice=20 forw=0xffffffffffffffff, list=0xffff800014902388,0xffffffff8229d488 process=0xffff8000ffffaa00 user=0xffff8000149eb000, vmspace=0xfffffd803f014110 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 90343 362840 50215 0 2 0x2 syz-executor.0 25399 424796 50215 0 3 0x82 nanosleep syz-executor.1 50215 273123 20765 0 3 0x82 thrsleep syz-fuzzer 50215 501687 20765 0 3 0x4000082 nanosleep syz-fuzzer 50215 293884 20765 0 3 0x4000082 thrsleep syz-fuzzer 50215 301686 20765 0 3 0x4000082 thrsleep syz-fuzzer 50215 10951 20765 0 3 0x4000082 thrsleep syz-fuzzer 50215 178673 20765 0 3 0x4000082 kqread syz-fuzzer 50215 243822 20765 0 3 0x4000082 thrsleep syz-fuzzer 20765 479093 25577 0 3 0x10008a pause ksh 25577 155024 64239 0 3 0x92 select sshd 25922 451016 1 0 3 0x100083 ttyin getty 64239 41721 1 0 3 0x80 select sshd 66631 206630 12520 73 3 0x100090 kqread syslogd 12520 409324 1 0 3 0x100082 netio syslogd 78285 303449 1 77 3 0x100090 poll dhclient 78703 466845 1 0 3 0x80 poll dhclient 15537 506413 0 0 2 0x14200 zerothread 79708 148278 0 0 3 0x14200 aiodoned aiodoned 48336 197262 0 0 3 0x14200 syncer update 47599 366806 0 0 3 0x14200 cleaner cleaner 55578 176241 0 0 3 0x14200 reaper reaper 40696 515050 0 0 3 0x14200 pgdaemon pagedaemon 76410 234460 0 0 3 0x14200 bored crynlk 6132 32616 0 0 3 0x14200 bored crypto 14925 33668 0 0 3 0x40014200 acpi0 acpi0 29031 480010 0 0 3 0x14200 bored softnet 54160 408041 0 0 2 0x14200 systqmp 39723 99780 0 0 3 0x14200 bored systq 9130 102670 0 0 3 0x40014200 bored softclock 89685 310570 0 0 3 0x40014200 idle0 90826 21985 0 0 3 0x14200 bored smr 1 327012 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 Kern Lim devbuf 9439 6312K 6826K 78643K 10650 0 0 pcb 24 9K 10K 78643K 180 0 0 rtable 106 3K 3K 78643K 232 0 0 ifaddr 34 9K 9K 78643K 34 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 15 0 0 iov 0 0K 16K 78643K 6 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1210 76K 76K 78643K 1259 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 3 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 8 0K 0K 78643K 8 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 194 0 0 sigio 0 0K 0K 78643K 4 0 0 proc 41 30K 54K 78643K 289 0 0 subproc 32 2K 2K 78643K 34 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 4 0 0 in_multi 33 2K 2K 78643K 34 0 0 ether_multi 1 0K 0K 78643K 12 0 0 mrt 1 0K 0K 78643K 37 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 36 159K 159K 78643K 36 0 0 exec 0 0K 1K 78643K 188 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 80 20K 20K 78643K 1230 0 0 UVM aobj 6 2K 2K 78643K 6 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 NDP 5 0K 0K 78643K 9 0 0 temp 80 2704K 2768K 78643K 3389 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 inpcbpl 280 143 0 135 1 0 1 1 0 8 0 rtentry 112 46 0 2 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 30 0 30 1 0 1 1 0 8 1 tcpcb 544 18 0 14 1 0 1 1 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 6 0 0 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1625 0 211 46 0 46 46 0 8 0 ffsino 240 1625 0 211 84 0 84 84 0 8 0 nchpl 144 2044 0 413 61 0 61 61 0 8 0 uvmvnodes 72 1698 0 0 31 0 31 31 0 8 0 vnodes 200 1698 0 0 90 0 90 90 0 8 0 namei 1024 5000 0 5000 2 1 1 1 0 8 1 scxspl 192 5257 0 5257 6 4 2 5 0 8 2 plimitpl 152 17 0 10 1 0 1 1 0 8 0 sigapl 432 365 0 352 2 0 2 2 0 8 0 futexpl 56 1778 0 1778 1 0 1 1 0 8 1 knotepl 112 55 0 36 1 0 1 1 0 8 0 kqueuepl 104 10 0 8 1 0 1 1 0 8 0 pipepl 112 170 0 151 2 1 1 1 0 8 0 fdescpl 424 366 0 352 2 0 2 2 0 8 0 filepl 120 1532 0 1437 4 0 4 4 0 8 1 lockfpl 104 24 0 24 2 1 1 1 0 8 1 lockfspl 48 12 0 12 2 1 1 1 0 8 1 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 128 0 121 1 0 1 1 0 8 0 zombiepl 144 353 0 352 2 1 1 1 0 8 0 processpl 848 380 0 352 4 0 4 4 0 8 0 procpl 624 567 0 533 4 0 4 4 0 8 1 sockpl 384 209 0 191 3 0 3 3 0 8 1 mcl64k 65536 2 0 2 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 11 0 11 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 51187 0 51138 14 2 12 12 0 8 5 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 81358 0 81213 14 3 11 11 0 8 0 bufpl 256 5824 0 1348 280 0 280 280 0 8 0 anonpl 16 39758 0 29652 43 1 42 42 0 62 0 amapchunkpl 152 1458 0 1370 6 0 6 6 0 158 1 amappl16 192 1241 0 690 29 0 29 29 0 8 0 amappl15 184 79 0 77 1 0 1 1 0 8 0 amappl14 176 111 0 109 2 1 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 92 0 88 1 0 1 1 0 8 0 amappl11 152 52 0 38 1 0 1 1 0 8 0 amappl10 144 64 0 61 1 0 1 1 0 8 0 amappl9 136 553 0 549 1 0 1 1 0 8 0 amappl8 128 125 0 111 1 0 1 1 0 8 0 amappl7 120 30 0 26 1 0 1 1 0 8 0 amappl6 112 55 0 48 1 0 1 1 0 8 0 amappl5 104 210 0 198 1 0 1 1 0 8 0 amappl4 96 321 0 303 1 0 1 1 0 8 0 amappl3 88 411 0 398 1 0 1 1 0 8 0 amappl2 80 2148 0 2079 4 2 2 3 0 8 0 amappl1 72 15961 0 15547 24 10 14 19 0 8 5 amappl 80 794 0 760 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 dma64 64 259 0 259 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 17 0 17 1 1 0 1 0 8 0 aobjpl 64 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 366 0 352 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 366 0 352 1 0 1 1 0 8 0 vmmpekpl 168 6482 0 6458 2 0 2 2 0 8 0 vmmpepl 168 49018 0 47444 94 10 84 84 0 357 15 vmsppl 272 365 0 352 2 0 2 2 0 8 1 pdppl 4096 738 0 704 6 0 6 6 0 8 1 pvpl 32 141301 0 128217 117 5 112 112 0 265 3 pmappl 200 365 0 352 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 429 0 9 12 0 12 12 0 8 0