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(b149f3747c168025,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036dbf9e0,ffff800015a04618) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036dbe1e0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036dbe1e0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036dbe1c0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe1a0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe140,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe100,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe0a0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe080,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe060,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe040,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe000,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe020,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe0c0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe0e0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe120,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe160,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe180,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe220,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe340,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe360,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe380,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe3a0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe3c0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe3e0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe400,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe4a0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe4c0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe4e0,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe500,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe520,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe580,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbe660,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbef60,ffffffff812365b0,ffff800015a04618) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff812365b0,ffff800015a04618) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff813dc910,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd803857fc00) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd803857fc00) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd803857fc00,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd803002dda8,ffff8000149014e8) at soo_close+0x40 fdrop(fffffd803002dda8,ffff8000149014e8) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd803002dda8,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,ffff800015a04a90,ffff800015a04b00) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800015a04b60) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffce324) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffce2f0, count: -47 ddb> show registers rdi 0xb149f3747c168025 rsi 0 rbp 0xffff800015a03350 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0x828556e3be49aac9 r12 0 r13 0xfffffd8036dbe1e0 r14 0 r15 0xb149f3747c168025 rip 0xffffffff813dc93b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800015a03310 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=204776 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800014902118,0xffffffff8229b9a8 process=0xffff8000ffffad50 user=0xffff8000159ff000, vmspace=0xfffffd803f00cee0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 67274 320920 90466 0 2 0 syz-executor.0 67274 397102 90466 0 2 0x4000000 syz-executor.0 90466 395416 69485 0 3 0x82 nanosleep syz-executor.0 58290 67910 69485 0 3 0x82 nanosleep syz-executor.1 69485 520966 47355 0 3 0x82 thrsleep syz-fuzzer 69485 332934 47355 0 3 0x4000082 thrsleep syz-fuzzer 69485 160817 47355 0 3 0x4000082 thrsleep syz-fuzzer 69485 193376 47355 0 3 0x4000082 thrsleep syz-fuzzer 69485 73547 47355 0 3 0x4000082 thrsleep syz-fuzzer 69485 166922 47355 0 3 0x4000082 kqread syz-fuzzer 69485 329483 47355 0 3 0x4000082 thrsleep syz-fuzzer 47355 345841 50455 0 3 0x10008a pause ksh 50455 32697 8172 0 3 0x92 select sshd 18435 501585 1 0 3 0x100083 ttyin getty 8172 215317 1 0 3 0x80 select sshd 33232 82590 59120 73 3 0x100090 kqread syslogd 59120 508363 1 0 3 0x100082 netio syslogd 21746 377119 1 77 3 0x100090 poll dhclient 95377 149199 1 0 3 0x80 poll dhclient 46442 352708 0 0 2 0x14200 zerothread 2608 291659 0 0 3 0x14200 aiodoned aiodoned 98180 294480 0 0 3 0x14200 syncer update 76679 188673 0 0 3 0x14200 cleaner cleaner 5001 246229 0 0 3 0x14200 reaper reaper 22065 144467 0 0 3 0x14200 pgdaemon pagedaemon 22787 240122 0 0 3 0x14200 bored crynlk 9778 103628 0 0 3 0x14200 bored crypto 41842 301713 0 0 3 0x40014200 acpi0 acpi0 52558 420874 0 0 3 0x14200 bored softnet 54224 181386 0 0 2 0x14200 systqmp 72573 504429 0 0 3 0x14200 bored systq 90560 80807 0 0 3 0x40014200 bored softclock 29561 84282 0 0 3 0x40014200 idle0 67503 184309 0 0 3 0x14200 bored smr 1 226852 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 9438 6311K 6441K 78643K 10582 0 0 pcb 24 9K 9K 78643K 170 0 0 rtable 106 3K 3K 78643K 249 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 12K 78643K 4 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1211 76K 76K 78643K 1237 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 4 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 1K 1K 78643K 161 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 262 0 0 proc 40 30K 46K 78643K 287 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 148 0 0 in_multi 33 2K 2K 78643K 106 0 0 ether_multi 1 0K 0K 78643K 29 0 0 mrt 1 0K 0K 78643K 61 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 30 132K 132K 78643K 30 0 0 exec 0 0K 1K 78643K 184 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 85 20K 20K 78643K 1706 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 3497 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 230 0 222 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 64 0 64 1 1 0 1 0 8 0 tcpcb 544 16 0 12 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 2 0 2 1 1 0 1 0 8 0 semapl 112 159 0 149 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 1676 0 261 46 0 46 46 0 8 0 ffsino 240 1676 0 261 84 0 84 84 0 8 0 nchpl 144 2369 0 737 61 0 61 61 0 8 0 uvmvnodes 72 1735 0 0 32 0 32 32 0 8 0 vnodes 200 1735 0 0 92 0 92 92 0 8 0 namei 1024 5467 0 5467 2 1 1 1 0 8 1 scxspl 192 5602 0 5602 9 8 1 7 0 8 1 plimitpl 152 15 0 8 1 0 1 1 0 8 0 sigapl 432 433 0 419 2 0 2 2 0 8 0 futexpl 56 3690 0 3690 1 0 1 1 0 8 1 knotepl 112 53 0 34 1 0 1 1 0 8 0 kqueuepl 104 86 0 83 1 0 1 1 0 8 0 pipepl 112 294 0 275 2 1 1 1 0 8 0 fdescpl 424 434 0 419 2 0 2 2 0 8 0 filepl 120 1930 0 1834 4 0 4 4 0 8 1 lockfpl 104 64 0 64 3 3 0 1 0 8 0 lockfspl 48 29 0 29 3 3 0 1 0 8 0 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 152 0 145 1 0 1 1 0 8 0 zombiepl 144 420 0 419 2 1 1 1 0 8 0 processpl 848 448 0 419 4 0 4 4 0 8 0 procpl 624 729 0 693 5 2 3 4 0 8 0 sockpl 384 276 0 258 3 1 2 3 0 8 0 mcl12k 12288 1 0 1 1 1 0 1 0 8 0 mcl4k 4096 86 0 86 2 1 1 1 0 8 1 mcl2k 2048 51587 0 51544 13 7 6 12 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 82183 0 82030 13 2 11 11 0 8 0 bufpl 256 5889 0 1414 280 0 280 280 0 8 0 anonpl 16 366826 0 353009 59 3 56 57 0 62 0 amapchunkpl 152 4137 0 3993 7 1 6 7 0 158 0 amappl16 192 19274 0 18543 38 1 37 38 0 8 0 amappl15 184 79 0 78 1 0 1 1 0 8 0 amappl14 176 189 0 184 2 1 1 1 0 8 0 amappl13 168 3 0 2 1 0 1 1 0 8 0 amappl12 160 7 0 7 1 1 0 1 0 8 0 amappl11 152 130 0 114 1 0 1 1 0 8 0 amappl10 144 58 0 58 2 2 0 1 0 8 0 amappl9 136 542 0 538 1 0 1 1 0 8 0 amappl8 128 135 0 120 1 0 1 1 0 8 0 amappl7 120 30 0 28 1 0 1 1 0 8 0 amappl6 112 136 0 128 1 0 1 1 0 8 0 amappl5 104 148 0 139 1 0 1 1 0 8 0 amappl4 96 563 0 539 1 0 1 1 0 8 0 amappl3 88 320 0 307 1 0 1 1 0 8 0 amappl2 80 2688 0 2615 4 2 2 3 0 8 0 amappl1 72 17268 0 16838 26 17 9 19 0 8 0 amappl 80 1121 0 1078 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 434 0 419 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 434 0 419 1 0 1 1 0 8 0 vmmpekpl 168 6942 0 6918 2 0 2 2 0 8 0 vmmpepl 168 74327 0 72464 121 39 82 103 0 357 1 vmsppl 272 433 0 419 2 1 1 2 0 8 0 pdppl 4096 875 0 838 6 1 5 6 0 8 0 pvpl 32 536849 0 519987 147 6 141 141 0 265 4 pmappl 200 433 0 419 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 426 0 17 12 0 12 12 0 8 0