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(549b51a1597153de,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036da9a80,ffff800015a1b058) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036da8480,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036da8480,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036da8460,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8420,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8400,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da83e0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da83c0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da83a0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8380,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8360,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8340,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8320,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8300,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da82e0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da82c0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8260,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8220,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da81a0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8180,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8140,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da80e0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8080,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8040,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8000,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8020,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8060,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da80a0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da80c0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8100,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8120,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8160,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da81c0,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036da8f40,ffffffff81be1de0,ffff800015a1b058) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff81be1de0,ffff800015a1b058) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff81014550,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd80363ddc08) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd80363ddc08) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd80363ddc08,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802c20c9d8,ffff80001491fc50) at soo_close+0x40 fdrop(fffffd802c20c9d8,ffff80001491fc50) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802c20c9d8,ffff80001491fc50) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff80001491fc50) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff80001491fc50,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff80001491fc50,ffff800015a1b4d0,ffff800015a1b540) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800015a1b5a0) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffdd754) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd720, count: -47 ddb> show registers rdi 0x549b51a1597153de rsi 0 rbp 0xffff800015a19d90 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0xbbbba6f62932fc66 r12 0 r13 0xfffffd8036da8480 r14 0 r15 0x549b51a1597153de rip 0xffffffff8101457b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800015a19d50 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.0) pid=387739 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80001491fec0,0xffffffff822aa4b0 process=0xffff8000ffffa6b0 user=0xffff800015a16000, vmspace=0xfffffd803f014330 estcpu=36, cpticks=6, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 66625 264808 1 0 3 0x100083 ttyin getty 40732 469882 0 0 3 0x14200 bored sosplice 98568 421424 18813 0 3 0x82 nanosleep syz-executor.0 14929 98781 18813 0 3 0x82 nanosleep syz-executor.1 18813 295442 91160 0 3 0x82 thrsleep syz-fuzzer 18813 136094 91160 0 3 0x4000082 thrsleep syz-fuzzer 18813 61138 91160 0 3 0x4000082 thrsleep syz-fuzzer 18813 241634 91160 0 3 0x4000082 thrsleep syz-fuzzer 18813 140055 91160 0 3 0x4000082 thrsleep syz-fuzzer 18813 51074 91160 0 3 0x4000082 kqread syz-fuzzer 18813 476289 91160 0 3 0x4000082 thrsleep syz-fuzzer 91160 466277 26511 0 3 0x10008a pause ksh 26511 438264 84921 0 3 0x92 select sshd 84921 289399 1 0 3 0x80 select sshd 93536 462021 20549 73 3 0x100090 kqread syslogd 20549 320521 1 0 3 0x100082 netio syslogd 74790 396340 1 77 3 0x100090 poll dhclient 99867 396028 1 0 3 0x80 poll dhclient 60172 495352 0 0 2 0x14200 zerothread 74229 63778 0 0 3 0x14200 aiodoned aiodoned 20942 83494 0 0 3 0x14200 syncer update 69308 319587 0 0 3 0x14200 cleaner cleaner 47730 277419 0 0 3 0x14200 reaper reaper 89602 166314 0 0 3 0x14200 pgdaemon pagedaemon 30061 411641 0 0 3 0x14200 bored crynlk 69133 44227 0 0 3 0x14200 bored crypto 22469 83951 0 0 3 0x40014200 acpi0 acpi0 33584 467683 0 0 3 0x14200 bored softnet 18399 191685 0 0 2 0x14200 systqmp 49361 392164 0 0 3 0x14200 bored systq 18728 356826 0 0 3 0x40014200 bored softclock 41137 183138 0 0 3 0x40014200 idle0 79675 76646 0 0 3 0x14200 bored smr 1 344996 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 9520 6359K 9438K 78643K 27679 0 0 pcb 25 9K 10K 78643K 2961 0 0 rtable 118 4K 5K 78643K 1223 0 0 ifaddr 59 16K 18K 78643K 603 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 1076 0 0 iov 0 0K 28K 78643K 1052 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1203 76K 76K 78643K 7652 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 73 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 2046 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 7390 0 0 sigio 0 0K 0K 78643K 69 0 0 proc 42 30K 54K 78643K 989 0 0 subproc 32 2K 2K 78643K 40 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 596 0 0 in_multi 33 2K 2K 78643K 232 0 0 ether_multi 2 0K 0K 78643K 29 0 0 mrt 2 0K 0K 78643K 23 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 120 530K 530K 78643K 120 0 0 exec 0 0K 1K 78643K 742 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 91 21K 31K 78643K 18445 0 0 UVM aobj 130 5K 5K 78643K 156 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 287 0 0 NDP 12 0K 0K 78643K 159 0 0 temp 171 2719K 3359K 78643K 24712 0 0 kqueue 0 0K 0K 78643K 36 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 2838 0 2829 2 1 1 2 0 8 0 rtentry 112 52 0 7 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 97 0 97 1 1 0 1 0 8 0 tcpcb 544 942 0 938 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 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 125 0 125 21 20 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 187 0 0 12 0 12 12 0 8 0 art_table 32 188 0 0 2 0 2 2 0 8 0 art_node 16 46 0 5 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 8 3 2 1 1 0 8 0 semapl 112 2044 0 2034 1 0 1 1 0 8 0 shmpl 112 154 0 26 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 13736 0 12224 49 0 49 49 0 8 0 ffsino 240 13736 0 12224 90 0 90 90 0 8 0 nchpl 144 25131 0 23501 61 0 61 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 200 5926 0 0 312 0 312 312 0 8 0 namei 1024 78939 0 78939 3 2 1 1 0 8 1 scsiplug 64 14 0 14 9 9 0 1 0 8 0 scxspl 192 96182 0 96182 43 40 3 6 0 8 3 plimitpl 152 823 0 816 1 0 1 1 0 8 0 sigapl 432 7567 0 7554 2 0 2 2 0 8 0 futexpl 56 133672 0 133672 2 1 1 1 0 8 1 knotepl 112 1142 0 1123 1 0 1 1 0 8 0 kqueuepl 104 1389 0 1387 1 0 1 1 0 8 0 pipepl 112 5054 0 5035 7 6 1 2 0 8 0 fdescpl 424 7568 0 7554 2 0 2 2 0 8 0 filepl 120 45638 0 45533 5 1 4 4 0 8 0 lockfpl 104 2773 0 2773 3 2 1 1 0 8 1 lockfspl 48 1018 0 1018 3 2 1 1 0 8 1 sessionpl 112 23 0 13 1 0 1 1 0 8 0 pgrppl 48 69 0 59 1 0 1 1 0 8 0 ucredpl 96 9926 0 9919 1 0 1 1 0 8 0 zombiepl 144 7555 0 7553 2 1 1 1 0 8 0 processpl 848 7583 0 7553 4 0 4 4 0 8 0 procpl 624 17280 0 17244 5 1 4 4 0 8 0 sosppl 128 81 0 81 18 18 0 1 0 8 0 sockpl 384 5489 0 5470 5 2 3 3 0 8 1 mcl64k 65536 1418 0 1418 142 78 64 64 0 8 64 mcl16k 16384 15 0 15 11 11 0 1 0 8 0 mcl12k 12288 108 0 108 23 22 1 1 0 8 1 mcl9k 9216 85 0 85 29 28 1 1 0 8 1 mcl8k 8192 87 0 87 25 25 0 1 0 8 0 mcl4k 4096 908 0 908 10 9 1 1 0 8 1 mcl2k2 2112 34 0 34 16 16 0 1 0 8 0 mcl2k 2048 62729 0 62682 17 10 7 14 0 8 0 mtagpl 80 8 0 8 4 4 0 1 0 8 0 mbufpl 256 134585 0 134521 78 65 13 36 0 8 8 bufpl 256 34934 0 30383 285 0 285 285 0 8 0 anonpl 16 659541 0 648877 258 198 60 62 0 62 15 amapchunkpl 152 30029 0 29927 43 35 8 12 0 158 3 amappl16 192 41927 0 41340 227 188 39 44 0 8 8 amappl15 184 2 0 2 2 2 0 1 0 8 0 amappl14 176 38 0 35 2 1 1 1 0 8 0 amappl13 168 1 0 1 1 1 0 1 0 8 0 amappl12 160 3658 0 3655 2 1 1 1 0 8 0 amappl11 152 51 0 37 1 0 1 1 0 8 0 amappl10 144 3780 0 3778 2 1 1 1 0 8 0 amappl9 136 549 0 546 1 0 1 1 0 8 0 amappl8 128 142 0 121 1 0 1 1 0 8 0 amappl7 120 3743 0 3739 1 0 1 1 0 8 0 amappl6 112 55 0 49 1 0 1 1 0 8 0 amappl5 104 3838 0 3827 1 0 1 1 0 8 0 amappl4 96 4728 0 4704 1 0 1 1 0 8 0 amappl3 88 4015 0 4004 1 0 1 1 0 8 0 amappl2 80 60709 0 60644 4 2 2 3 0 8 0 amappl1 72 137873 0 137469 26 17 9 19 0 8 0 amappl 80 17553 0 17518 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 155 0 26 3 0 3 3 0 8 0 uaddrrnd 24 7568 0 7554 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7568 0 7554 1 0 1 1 0 8 0 vmmpekpl 168 56153 0 56126 2 0 2 2 0 8 0 vmmpepl 168 879144 0 877541 236 150 86 87 0 357 11 vmsppl 272 7567 0 7554 2 1 1 2 0 8 0 pdppl 4096 15142 0 15108 6 1 5 6 0 8 0 pvpl 32 1763727 0 1749983 430 281 149 157 0 265 35 pmappl 200 7567 0 7554 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 693 0 205 17 2 15 15 0 8 0