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(50f3708e685b41a9,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:502 rtable_walk_helper(fffffd8036ecaaf0,ffff8000169139e8) at rtable_walk_helper+0x58 sys/net/rtable.c:683 art_table_walk(ffff800000075880,fffffd8036ec91c0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075880,fffffd8036ec91c0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075880,fffffd8036ec9180,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9160,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9120,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9100,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9080,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9060,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9040,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9020,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9000,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec90a0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec90c0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec90e0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9140,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec91a0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec91e0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9200,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9260,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec92e0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9300,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9340,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9360,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9380,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec93c0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9400,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9420,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9440,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec94c0,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9500,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9560,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9580,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ec9f60,ffffffff81cc7b10,ffff8000169139e8) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075880,ffffffff81cc7b10,ffff8000169139e8) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,0,ffffffff818bae30,0) at rtable_walk+0xd4 ip6_mrouter_done(fffffd80363d3a88) at ip6_mrouter_done+0xb5 rip6_detach(fffffd80363d3a88) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd80363d3a88,0) at soclose+0xb2 sys/kern/uipc_socket.c:303 soo_close(fffffd803622eb48,ffff8000ffff2508) at soo_close+0x40 fdrop(fffffd803622eb48,ffff8000ffff2508) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd803622eb48,ffff8000ffff2508) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff8000ffff2508) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff8000ffff2508,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff8000ffff2508,ffff800016913e80,ffff800016913ed0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800016913f50) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,1,0,1,0,7f7ffffec584) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec550, count: -47 ddb> show registers rdi 0x50f3708e685b41a9 rsi 0 rbp 0xffff800016912720 rbx 0xffff800000075888 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0x5cdc93e80cb5ed88 r12 0 r13 0xfffffd8036ec91c0 r14 0 r15 0x50f3708e685b41a9 rip 0xffffffff818bae5b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000169126e0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=495726 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff29f8,0xffffffff82563a68 process=0xffff8000ffff6010 user=0xffff80001690f000, vmspace=0xfffffd803f013550 estcpu=36, cpticks=4, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 27870 193407 23596 0 3 0x82 nanosleep syz-executor.1 57829 182075 23596 0 2 0x2 syz-executor.0 22447 347819 1 0 3 0x100083 ttyin getty 54302 345511 0 0 3 0x14200 bored sosplice 23596 1798 77406 0 3 0x82 thrsleep syz-fuzzer 23596 255933 77406 0 3 0x4000082 thrsleep syz-fuzzer 23596 519811 77406 0 3 0x4000082 thrsleep syz-fuzzer 23596 3647 77406 0 3 0x4000082 thrsleep syz-fuzzer 23596 288788 77406 0 3 0x4000082 thrsleep syz-fuzzer 23596 83480 77406 0 3 0x4000082 kqread syz-fuzzer 23596 366218 77406 0 3 0x4000082 thrsleep syz-fuzzer 23596 106635 77406 0 3 0x4000082 thrsleep syz-fuzzer 77406 448012 358 0 3 0x10008a pause ksh 358 66238 49293 0 3 0x92 select sshd 49293 252654 1 0 3 0x80 select sshd 94121 19083 69578 73 3 0x100090 kqread syslogd 69578 454212 1 0 3 0x100082 netio syslogd 99364 364378 1 77 3 0x100090 poll dhclient 69268 484787 1 0 3 0x80 poll dhclient 59607 278377 0 0 2 0x14200 zerothread 62555 158261 0 0 3 0x14200 aiodoned aiodoned 55303 63785 0 0 3 0x14200 syncer update 57082 265124 0 0 3 0x14200 cleaner cleaner 56351 517185 0 0 3 0x14200 reaper reaper 75313 354199 0 0 3 0x14200 pgdaemon pagedaemon 32925 349554 0 0 3 0x14200 bored crynlk 88075 296548 0 0 3 0x14200 bored crypto 29039 290419 0 0 3 0x40014200 acpi0 acpi0 40462 352703 0 0 3 0x14200 bored softnet 2534 35179 0 0 2 0x14200 systqmp 46825 413764 0 0 3 0x14200 bored systq 61605 87259 0 0 3 0x40014200 bored softclock 25810 295180 0 0 3 0x40014200 idle0 60787 125149 0 0 3 0x14200 bored smr 1 397126 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 9574 6383K 7220K 78643K 37149 0 0 pcb 15 8K 8K 78643K 1161 0 0 rtable 124 12K 12K 78643K 3382 0 0 ifaddr 77 22K 26K 78643K 1140 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 534 0 0 iov 0 0K 24K 78643K 1095 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1201 75K 77K 78643K 10964 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 139 0 0 VM map 2 0K 0K 78643K 14 0 0 sem 12 0K 0K 78643K 1108 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 5 13K 25K 78643K 11026 0 0 sigio 0 0K 0K 78643K 145 0 0 proc 50 38K 63K 78643K 2993 0 0 subproc 32 2K 2K 78643K 747 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 966 0 0 in_multi 33 2K 2K 78643K 781 0 0 ether_multi 2 0K 0K 78643K 41 0 0 mrt 5 0K 0K 78643K 25 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 96 424K 424K 78643K 96 0 0 exec 0 0K 1K 78643K 1721 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 113 22K 32K 78643K 26839 0 0 UVM aobj 130 4K 4K 78643K 150 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 1168 0 0 NDP 20 0K 1K 78643K 353 0 0 temp 212 3540K 4180K 78643K 185542 0 0 kqueue 0 0K 0K 78643K 116 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 89 0 83 1 0 1 1 0 8 0 rtpcb 80 487 0 485 1 0 1 1 0 8 0 rtentry 112 446 0 399 2 0 2 2 0 8 0 unpcb 120 3717 0 3709 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 10 0 10 8 8 0 1 0 8 0 tcpqe 32 5518 0 5518 1 1 0 1 0 8 0 tcpcb 544 2036 0 2032 1 0 1 1 0 8 0 ipq 40 14 0 14 6 6 0 1 0 8 0 ipqe 40 33 0 33 6 6 0 1 0 8 0 inpcb 280 6277 0 6266 9 8 1 2 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 nd6 48 76 0 72 1 0 1 1 0 8 0 pkpcb 40 45 0 45 19 18 1 1 0 8 1 ppxss 1128 193 0 193 34 33 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1900 0 1656 20 4 16 16 0 8 0 art_table 32 1901 0 1656 2 0 2 2 0 8 0 art_node 16 429 0 386 1 0 1 1 0 8 0 sysvmsgpl 40 34 0 23 1 0 1 1 0 8 0 semapl 112 1106 0 1096 1 0 1 1 0 8 0 shmpl 112 148 0 20 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 18017 0 16619 46 0 46 46 0 8 0 ffsino 240 18017 0 16619 83 0 83 83 0 8 0 nchpl 144 33253 0 31649 60 0 60 60 0 8 0 uvmvnodes 72 8139 0 0 148 0 148 148 0 8 0 vnodes 208 8139 0 0 429 0 429 429 0 8 0 namei 1024 109193 0 109193 8 7 1 1 0 8 1 vmpool 520 12 0 12 5 5 0 1 0 8 0 scsiplug 64 16 0 16 13 13 0 1 0 8 0 scxspl 192 108984 0 108984 38 37 1 7 0 8 1 plimitpl 152 875 0 868 1 0 1 1 0 8 0 sigapl 432 11077 0 11064 2 0 2 2 0 8 0 futexpl 56 177518 0 177518 9 8 1 1 0 8 1 knotepl 112 2752 0 2733 1 0 1 1 0 8 0 kqueuepl 104 2379 0 2377 1 0 1 1 0 8 0 pipepl 112 5714 0 5695 12 11 1 2 0 8 0 fdescpl 424 11078 0 11064 2 0 2 2 0 8 0 filepl 120 65230 0 65133 12 8 4 5 0 8 1 lockfpl 104 3507 0 3506 1 0 1 1 0 8 0 lockfspl 48 1135 0 1134 1 0 1 1 0 8 0 sessionpl 112 61 0 51 1 0 1 1 0 8 0 pgrppl 48 142 0 132 1 0 1 1 0 8 0 ucredpl 96 12346 0 12336 1 0 1 1 0 8 0 zombiepl 144 11067 0 11066 2 1 1 1 0 8 0 processpl 864 11095 0 11066 4 0 4 4 0 8 0 procpl 632 24115 0 24079 4 0 4 4 0 8 0 sosppl 128 108 0 108 29 29 0 1 0 8 0 sockpl 384 10646 0 10627 18 15 3 5 0 8 1 mcl64k 65536 1311 0 1311 134 133 1 33 0 8 1 mcl16k 16384 46 0 46 32 31 1 1 0 8 1 mcl12k 12288 194 0 194 29 28 1 1 0 8 1 mcl9k 9216 151 0 151 34 33 1 1 0 8 1 mcl8k 8192 152 0 152 34 33 1 1 0 8 1 mcl4k 4096 537 0 537 16 15 1 1 0 8 1 mcl2k2 2112 43 0 43 27 26 1 1 0 8 1 mcl2k 2048 67087 0 67046 32 26 6 14 0 8 0 mtagpl 80 314 0 310 4 3 1 1 0 8 0 mbufpl 256 167851 0 167729 84 76 8 23 0 8 0 bufpl 256 33515 0 25366 510 0 510 510 0 8 0 anonpl 16 990499 0 980338 290 226 64 70 0 62 7 amapchunkpl 152 49098 0 48992 122 116 6 16 0 158 0 amappl16 192 55935 0 55229 302 257 45 49 0 8 8 amappl15 184 434 0 434 8 8 0 1 0 8 0 amappl14 176 2525 0 2520 1 0 1 1 0 8 0 amappl13 168 1019 0 1019 5 4 1 1 0 8 1 amappl12 160 900 0 899 2 1 1 1 0 8 0 amappl11 152 2723 0 2712 1 0 1 1 0 8 0 amappl10 144 2254 0 2251 1 0 1 1 0 8 0 amappl9 136 2261 0 2253 1 0 1 1 0 8 0 amappl8 128 1667 0 1629 2 0 2 2 0 8 0 amappl7 120 2417 0 2410 1 0 1 1 0 8 0 amappl6 112 2652 0 2640 1 0 1 1 0 8 0 amappl5 104 1368 0 1357 1 0 1 1 0 8 0 amappl4 96 11072 0 11043 1 0 1 1 0 8 0 amappl3 88 3247 0 3242 1 0 1 1 0 8 0 amappl2 80 85527 0 85460 3 1 2 3 0 8 0 amappl1 72 203750 0 203338 28 19 9 20 0 8 0 amappl 80 25010 0 24974 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 149 0 20 3 0 3 3 0 8 0 uaddrrnd 24 11090 0 11064 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11090 0 11064 1 0 1 1 0 8 0 vmmpekpl 168 62394 0 62365 2 0 2 2 0 8 0 vmmpepl 168 1289681 0 1287914 554 450 104 118 0 357 18 vmsppl 272 11077 0 11064 8 7 1 2 0 8 0 pdppl 4096 22186 0 22152 6 1 5 6 0 8 0 pvpl 32 2789007 0 2775754 795 595 200 275 0 265 66 pmappl 200 11089 0 11076 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 974 0 335 19 0 19 19 0 8 0