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(fc58821e105f923c,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:497 rtable_walk_helper(fffffd8036de2f20,ffff800014999ff0) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000074780,fffffd8036de1060,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x226 art_walk_apply sys/net/art.c:707 [inline] art_table_walk(ffff800000074780,fffffd8036de1060,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x226 sys/net/art.c:679 art_table_walk(ffff800000074780,fffffd8036de1040,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1000,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1020,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1080,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de10c0,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de10e0,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1140,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1160,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1180,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de11e0,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1240,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1260,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1280,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de12e0,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1380,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de13a0,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1400,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1420,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1480,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de14a0,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de14e0,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1500,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1520,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1580,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1600,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1660,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1680,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de16a0,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de16c0,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1720,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_table_walk(ffff800000074780,fffffd8036de1f20,ffffffff8178b4f0,ffff800014999ff0) at art_table_walk+0x2a6 sys/net/art.c:688 art_walk(ffff800000074780,ffffffff8178b4f0,ffff800014999ff0) at art_walk+0xcf sys/net/art.c:626 rtable_walk(0,18,ffffffff8122ec00,0) at rtable_walk+0xd7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd8036435908) at ip6_mrouter_done+0xc4 sys/netinet6/ip6_mroute.c:526 rip6_detach(fffffd8036435908) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:748 soclose(fffffd8036435908,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd80366ac170,ffff8000ffff5078) at soo_close+0x40 fdrop(fffffd80366ac170,ffff8000ffff5078) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd80366ac170,ffff8000ffff5078) at closef+0x124 sys/kern/kern_descrip.c:1244 fdfree(ffff8000ffff5078) at fdfree+0xe7 sys/kern/kern_descrip.c:1176 exit1(ffff8000ffff5078,0,1) at exit1+0x2f4 sys/kern/kern_exit.c:194 sys_exit(ffff8000ffff5078,ffff80001499a4d0,ffff80001499a4c0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff80001499a570) at syscall+0x541 Xsyscall(6,1,7f7ffffcbd98,1,1,0) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffcbd30, count: -47 ddb> show registers rdi 0xfc58821e105f923c rsi 0 rbp 0xffff800014998d30 rbx 0xffff800000074788 rdx 0 rcx 0x1 rax 0x204 r8 0 r9 0x5 r10 0xdadd7e4bfaf6abeb r11 0x1e7bcc4e71704e9d r12 0 r13 0xfffffd8036de1060 r14 0 r15 0xfc58821e105f923c rip 0xffffffff8122ec2b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800014998cf0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor1516) pid=114913 stat=onproc flags process=a proc=2000 pri=51, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4718,0xffffffff82264bc8 process=0xffff8000149626a8 user=0xffff800014995000, vmspace=0xfffffd803f015948 estcpu=1, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 69274 447612 9572 0 3 0x10008a pause ksh 9572 195879 88786 0 3 0x92 select sshd 15846 193080 1 0 3 0x100083 ttyin getty 88786 224645 1 0 3 0x80 select sshd 2906 54110 2849 73 3 0x100090 kqread syslogd 2849 206173 1 0 3 0x100082 netio syslogd 24880 118934 1 77 3 0x100090 poll dhclient 72435 167311 1 0 3 0x80 poll dhclient 95293 407184 0 0 2 0x14200 zerothread 38624 446776 0 0 3 0x14200 aiodoned aiodoned 3919 85894 0 0 3 0x14200 syncer update 46949 96784 0 0 3 0x14200 cleaner cleaner 80365 115766 0 0 3 0x14200 reaper reaper 23359 73113 0 0 3 0x14200 pgdaemon pagedaemon 73157 416675 0 0 3 0x14200 bored crynlk 64495 34517 0 0 3 0x14200 bored crypto 32884 187186 0 0 3 0x40014200 acpi0 acpi0 25222 239961 0 0 3 0x14200 bored softnet 52666 249868 0 0 3 0x14200 bored systqmp 24729 364912 0 0 3 0x14200 bored systq 14526 194649 0 0 3 0x40014200 bored softclock 39605 386334 0 0 3 0x40014200 idle0 75765 130753 0 0 3 0x14200 bored smr 1 330712 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 9426 6306K 6307K 78643K 10519 0 0 pcb 24 9K 9K 78643K 56 0 0 rtable 62 1K 2K 78643K 118 0 0 ifaddr 21 7K 7K 78643K 21 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 13 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1166 73K 73K 78643K 1171 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 1K 78643K 2 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 2 0K 0K 78643K 2 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1777 193K 286K 78643K 12501 0 0 file desc 1 0K 0K 78643K 1 0 0 proc 40 30K 38K 78643K 207 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 in_multi 11 0K 0K 78643K 11 0 0 ether_multi 1 0K 0K 78643K 1 0 0 mrt 1 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 18 79K 79K 78643K 18 0 0 exec 0 0K 1K 78643K 150 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 47 2K 3K 78643K 654 0 0 UVM aobj 2 2K 2K 78643K 2 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 NDP 3 0K 0K 78643K 3 0 0 temp 30 2339K 2403K 78643K 1682 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 2 0 0 1 0 1 1 0 8 0 inpcbpl 280 23 0 16 1 0 1 1 0 8 0 plimitpl 152 13 0 8 1 0 1 1 0 8 0 rtentry 112 24 0 2 1 0 1 1 0 8 0 syncache 264 5 0 5 1 0 1 1 0 8 1 tcpcb 544 8 0 5 1 0 1 1 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 23 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1381 0 16 45 0 45 45 0 8 0 ffsino 240 1381 0 16 81 0 81 81 0 8 0 nchpl 144 1554 0 30 57 0 57 57 0 8 0 uvmvnodes 72 1390 0 0 26 0 26 26 0 8 0 vnodes 200 1390 0 0 74 0 74 74 0 8 0 namei 1024 3260 0 3260 2 1 1 1 0 8 1 scxspl 192 2216 0 2216 2 1 1 2 0 8 1 sigapl 432 174 0 164 2 0 2 2 0 8 0 knotepl 112 5 0 0 1 0 1 1 0 8 0 kqueuepl 104 1 0 0 1 0 1 1 0 8 0 pipepl 112 114 0 107 2 1 1 1 0 8 0 fdescpl 424 175 0 164 2 0 2 2 0 8 0 filepl 120 808 0 765 2 0 2 2 0 8 0 lockfpl 104 6 0 6 1 1 0 1 0 8 0 lockfspl 32 3 0 3 1 1 0 1 0 8 0 sessionpl 112 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 96 47 0 40 1 0 1 1 0 8 0 zombiepl 144 165 0 164 2 1 1 1 0 8 0 processpl 840 189 0 164 4 0 4 4 0 8 0 procpl 600 189 0 164 3 0 3 3 0 8 0 sockpl 384 65 0 48 2 0 2 2 0 8 0 mcl4k 4096 10 0 10 1 0 1 1 0 8 1 mcl2k 2048 5644 0 5616 7 0 7 7 0 8 3 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 9691 0 9648 5 1 4 4 0 8 0 bufpl 256 2011 0 230 112 0 112 112 0 8 0 anonpl 16 16762 0 15676 7 2 5 7 0 62 0 amapchunkpl 152 491 0 456 2 0 2 2 0 158 0 amappl16 192 70 0 65 1 0 1 1 0 8 0 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 2 0 2 1 1 0 1 0 8 0 amappl13 168 15 0 12 1 0 1 1 0 8 0 amappl12 160 31 0 28 1 0 1 1 0 8 0 amappl11 152 173 0 164 1 0 1 1 0 8 0 amappl10 144 43 0 42 1 0 1 1 0 8 0 amappl9 136 191 0 190 1 0 1 1 0 8 0 amappl8 128 85 0 81 1 0 1 1 0 8 0 amappl7 120 13 0 12 1 0 1 1 0 8 0 amappl6 112 42 0 38 1 0 1 1 0 8 0 amappl5 104 173 0 160 1 0 1 1 0 8 0 amappl4 96 254 0 235 1 0 1 1 0 8 0 amappl3 88 121 0 115 1 0 1 1 0 8 0 amappl2 80 561 0 527 1 0 1 1 0 8 0 amappl1 72 11609 0 11228 16 8 8 16 0 8 0 amappl 72 367 0 348 1 0 1 1 0 75 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 175 0 164 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 175 0 164 1 0 1 1 0 8 0 vmmpekpl 168 5194 0 5179 1 0 1 1 0 8 0 vmmpepl 168 23463 0 22784 46 13 33 46 0 357 2 vmsppl 264 174 0 164 1 0 1 1 0 8 0 pdppl 4096 356 0 328 5 0 5 5 0 8 0 pvpl 32 70415 0 67673 31 5 26 26 0 265 3 pmappl 192 174 0 164 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 226 0 4 7 0 7 7 0 8 0 ddb>