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(a34c67f30a19b29f,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036db7b40,ffff800016bfe578) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036db62c0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036db62c0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036db62a0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6280,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db61e0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6180,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6120,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6100,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db60e0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db60a0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6060,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6040,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6000,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6020,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6080,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db60c0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6140,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6160,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db61a0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db61c0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6200,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6220,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6240,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6260,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6340,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6360,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db63a0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db63c0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db63e0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6400,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6480,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db64c0,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6f60,ffffffff81479550,ffff800016bfe578) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff81479550,ffff800016bfe578) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff813dfe10,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd803eb07c00) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd803eb07c00) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd803eb07c00,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802fd4dda8,ffff8000149019c8) at soo_close+0x40 fdrop(fffffd802fd4dda8,ffff8000149019c8) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802fd4dda8,ffff8000149019c8) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff8000149019c8) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff8000149019c8,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff8000149019c8,ffff800016bfe9f0,ffff800016bfea60) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800016bfeac0) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffd7ab4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd7a80, count: -47 ddb> show registers rdi 0xa34c67f30a19b29f rsi 0 rbp 0xffff800016bfd2b0 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0x9255d549e06947e7 r12 0 r13 0xfffffd8036db62c0 r14 0 r15 0xa34c67f30a19b29f rip 0xffffffff813dfe3b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800016bfd270 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=258255 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=54, nice=20 forw=0xffffffffffffffff, list=0xffff800014902868,0xffffffff8228ea08 process=0xffff8000ffffba90 user=0xffff800016bf9000, vmspace=0xfffffd803f013ee0 estcpu=4, cpticks=0, pctcpu=0.2 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37802 98607 39102 0 3 0x2 biowait syz-executor.0 75160 310048 39102 0 3 0x82 nanosleep syz-executor.1 39102 247188 35461 0 3 0x82 thrsleep syz-fuzzer 39102 163288 35461 0 3 0x4000082 nanosleep syz-fuzzer 39102 400154 35461 0 3 0x4000082 kqread syz-fuzzer 39102 176370 35461 0 3 0x4000082 thrsleep syz-fuzzer 39102 25848 35461 0 3 0x4000082 thrsleep syz-fuzzer 39102 127864 35461 0 3 0x4000082 thrsleep syz-fuzzer 39102 15080 35461 0 3 0x4000082 thrsleep syz-fuzzer 35461 461975 23243 0 3 0x10008a pause ksh 23243 488519 81874 0 3 0x92 select sshd 57980 381123 1 0 3 0x100083 ttyin getty 81874 422118 1 0 3 0x80 select sshd 644 512895 42597 73 3 0x100090 kqread syslogd 42597 245980 1 0 3 0x100082 netio syslogd 69508 131428 1 77 3 0x100090 poll dhclient 94860 493003 1 0 3 0x80 poll dhclient 77821 148303 0 0 2 0x14200 zerothread 73758 136623 0 0 3 0x14200 aiodoned aiodoned 70479 342774 0 0 3 0x14200 syncer update 71107 465013 0 0 3 0x14200 cleaner cleaner 79322 487059 0 0 3 0x14200 reaper reaper 70263 469687 0 0 3 0x14200 pgdaemon pagedaemon 65606 51072 0 0 3 0x14200 bored crynlk 61646 205144 0 0 3 0x14200 bored crypto 41806 148444 0 0 3 0x40014200 acpi0 acpi0 40231 168763 0 0 3 0x14200 bored softnet 25004 43452 0 0 2 0x14200 systqmp 29524 473729 0 0 3 0x14200 bored systq 87739 253353 0 0 3 0x40014200 bored softclock 87296 512147 0 0 3 0x40014200 idle0 30753 181082 0 0 3 0x14200 bored smr 1 231104 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 9440 6320K 6706K 78643K 10788 0 0 pcb 24 9K 10K 78643K 194 0 0 rtable 109 3K 4K 78643K 245 0 0 ifaddr 35 10K 10K 78643K 39 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 15 0 0 iov 0 0K 12K 78643K 6 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1207 76K 76K 78643K 1293 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 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 228 0 0 proc 41 30K 54K 78643K 307 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 36 0 0 ether_multi 1 0K 0K 78643K 13 0 0 mrt 1 0K 0K 78643K 41 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 42 185K 185K 78643K 42 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 76 20K 20K 78643K 1307 0 0 UVM aobj 7 2K 2K 78643K 7 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 2 0 0 NDP 5 0K 0K 78643K 10 0 0 temp 80 2704K 2770K 78643K 3505 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 151 0 143 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 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 ppxss 1128 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 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 semapl 112 6 0 0 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1678 0 265 46 0 46 46 0 8 0 ffsino 240 1678 0 265 84 0 84 84 0 8 0 nchpl 144 2136 0 505 61 0 61 61 0 8 0 uvmvnodes 72 1778 0 0 33 0 33 33 0 8 0 vnodes 200 1778 0 0 94 0 94 94 0 8 0 namei 1024 5255 0 5255 2 1 1 1 0 8 1 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 5323 0 5322 8 7 1 6 0 8 0 plimitpl 152 17 0 10 1 0 1 1 0 8 0 sigapl 432 399 0 386 2 0 2 2 0 8 0 futexpl 56 2164 0 2164 1 0 1 1 0 8 1 knotepl 112 78 0 59 1 0 1 1 0 8 0 kqueuepl 104 26 0 24 1 0 1 1 0 8 0 pipepl 112 182 0 163 2 1 1 1 0 8 0 fdescpl 424 400 0 386 2 0 2 2 0 8 0 filepl 120 1679 0 1584 4 0 4 4 0 8 1 lockfpl 104 59 0 59 2 1 1 1 0 8 1 lockfspl 48 15 0 15 2 1 1 1 0 8 1 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 99 0 92 1 0 1 1 0 8 0 zombiepl 144 387 0 386 2 1 1 1 0 8 0 processpl 848 414 0 386 4 0 4 4 0 8 0 procpl 624 638 0 604 4 0 4 4 0 8 1 sockpl 384 225 0 207 3 0 3 3 0 8 1 mcl12k 12288 5 0 5 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 13 0 13 2 1 1 1 0 8 1 mcl2k 2048 51401 0 51360 16 5 11 14 0 8 5 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 81584 0 81501 11 2 9 9 0 8 0 bufpl 256 5792 0 1383 276 0 276 276 0 8 0 anonpl 16 41249 0 31211 44 3 41 41 0 62 0 amapchunkpl 152 1499 0 1414 6 2 4 6 0 158 0 amappl16 192 1555 0 1005 28 0 28 28 0 8 0 amappl14 176 44 0 41 2 1 1 1 0 8 0 amappl12 160 17 0 14 1 0 1 1 0 8 0 amappl11 152 57 0 43 1 0 1 1 0 8 0 amappl10 144 60 0 58 2 1 1 1 0 8 0 amappl9 136 630 0 625 1 0 1 1 0 8 0 amappl8 128 219 0 203 1 0 1 1 0 8 0 amappl7 120 29 0 26 1 0 1 1 0 8 0 amappl6 112 53 0 46 1 0 1 1 0 8 0 amappl5 104 157 0 148 1 0 1 1 0 8 0 amappl4 96 526 0 505 1 0 1 1 0 8 0 amappl3 88 185 0 172 1 0 1 1 0 8 0 amappl2 80 2416 0 2351 4 2 2 3 0 8 0 amappl1 72 16282 0 15880 26 17 9 19 0 8 0 amappl 80 866 0 833 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 400 0 386 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 400 0 386 1 0 1 1 0 8 0 vmmpekpl 168 6415 0 6389 2 0 2 2 0 8 0 vmmpepl 168 52212 0 50659 101 22 79 82 0 357 11 vmsppl 272 399 0 386 2 1 1 2 0 8 0 pdppl 4096 806 0 772 6 1 5 6 0 8 0 pvpl 32 144781 0 131774 113 5 108 109 0 265 3 pmappl 200 399 0 386 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 422 0 13 12 0 12 12 0 8 0