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(d66ed467ee8ac4ce,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:502 rtable_walk_helper(fffffd8036d67a30,ffff800014f25e18) at rtable_walk_helper+0x58 sys/net/rtable.c:683 art_table_walk(ffff800000075880,fffffd8036d66320,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075880,fffffd8036d66320,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075880,fffffd8036d66300,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d662c0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d662a0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66280,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66260,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66240,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66220,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66200,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d661c0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d661a0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66180,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66140,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66100,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d660e0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d660a0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66060,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66020,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66000,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66040,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66080,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d660c0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66120,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66160,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d661e0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d662e0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66340,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66380,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d663c0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d663e0,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66440,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036d66f40,ffffffff816f0130,ffff800014f25e18) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075880,ffffffff816f0130,ffff800014f25e18) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,0,ffffffff8209fe10,0) at rtable_walk+0xd4 ip6_mrouter_done(fffffd8037b04a80) at ip6_mrouter_done+0xb5 rip6_detach(fffffd8037b04a80) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd8037b04a80,0) at soclose+0xb2 sys/kern/uipc_socket.c:303 soo_close(fffffd802eeae808,ffff8000159533d8) at soo_close+0x40 fdrop(fffffd802eeae808,ffff8000159533d8) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd802eeae808,ffff8000159533d8) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff8000159533d8) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff8000159533d8,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff8000159533d8,ffff800014f262b0,ffff800014f26300) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800014f26380) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,1,0,1,0,7f7ffffe5ee4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe5eb0, count: -47 ddb> show registers rdi 0xd66ed467ee8ac4ce rsi 0 rbp 0xffff800014f24b50 rbx 0xffff800000075888 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0xe1601aee0f896d30 r12 0 r13 0xfffffd8036d66320 r14 0 r15 0xd66ed467ee8ac4ce rip 0xffffffff8209fe3b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800014f24b10 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.0) pid=391224 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800015952ee8,0xffffffff82598330 process=0xffff8000ffff6a30 user=0xffff800014f21000, vmspace=0xfffffd803f014550 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 55250 4754 47896 0 3 0x82 nanosleep syz-executor.0 4106 464972 0 0 3 0x14200 bored sosplice 96811 427002 1 0 3 0x100083 ttyin getty 39400 121119 47896 0 2 0x2 syz-executor.1 47896 333829 47103 0 3 0x82 thrsleep syz-fuzzer 47896 270305 47103 0 3 0x4000082 nanosleep syz-fuzzer 47896 304758 47103 0 3 0x4000082 thrsleep syz-fuzzer 47896 5447 47103 0 3 0x4000082 thrsleep syz-fuzzer 47896 513186 47103 0 3 0x4000082 kqread syz-fuzzer 47896 108055 47103 0 3 0x4000082 thrsleep syz-fuzzer 47896 200739 47103 0 3 0x4000082 thrsleep syz-fuzzer 47103 148098 10621 0 3 0x10008a pause ksh 10621 352398 67625 0 3 0x92 select sshd 67625 376625 1 0 3 0x80 select sshd 6469 46770 15331 73 3 0x100090 kqread syslogd 15331 235540 1 0 3 0x100082 netio syslogd 35287 271036 1 77 3 0x100090 poll dhclient 49939 48753 1 0 3 0x80 poll dhclient 41580 334237 0 0 2 0x14200 zerothread 14438 395347 0 0 3 0x14200 aiodoned aiodoned 98477 522297 0 0 3 0x14200 syncer update 42023 32133 0 0 3 0x14200 cleaner cleaner 17832 227612 0 0 3 0x14200 reaper reaper 83691 253562 0 0 3 0x14200 pgdaemon pagedaemon 66977 20853 0 0 3 0x14200 bored crynlk 53406 116772 0 0 3 0x14200 bored crypto 66567 304823 0 0 3 0x40014200 acpi0 acpi0 99958 497685 0 0 3 0x14200 bored softnet 811 475882 0 0 2 0x14200 systqmp 99962 89693 0 0 3 0x14200 bored systq 50173 460312 0 0 3 0x40014200 bored softclock 81690 160436 0 0 3 0x40014200 idle0 50853 255853 0 0 3 0x14200 bored smr 1 306629 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 9453 6323K 6702K 78643K 11399 0 0 pcb 14 8K 8K 78643K 389 0 0 rtable 109 3K 4K 78643K 429 0 0 ifaddr 39 10K 11K 78643K 54 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 34 0 0 iov 0 0K 12K 78643K 22 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1221 77K 77K 78643K 1829 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 28 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 5 13K 25K 78643K 843 0 0 sigio 0 0K 0K 78643K 4 0 0 proc 48 38K 63K 78643K 407 0 0 subproc 32 2K 2K 78643K 51 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 10 0 0 in_multi 33 2K 2K 78643K 49 0 0 ether_multi 1 0K 0K 78643K 124 0 0 mrt 1 0K 0K 78643K 245 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 208 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 94 21K 21K 78643K 2603 0 0 UVM aobj 15 2K 2K 78643K 16 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 12 0 0 NDP 6 0K 0K 78643K 15 0 0 temp 106 3528K 3654K 78643K 15871 0 0 kqueue 0 0K 0K 78643K 2 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 29 0 27 1 0 1 1 0 8 0 rtentry 112 56 0 12 2 0 2 2 0 8 0 unpcb 120 75 0 67 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 2116 0 2116 1 1 0 1 0 8 0 tcpcb 544 36 0 32 1 0 1 1 0 8 0 inpcb 280 472 0 464 1 0 1 1 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 6 0 2 1 0 1 1 0 8 0 ppxss 1128 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 255 0 43 14 0 14 14 0 8 0 art_table 32 256 0 43 2 0 2 2 0 8 0 art_node 16 55 0 14 1 0 1 1 0 8 0 semapl 112 26 0 16 1 0 1 1 0 8 0 shmpl 112 14 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2319 0 923 46 0 46 46 0 8 0 ffsino 240 2319 0 923 83 0 83 83 0 8 0 nchpl 144 3417 0 1821 60 0 60 60 0 8 0 uvmvnodes 72 2912 0 0 53 0 53 53 0 8 0 vnodes 208 2912 0 0 154 0 154 154 0 8 0 namei 1024 9097 0 9097 1 0 1 1 0 8 1 scxspl 192 9947 0 9947 8 7 1 6 0 8 1 plimitpl 152 24 0 17 1 0 1 1 0 8 0 sigapl 432 1012 0 999 2 0 2 2 0 8 0 futexpl 56 12202 0 12202 1 0 1 1 0 8 1 knotepl 112 93 0 74 1 0 1 1 0 8 0 kqueuepl 104 34 0 32 1 0 1 1 0 8 0 pipepl 112 1132 0 1113 1 0 1 1 0 8 0 fdescpl 424 1013 0 999 2 0 2 2 0 8 0 filepl 120 4876 0 4780 4 0 4 4 0 8 0 lockfpl 104 159 0 158 1 0 1 1 0 8 0 lockfspl 48 51 0 50 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 245 0 237 1 0 1 1 0 8 0 zombiepl 144 1000 0 999 1 0 1 1 0 8 0 processpl 864 1028 0 999 4 0 4 4 0 8 0 procpl 632 1884 0 1849 4 0 4 4 0 8 0 sosppl 128 5 0 5 1 1 0 1 0 8 0 sockpl 384 578 0 560 3 0 3 3 0 8 1 mcl64k 65536 2 0 2 1 1 0 1 0 8 0 mcl12k 12288 7 0 7 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 1 0 1 0 8 0 mcl8k 8192 7 0 7 1 0 1 1 0 8 1 mcl4k 4096 18 0 18 2 1 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 59012 0 58966 17 10 7 14 0 8 1 mtagpl 80 6 0 2 2 1 1 1 0 8 0 mbufpl 256 96597 0 96499 13 4 9 9 0 8 0 bufpl 256 7228 0 2349 306 0 306 306 0 8 0 anonpl 16 84667 0 72386 57 7 50 55 0 62 0 amapchunkpl 152 3513 0 3408 8 3 5 6 0 158 0 amappl16 192 4391 0 3710 46 11 35 45 0 8 0 amappl14 176 44 0 39 1 0 1 1 0 8 0 amappl12 160 424 0 420 1 0 1 1 0 8 0 amappl11 152 47 0 36 1 0 1 1 0 8 0 amappl10 144 7 0 7 1 1 0 1 0 8 0 amappl9 136 963 0 956 1 0 1 1 0 8 0 amappl8 128 530 0 505 1 0 1 1 0 8 0 amappl7 120 40 0 36 1 0 1 1 0 8 0 amappl6 112 70 0 61 1 0 1 1 0 8 0 amappl5 104 567 0 555 1 0 1 1 0 8 0 amappl4 96 808 0 783 1 0 1 1 0 8 0 amappl3 88 539 0 532 1 0 1 1 0 8 0 amappl2 80 7272 0 7202 3 1 2 3 0 8 0 amappl1 72 28642 0 28223 26 16 10 20 0 8 0 amappl 80 2112 0 2077 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 15 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1013 0 999 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1013 0 999 1 0 1 1 0 8 0 vmmpekpl 168 10501 0 10477 2 0 2 2 0 8 0 vmmpepl 168 124181 0 122451 110 24 86 98 0 357 10 vmsppl 272 1012 0 999 2 1 1 2 0 8 0 pdppl 4096 2032 0 1998 6 1 5 6 0 8 0 pvpl 32 254861 0 239614 141 14 127 138 0 265 4 pmappl 200 1012 0 999 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 453 0 20 13 0 13 13 0 8 0