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(cc9701f2bb851987,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:502 rtable_walk_helper(fffffd8036eb1c20,ffff800014915f18) at rtable_walk_helper+0x58 sys/net/rtable.c:683 art_table_walk(ffff800000075880,fffffd8036eb0240,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075880,fffffd8036eb0240,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075880,fffffd8036eb01e0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb01a0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0140,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0120,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb00a0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0040,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0020,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0000,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0060,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0080,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb00c0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb00e0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0100,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0160,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0180,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb01c0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0200,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0220,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb02e0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0380,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb03c0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb03e0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0400,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0460,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb04a0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb04e0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0500,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0580,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb05a0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb05c0,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036eb0f40,ffffffff816f0130,ffff800014915f18) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075880,ffffffff816f0130,ffff800014915f18) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,0,ffffffff8209fe10,0) at rtable_walk+0xd4 ip6_mrouter_done(fffffd803701a480) at ip6_mrouter_done+0xb5 rip6_detach(fffffd803701a480) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd803701a480,0) at soclose+0xb2 sys/kern/uipc_socket.c:303 soo_close(fffffd8036231d28,ffff8000ffff3160) at soo_close+0x40 fdrop(fffffd8036231d28,ffff8000ffff3160) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd8036231d28,ffff8000ffff3160) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff8000ffff3160) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff8000ffff3160,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff8000ffff3160,ffff8000149163b0,ffff800014916400) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800014916480) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,1,0,1,0,7f7ffffd23b4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd2380, count: -47 ddb> show registers rdi 0xcc9701f2bb851987 rsi 0 rbp 0xffff800014914c50 rbx 0xffff800000075888 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0xc09dccea1fab06d9 r12 0 r13 0xfffffd8036eb0240 r14 0 r15 0xcc9701f2bb851987 rip 0xffffffff8209fe3b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800014914c10 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=467856 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff2ee8,0xffffffff82598330 process=0xffff8000148a2018 user=0xffff800014911000, vmspace=0xfffffd803f014bb0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 42285 149911 83775 0 2 0x2 syz-executor.0 1341 176654 83775 0 3 0x82 nanosleep syz-executor.1 10810 139230 0 0 3 0x14200 acct acct 83370 96768 0 0 3 0x14200 bored sosplice 83775 466518 26643 0 3 0x82 thrsleep syz-fuzzer 83775 99203 26643 0 3 0x4000082 nanosleep syz-fuzzer 83775 55667 26643 0 3 0x4000082 thrsleep syz-fuzzer 83775 193460 26643 0 3 0x4000082 kqread syz-fuzzer 83775 195336 26643 0 3 0x4000082 thrsleep syz-fuzzer 83775 375514 26643 0 3 0x4000082 thrsleep syz-fuzzer 83775 448494 26643 0 3 0x4000082 thrsleep syz-fuzzer 26643 496557 68773 0 3 0x10008a pause ksh 68773 59824 34093 0 3 0x92 select sshd 55660 73642 1 0 3 0x100083 ttyin getty 34093 406615 1 0 3 0x80 select sshd 47290 244885 33058 73 3 0x100090 kqread syslogd 33058 301607 1 0 3 0x100082 netio syslogd 85354 421449 1 77 3 0x100090 poll dhclient 78108 14963 1 0 3 0x80 poll dhclient 53957 461815 0 0 2 0x14200 zerothread 43614 352955 0 0 3 0x14200 aiodoned aiodoned 6226 249518 0 0 3 0x14200 syncer update 30523 170269 0 0 3 0x14200 cleaner cleaner 27258 341098 0 0 3 0x14200 reaper reaper 61681 116871 0 0 3 0x14200 pgdaemon pagedaemon 76091 419241 0 0 3 0x14200 bored crynlk 20066 240394 0 0 3 0x14200 bored crypto 50655 392687 0 0 3 0x40014200 acpi0 acpi0 28579 238191 0 0 3 0x14200 bored softnet 85345 210358 0 0 2 0x14200 systqmp 81602 418004 0 0 3 0x14200 bored systq 55132 21002 0 0 3 0x40014200 bored softclock 93606 204109 0 0 3 0x40014200 idle0 19637 225957 0 0 3 0x14200 bored smr 1 259982 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 9551 6606K 7107K 78643K 13400 0 0 pcb 15 8K 8K 78643K 131 0 0 rtable 109 3K 4K 78643K 525 0 0 ifaddr 64 14K 14K 78643K 172 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 84 0 0 iov 0 0K 16K 78643K 80 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1224 77K 77K 78643K 2231 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 24 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 103 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 5 13K 25K 78643K 1149 0 0 sigio 0 0K 0K 78643K 16 0 0 proc 49 38K 63K 78643K 595 0 0 subproc 32 2K 2K 78643K 89 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 86 0 0 in_multi 33 2K 2K 78643K 113 0 0 ether_multi 2 0K 0K 78643K 10 0 0 mrt 2 0K 0K 78643K 8 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 353 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 99 21K 31K 78643K 3502 0 0 UVM aobj 52 3K 3K 78643K 57 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 133 0 0 NDP 14 0K 0K 78643K 52 0 0 temp 183 3531K 3602K 78643K 16854 0 0 kqueue 0 0K 0K 78643K 17 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 12 0 6 1 0 1 1 0 8 0 rtpcb 80 83 0 81 1 0 1 1 0 8 0 rtentry 112 77 0 33 2 0 2 2 0 8 0 unpcb 120 355 0 347 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 1876 0 1876 1 1 0 1 0 8 0 tcpcb 544 228 0 224 1 0 1 1 0 8 0 ipq 40 3 0 3 2 2 0 1 0 8 0 ipqe 40 8 0 8 2 2 0 1 0 8 0 inpcb 280 616 0 607 1 0 1 1 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 11 0 7 1 0 1 1 0 8 0 pkpcb 40 4 0 4 2 1 1 1 0 8 1 ppxss 1128 15 0 15 5 4 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 349 0 131 15 1 14 14 0 8 0 art_table 32 350 0 131 2 0 2 2 0 8 0 art_node 16 76 0 35 1 0 1 1 0 8 0 sysvmsgpl 40 24 0 15 1 0 1 1 0 8 0 semapl 112 101 0 91 1 0 1 1 0 8 0 shmpl 112 55 0 5 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3103 0 1709 46 0 46 46 0 8 0 ffsino 240 3103 0 1709 83 0 83 83 0 8 0 nchpl 144 4852 0 3251 60 0 60 60 0 8 0 uvmvnodes 72 3855 0 0 71 0 71 71 0 8 0 vnodes 208 3855 0 0 203 0 203 203 0 8 0 namei 1024 14473 0 14473 2 1 1 1 0 8 1 scxspl 192 13869 0 13869 10 9 1 7 0 8 1 plimitpl 152 105 0 98 1 0 1 1 0 8 0 sigapl 432 1311 0 1298 2 0 2 2 0 8 0 futexpl 56 18232 0 18232 1 0 1 1 0 8 1 knotepl 112 319 0 300 1 0 1 1 0 8 0 kqueuepl 104 270 0 268 1 0 1 1 0 8 0 pipepl 112 752 0 733 3 1 2 2 0 8 1 fdescpl 424 1312 0 1298 2 0 2 2 0 8 0 filepl 120 7533 0 7436 5 1 4 5 0 8 1 lockfpl 104 387 0 386 1 0 1 1 0 8 0 lockfspl 48 131 0 130 1 0 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 32 0 22 1 0 1 1 0 8 0 ucredpl 96 1312 0 1305 1 0 1 1 0 8 0 zombiepl 144 1299 0 1298 2 1 1 1 0 8 0 processpl 864 1328 0 1298 4 0 4 4 0 8 0 procpl 632 2673 0 2637 4 0 4 4 0 8 0 sosppl 128 10 0 10 5 5 0 1 0 8 0 sockpl 384 1060 0 1041 4 1 3 4 0 8 1 mcl64k 65536 14 0 14 4 4 0 1 0 8 0 mcl16k 16384 6 0 6 6 6 0 1 0 8 0 mcl12k 12288 20 0 20 4 3 1 1 0 8 1 mcl9k 9216 11 0 11 4 3 1 1 0 8 1 mcl8k 8192 27 0 27 2 1 1 1 0 8 1 mcl4k 4096 50 0 50 4 3 1 1 0 8 1 mcl2k2 2112 9 0 9 2 2 0 1 0 8 0 mcl2k 2048 58952 0 58901 19 11 8 15 0 8 1 mtagpl 80 20 0 14 2 1 1 1 0 8 0 mbufpl 256 99835 0 99742 14 6 8 11 0 8 0 bufpl 256 8460 0 3541 308 0 308 308 0 8 0 anonpl 16 126561 0 114147 86 33 53 66 0 62 2 amapchunkpl 152 5979 0 5852 22 15 7 13 0 158 0 amappl16 192 6632 0 5951 66 30 36 48 0 8 1 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 455 0 450 1 0 1 1 0 8 0 amappl13 168 9 0 8 1 0 1 1 0 8 0 amappl12 160 7 0 7 1 1 0 1 0 8 0 amappl11 152 55 0 44 1 0 1 1 0 8 0 amappl10 144 7 0 7 1 1 0 1 0 8 0 amappl9 136 990 0 983 1 0 1 1 0 8 0 amappl8 128 564 0 538 1 0 1 1 0 8 0 amappl7 120 46 0 42 1 0 1 1 0 8 0 amappl6 112 76 0 67 1 0 1 1 0 8 0 amappl5 104 193 0 183 1 0 1 1 0 8 0 amappl4 96 1387 0 1358 1 0 1 1 0 8 0 amappl3 88 701 0 696 1 0 1 1 0 8 0 amappl2 80 9423 0 9354 3 1 2 3 0 8 0 amappl1 72 32157 0 31747 27 18 9 20 0 8 0 amappl 80 2944 0 2903 2 0 2 2 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 56 0 5 1 0 1 1 0 8 0 uaddrrnd 24 1312 0 1298 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1312 0 1298 1 0 1 1 0 8 0 vmmpekpl 168 12218 0 12192 2 0 2 2 0 8 0 vmmpepl 168 157580 0 155851 141 57 84 100 0 357 8 vmsppl 272 1311 0 1298 2 1 1 2 0 8 0 pdppl 4096 2630 0 2596 6 1 5 6 0 8 0 pvpl 32 359821 0 344407 196 49 147 164 0 265 18 pmappl 200 1311 0 1298 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 472 0 37 13 0 13 13 0 8 0