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(12cc06b07bc0a14a,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036db0ad0,ffff8000169fdde8) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036daf3a0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036daf3a0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036daf380,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf340,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf320,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf300,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf2a0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf280,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf200,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf1e0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf180,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf160,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf140,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf0e0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf060,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf040,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf020,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf000,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf080,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf0a0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf0c0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf100,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf120,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf1a0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf1c0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf220,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf240,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf260,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf2c0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf2e0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf360,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf3c0,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daff60,ffffffff817740e0,ffff8000169fdde8) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff817740e0,ffff8000169fdde8) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff8185c380,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd8038cafc00) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd8038cafc00) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd8038cafc00,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd803616a008,ffff8000149014e8) at soo_close+0x40 fdrop(fffffd803616a008,ffff8000149014e8) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd803616a008,ffff8000149014e8) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff8000149014e8) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff8000149014e8,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff8000149014e8,ffff8000169fe260,ffff8000169fe2d0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff8000169fe330) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffe0f34) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe0f00, count: -47 ddb> show registers rdi 0x12cc06b07bc0a14a rsi 0 rbp 0xffff8000169fcb20 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0x4c5b9e0580221f28 r12 0 r13 0xfffffd8036daf3a0 r14 0 r15 0x12cc06b07bc0a14a rip 0xffffffff8185c3ab mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000169fcae0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=262856 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800014901008,0xffffffff822ccfb8 process=0xffff8000ffffad30 user=0xffff8000169f9000, vmspace=0xfffffd803f014220 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 51469 93227 74234 0 3 0x82 nanosleep syz-executor.1 70520 492376 0 0 3 0x14200 bored sosplice 50260 227245 74234 0 3 0x82 nanosleep syz-executor.0 74234 332713 45780 0 3 0x82 thrsleep syz-fuzzer 74234 399908 45780 0 3 0x4000082 thrsleep syz-fuzzer 74234 81076 45780 0 3 0x4000082 thrsleep syz-fuzzer 74234 157181 45780 0 3 0x4000082 thrsleep syz-fuzzer 74234 112701 45780 0 3 0x4000082 kqread syz-fuzzer 74234 58731 45780 0 3 0x4000082 thrsleep syz-fuzzer 74234 149387 45780 0 3 0x4000082 thrsleep syz-fuzzer 45780 228716 1364 0 3 0x10008a pause ksh 1364 470754 34202 0 3 0x92 select sshd 91458 506342 1 0 3 0x100083 ttyin getty 34202 520448 1 0 3 0x80 select sshd 3426 92325 81627 73 3 0x100090 kqread syslogd 81627 186558 1 0 3 0x100082 netio syslogd 77121 254611 1 77 3 0x100090 poll dhclient 71407 475530 1 0 3 0x80 poll dhclient 50838 477424 0 0 2 0x14200 zerothread 80078 278974 0 0 3 0x14200 aiodoned aiodoned 17615 109508 0 0 3 0x14200 syncer update 23728 474050 0 0 3 0x14200 cleaner cleaner 86897 187753 0 0 3 0x14200 reaper reaper 63324 389947 0 0 3 0x14200 pgdaemon pagedaemon 92779 176306 0 0 3 0x14200 bored crynlk 35899 124171 0 0 3 0x14200 bored crypto 21640 277404 0 0 3 0x40014200 acpi0 acpi0 9586 422426 0 0 3 0x14200 bored softnet 55704 223965 0 0 2 0x14200 systqmp 19212 378430 0 0 3 0x14200 bored systq 30933 103073 0 0 3 0x40014200 bored softclock 12959 336050 0 0 3 0x40014200 idle0 81662 300970 0 0 3 0x14200 bored smr 1 62636 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 9545 6376K 14753K 78643K 36466 0 0 pcb 25 9K 11K 78643K 4235 0 0 rtable 136 5K 5K 78643K 1757 0 0 ifaddr 68 17K 19K 78643K 915 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 446 0 0 iov 0 0K 24K 78643K 1189 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1195 75K 76K 78643K 10016 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 104 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 1103 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 10999 0 0 sigio 1 0K 0K 78643K 138 0 0 proc 42 30K 54K 78643K 1220 0 0 subproc 32 2K 2K 78643K 53 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 964 0 0 in_multi 33 2K 2K 78643K 336 0 0 ether_multi 1 0K 0K 78643K 38 0 0 mrt 1 0K 0K 78643K 22 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 114 503K 503K 78643K 114 0 0 exec 0 0K 1K 78643K 1130 0 0 pfkey data 0 0K 4K 78643K 10 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 93 21K 39K 78643K 25915 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 0K 78643K 408 0 0 NDP 15 0K 0K 78643K 239 0 0 temp 192 2716K 3356K 78643K 35752 0 0 kqueue 0 0K 0K 78643K 84 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 inpcbpl 280 4022 0 4013 2 1 1 2 0 8 0 rtentry 112 70 0 19 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 14 0 14 2 2 0 1 0 8 0 tcpcb 544 1563 0 1559 1 0 1 1 0 8 0 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 9 0 3 1 0 1 1 0 8 0 swfcl 56 3 0 0 1 0 1 1 0 8 0 ppxss 1128 196 0 196 28 27 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 235 0 44 13 1 12 12 0 8 0 art_table 32 236 0 44 2 0 2 2 0 8 0 art_node 16 63 0 22 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 12 1 0 1 1 0 8 0 semapl 112 1101 0 1091 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 18488 0 16970 50 0 50 50 0 8 0 ffsino 240 18488 0 16970 94 4 90 90 0 8 0 nchpl 144 33778 0 32164 61 0 61 61 0 8 0 uvmvnodes 72 6778 0 0 124 0 124 124 0 8 0 vnodes 200 6778 0 0 357 0 357 357 0 8 0 namei 1024 110596 0 110596 2 1 1 1 0 8 1 scsiplug 64 20 0 20 10 9 1 1 0 8 1 scxspl 192 104355 0 104355 50 48 2 6 0 8 2 plimitpl 152 283 0 276 1 0 1 1 0 8 0 sigapl 432 11167 0 11154 2 0 2 2 0 8 0 futexpl 56 167079 0 167079 1 0 1 1 0 8 1 knotepl 112 1723 0 1704 1 0 1 1 0 8 0 kqueuepl 104 2355 0 2353 1 0 1 1 0 8 0 pipepl 112 5714 0 5695 12 11 1 2 0 8 0 fdescpl 424 11168 0 11154 2 0 2 2 0 8 0 filepl 120 64619 0 64523 9 5 4 5 0 8 1 lockfpl 104 3352 0 3352 4 3 1 1 0 8 1 lockfspl 48 1200 0 1200 4 3 1 1 0 8 1 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 130 0 120 1 0 1 1 0 8 0 ucredpl 96 16540 0 16533 1 0 1 1 0 8 0 zombiepl 144 11155 0 11153 2 1 1 1 0 8 0 processpl 840 11183 0 11153 4 0 4 4 0 8 0 procpl 624 24775 0 24739 5 1 4 4 0 8 1 sosppl 128 140 0 140 31 31 0 1 0 8 0 sockpl 384 7687 0 7668 8 5 3 4 0 8 1 mcl64k 65536 2052 0 2052 188 187 1 64 0 8 1 mcl16k 16384 25 0 25 20 20 0 1 0 8 0 mcl12k 12288 179 0 179 28 27 1 1 0 8 1 mcl9k 9216 165 0 165 32 31 1 1 0 8 1 mcl8k 8192 132 0 132 37 36 1 1 0 8 1 mcl4k 4096 404 0 404 14 13 1 1 0 8 1 mcl2k2 2112 52 0 52 22 21 1 1 0 8 1 mcl2k 2048 67214 0 67171 39 32 7 12 0 8 0 mtagpl 80 16 0 16 8 8 0 1 0 8 0 mbufpl 256 157871 0 157812 112 107 5 37 0 8 0 bufpl 256 31208 0 24430 424 0 424 424 0 8 0 anonpl 16 931249 0 920711 315 255 60 60 0 62 13 amapchunkpl 152 44230 0 44130 100 91 9 18 0 158 4 amappl16 192 60091 0 59509 360 322 38 42 0 8 8 amappl15 184 9 0 8 1 0 1 1 0 8 0 amappl14 176 42 0 40 2 1 1 1 0 8 0 amappl13 168 5353 0 5352 1 0 1 1 0 8 0 amappl12 160 12 0 8 1 0 1 1 0 8 0 amappl11 152 56 0 42 1 0 1 1 0 8 0 amappl10 144 3320 0 3316 2 1 1 1 0 8 0 amappl9 136 423 0 420 1 0 1 1 0 8 0 amappl8 128 142 0 123 1 0 1 1 0 8 0 amappl7 120 3294 0 3288 1 0 1 1 0 8 0 amappl6 112 60 0 52 1 0 1 1 0 8 0 amappl5 104 486 0 475 1 0 1 1 0 8 0 amappl4 96 11292 0 11271 1 0 1 1 0 8 0 amappl3 88 519 0 509 1 0 1 1 0 8 0 amappl2 80 88746 0 88679 4 2 2 3 0 8 0 amappl1 72 201815 0 201403 25 15 10 19 0 8 0 amappl 80 25119 0 25085 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 11168 0 11154 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 11168 0 11154 1 0 1 1 0 8 0 vmmpekpl 168 63385 0 63358 2 0 2 2 0 8 0 vmmpepl 168 1279655 0 1278046 287 202 85 89 0 357 10 vmsppl 272 11167 0 11154 2 1 1 2 0 8 0 pdppl 4096 22342 0 22308 6 1 5 6 0 8 0 pvpl 32 2733675 0 2720018 645 496 149 246 0 265 34 pmappl 200 11167 0 11154 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 963 0 406 20 2 18 18 0 8 0