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(ad80a7867881402e,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036dbba40,ffff8000159dbeb8) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036dba220,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036dba220,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036dba200,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba1c0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba1a0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba160,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba140,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba120,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba100,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba0e0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba0c0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba0a0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba040,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba000,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba020,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba060,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba080,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba180,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba1e0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba240,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba260,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba280,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba2a0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba2e0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba300,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba340,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba360,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba380,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba3a0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba3c0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba3e0,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dba440,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dbaf40,ffffffff8142a0b0,ffff8000159dbeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff8142a0b0,ffff8000159dbeb8) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff8120dda0,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd8037c59900) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd8037c59900) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd8037c59900,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802ffeed30,ffff800014901758) at soo_close+0x40 fdrop(fffffd802ffeed30,ffff800014901758) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802ffeed30,ffff800014901758) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff800014901758) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff800014901758,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff800014901758,ffff8000159dc330,ffff8000159dc3a0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff8000159dc400) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffe50f4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe50c0, count: -47 ddb> show registers rdi 0xad80a7867881402e rsi 0 rbp 0xffff8000159dabf0 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0xf5a7ebdcceb8d129 r12 0 r13 0xfffffd8036dba220 r14 0 r15 0xad80a7867881402e rip 0xffffffff8120ddcb mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000159dabb0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=45953 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=74, nice=20 forw=0xffffffffffffffff, list=0xffff8000149014e8,0xffffffff822a6498 process=0xffff8000ffffb078 user=0xffff8000159d7000, vmspace=0xfffffd803f014dd0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 83882 177223 0 0 3 0x14200 bored sosplice 22262 240189 78168 0 2 0x2 syz-executor.0 29371 217980 78168 0 3 0x82 nanosleep syz-executor.1 78168 131525 68696 0 3 0x82 kqread syz-fuzzer 78168 303985 68696 0 3 0x4000082 nanosleep syz-fuzzer 78168 362093 68696 0 3 0x4000082 thrsleep syz-fuzzer 78168 112706 68696 0 3 0x4000082 thrsleep syz-fuzzer 78168 330090 68696 0 3 0x4000082 thrsleep syz-fuzzer 78168 377431 68696 0 3 0x4000082 thrsleep syz-fuzzer 78168 497612 68696 0 3 0x4000082 thrsleep syz-fuzzer 68696 10275 94548 0 3 0x10008a pause ksh 94548 276439 24595 0 3 0x92 select sshd 90752 507136 1 0 3 0x100083 ttyin getty 24595 226235 1 0 3 0x80 select sshd 45812 267147 71170 73 3 0x100090 kqread syslogd 71170 9366 1 0 3 0x100082 netio syslogd 88263 409299 1 77 3 0x100090 poll dhclient 83987 138597 1 0 3 0x80 poll dhclient 79297 501222 0 0 2 0x14200 zerothread 84102 173403 0 0 3 0x14200 aiodoned aiodoned 39920 171022 0 0 3 0x14200 syncer update 6447 224054 0 0 3 0x14200 cleaner cleaner 22771 293895 0 0 3 0x14200 reaper reaper 36564 335012 0 0 3 0x14200 pgdaemon pagedaemon 54985 163461 0 0 3 0x14200 bored crynlk 7745 472957 0 0 3 0x14200 bored crypto 11024 74262 0 0 3 0x40014200 acpi0 acpi0 82150 163426 0 0 3 0x14200 bored softnet 82524 189895 0 0 2 0x14200 systqmp 28310 93852 0 0 3 0x14200 bored systq 98882 287189 0 0 3 0x40014200 bored softclock 2385 509461 0 0 3 0x40014200 idle0 54327 308039 0 0 3 0x14200 bored smr 1 270150 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 9478 6340K 14504K 78643K 11679 0 0 pcb 25 9K 12K 78643K 347 0 0 rtable 116 4K 4K 78643K 281 0 0 ifaddr 49 12K 12K 78643K 81 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 45 0 0 iov 0 0K 12K 78643K 42 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1210 76K 76K 78643K 1653 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 0K 1K 78643K 84 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 5 13K 25K 78643K 527 0 0 sigio 0 0K 0K 78643K 6 0 0 proc 41 30K 54K 78643K 371 0 0 subproc 32 2K 2K 78643K 36 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 38 0 0 in_multi 33 2K 2K 78643K 50 0 0 ether_multi 1 0K 0K 78643K 3 0 0 mrt 1 0K 0K 78643K 4 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 207 0 0 pfkey data 0 0K 0K 78643K 2 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 84 20K 22K 78643K 2046 0 0 UVM aobj 11 2K 2K 78643K 12 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 9 0 0 NDP 9 0K 0K 78643K 21 0 0 temp 124 2708K 2833K 78643K 4527 0 0 kqueue 0 0K 0K 78643K 11 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 218 0 209 1 0 1 1 0 8 0 rtentry 112 50 0 4 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 48 0 48 1 1 0 1 0 8 0 tcpcb 544 76 0 72 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 7 0 7 3 3 0 1 0 8 0 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 47 0 6 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 65 0 55 1 0 1 1 0 8 0 shmpl 112 10 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2226 0 807 46 0 46 46 0 8 0 ffsino 240 2226 0 807 84 0 84 84 0 8 0 nchpl 144 3122 0 1489 61 0 61 61 0 8 0 uvmvnodes 72 2544 0 0 47 0 47 47 0 8 0 vnodes 200 2544 0 0 134 0 134 134 0 8 0 namei 1024 8839 0 8839 2 1 1 1 0 8 1 scsiplug 64 2 0 2 2 2 0 1 0 8 0 scxspl 192 8473 0 8473 12 10 2 6 0 8 2 plimitpl 152 29 0 22 1 0 1 1 0 8 0 sigapl 432 698 0 685 2 0 2 2 0 8 0 futexpl 56 8187 0 8187 2 1 1 1 0 8 1 knotepl 112 159 0 140 1 0 1 1 0 8 0 kqueuepl 104 136 0 134 1 0 1 1 0 8 0 pipepl 112 442 0 423 3 1 2 2 0 8 1 fdescpl 424 699 0 685 2 0 2 2 0 8 0 filepl 120 3872 0 3776 6 0 6 6 0 8 3 lockfpl 104 138 0 138 3 2 1 1 0 8 1 lockfspl 48 53 0 53 3 2 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 678 0 671 1 0 1 1 0 8 0 zombiepl 144 686 0 685 2 1 1 1 0 8 0 processpl 840 714 0 685 4 0 4 4 0 8 0 procpl 624 1357 0 1322 5 1 4 4 0 8 1 sosppl 128 5 0 5 2 2 0 1 0 8 0 sockpl 384 522 0 503 5 1 4 4 0 8 2 mcl64k 65536 7 0 7 2 2 0 1 0 8 0 mcl16k 16384 4 0 4 3 2 1 1 0 8 1 mcl12k 12288 8 0 8 3 2 1 1 0 8 1 mcl9k 9216 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 8 0 8 2 1 1 1 0 8 1 mcl4k 4096 43 0 43 3 2 1 1 0 8 1 mcl2k2 2112 3 0 3 3 2 1 1 0 8 1 mcl2k 2048 50096 0 50049 15 8 7 14 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 81142 0 81043 12 4 8 10 0 8 0 bufpl 256 6648 0 2171 280 0 280 280 0 8 0 anonpl 16 72395 0 62312 62 19 43 54 0 62 2 amapchunkpl 152 2952 0 2840 7 1 6 7 0 158 0 amappl16 192 3244 0 2719 41 13 28 36 0 8 1 amappl15 184 8 0 7 1 0 1 1 0 8 0 amappl14 176 34 0 33 2 1 1 1 0 8 0 amappl12 160 13 0 11 1 0 1 1 0 8 0 amappl11 152 294 0 277 1 0 1 1 0 8 0 amappl10 144 324 0 321 2 1 1 1 0 8 0 amappl9 136 531 0 528 1 0 1 1 0 8 0 amappl8 128 126 0 111 1 0 1 1 0 8 0 amappl7 120 290 0 285 1 0 1 1 0 8 0 amappl6 112 286 0 279 1 0 1 1 0 8 0 amappl5 104 172 0 161 1 0 1 1 0 8 0 amappl4 96 841 0 819 1 0 1 1 0 8 0 amappl3 88 185 0 175 1 0 1 1 0 8 0 amappl2 80 4832 0 4766 4 2 2 3 0 8 0 amappl1 72 21226 0 20816 26 17 9 19 0 8 0 amappl 80 1596 0 1556 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 11 0 1 1 0 1 1 0 8 0 uaddrrnd 24 699 0 685 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 699 0 685 1 0 1 1 0 8 0 vmmpekpl 168 8266 0 8239 2 0 2 2 0 8 0 vmmpepl 168 86077 0 84526 100 25 75 81 0 357 5 vmsppl 272 698 0 685 2 1 1 2 0 8 0 pdppl 4096 1404 0 1370 6 1 5 6 0 8 0 pvpl 32 217018 0 203932 143 28 115 136 0 265 8 pmappl 200 698 0 685 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 435 0 25 13 1 12 13 0 8 0