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(e11fecb98c708684,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036db5a80,ffff800017a07e08) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd802fe727e8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd802fe727e8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd802fe727a8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72748,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72708,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72668,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72648,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72628,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe725a8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72588,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72548,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72528,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72508,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe724e8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe724c8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe724a8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72468,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72448,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72428,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72408,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe723e8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72388,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72368,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72328,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72308,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe722e8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72288,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72208,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe721e8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe721a8,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd802fe72168,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db4e80,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db4f20,ffffffff815dda10,ffff800017a07e08) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff815dda10,ffff800017a07e08) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff814c2180,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd80398bda80) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd80398bda80) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd80398bda80,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802fba33d0,ffff800014901758) at soo_close+0x40 fdrop(fffffd802fba33d0,ffff800014901758) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802fba33d0,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,ffff800017a08280,ffff800017a082f0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800017a08350) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffbb824) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbb7f0, count: -47 ddb> show registers rdi 0xe11fecb98c708684 rsi 0 rbp 0xffff800017a06b40 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0xee1dc22af7f07bf6 r12 0 r13 0xfffffd802fe727e8 r14 0 r15 0xe11fecb98c708684 rip 0xffffffff814c21ab mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800017a06b00 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.0) pid=3348 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800014970120,0xffffffff822c2710 process=0xffff8000ffffa9e8 user=0xffff800017a03000, vmspace=0xfffffd803f013dd0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 15373 364037 96616 0 3 0x80 nanosleep syz-executor.1 15373 345355 96616 0 3 0x4000080 bell syz-executor.1 14703 512730 1 0 3 0x100083 ttyin getty 68960 242118 0 0 3 0x14200 bored sosplice 96616 106587 70080 0 3 0x82 nanosleep syz-executor.1 349 448804 70080 0 3 0x82 nanosleep syz-executor.0 70080 129682 69213 0 3 0x82 thrsleep syz-fuzzer 70080 415677 69213 0 3 0x4000082 nanosleep syz-fuzzer 70080 220821 69213 0 3 0x4000082 thrsleep syz-fuzzer 70080 209042 69213 0 3 0x4000082 kqread syz-fuzzer 70080 238510 69213 0 3 0x4000082 thrsleep syz-fuzzer 70080 448694 69213 0 3 0x4000082 thrsleep syz-fuzzer 70080 443897 69213 0 3 0x4000082 thrsleep syz-fuzzer 69213 27082 85309 0 3 0x10008a pause ksh 85309 286117 53075 0 3 0x92 select sshd 53075 498578 1 0 3 0x80 select sshd 91617 263467 23469 73 3 0x100090 kqread syslogd 23469 88421 1 0 3 0x100082 netio syslogd 17047 351474 1 77 3 0x100090 poll dhclient 99448 381102 1 0 3 0x80 poll dhclient 13198 455660 0 0 2 0x14200 zerothread 8347 151316 0 0 3 0x14200 aiodoned aiodoned 67234 275943 0 0 3 0x14200 syncer update 68215 303143 0 0 3 0x14200 cleaner cleaner 18553 251771 0 0 3 0x14200 reaper reaper 64840 227443 0 0 3 0x14200 pgdaemon pagedaemon 87441 456496 0 0 3 0x14200 bored crynlk 49429 178661 0 0 3 0x14200 bored crypto 64643 330999 0 0 3 0x40014200 acpi0 acpi0 58104 389932 0 0 3 0x14200 bored softnet 99956 338649 0 0 2 0x14200 systqmp 33174 9522 0 0 3 0x14200 bored systq 28870 445396 0 0 3 0x40014200 bored softclock 82462 449964 0 0 3 0x40014200 idle0 66474 174059 0 0 3 0x14200 bored smr 1 468260 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 9503 6347K 6983K 78643K 18040 0 0 pcb 25 9K 11K 78643K 1312 0 0 rtable 139 5K 5K 78643K 770 0 0 ifaddr 54 14K 14K 78643K 343 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 125 0 0 iov 0 0K 32K 78643K 335 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1201 75K 76K 78643K 3784 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 45 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 177 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 2788 0 0 sigio 0 0K 0K 78643K 43 0 0 proc 42 30K 54K 78643K 627 0 0 subproc 32 2K 2K 78643K 34 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 290 0 0 in_multi 33 2K 2K 78643K 122 0 0 ether_multi 1 0K 0K 78643K 15 0 0 mrt 2 0K 0K 78643K 18 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 90 397K 397K 78643K 90 0 0 exec 0 0K 1K 78643K 385 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 29K 78643K 7299 0 0 UVM aobj 130 4K 4K 78643K 146 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 82 0 0 NDP 11 0K 0K 78643K 90 0 0 temp 163 2719K 2846K 78643K 11763 0 0 kqueue 0 0K 0K 78643K 18 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 1134 0 1125 1 0 1 1 0 8 0 rtentry 112 56 0 2 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 44 0 44 1 1 0 1 0 8 0 tcpcb 544 418 0 414 1 0 1 1 0 8 0 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 4 0 4 1 1 0 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 66 0 66 10 9 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 219 0 0 14 0 14 14 0 8 0 art_table 32 220 0 0 2 0 2 2 0 8 0 art_node 16 55 0 14 1 0 1 1 0 8 0 sysvmsgpl 40 10 0 2 1 0 1 1 0 8 0 semapl 112 175 0 165 1 0 1 1 0 8 0 shmpl 112 144 0 16 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 5810 0 4353 48 0 48 48 0 8 0 ffsino 240 5810 0 4353 86 0 86 86 0 8 0 nchpl 144 9870 0 8242 61 0 61 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 200 5926 0 0 312 0 312 312 0 8 0 namei 1024 30477 0 30477 2 1 1 1 0 8 1 scsiplug 64 8 0 8 4 4 0 1 0 8 0 scxspl 192 30040 0 30040 22 21 1 6 0 8 1 plimitpl 152 93 0 86 1 0 1 1 0 8 0 sigapl 432 2962 0 2948 2 0 2 2 0 8 0 futexpl 56 43249 0 43249 1 0 1 1 0 8 1 knotepl 112 486 0 467 1 0 1 1 0 8 0 kqueuepl 104 609 0 607 1 0 1 1 0 8 0 pipepl 112 1832 0 1813 8 7 1 2 0 8 0 fdescpl 424 2963 0 2948 2 0 2 2 0 8 0 filepl 120 17446 0 17349 6 2 4 5 0 8 1 lockfpl 104 967 0 966 2 1 1 1 0 8 0 lockfspl 48 343 0 342 2 1 1 1 0 8 0 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 48 0 38 1 0 1 1 0 8 0 ucredpl 96 3743 0 3736 1 0 1 1 0 8 0 zombiepl 144 2949 0 2948 2 1 1 1 0 8 0 processpl 840 2978 0 2948 4 0 4 4 0 8 0 procpl 624 6504 0 6467 4 0 4 4 0 8 1 sosppl 128 38 0 38 8 8 0 1 0 8 0 sockpl 384 2291 0 2272 4 1 3 4 0 8 1 mcl64k 65536 68 0 68 10 10 0 1 0 8 0 mcl16k 16384 4 0 4 4 4 0 1 0 8 0 mcl12k 12288 49 0 49 7 6 1 1 0 8 1 mcl9k 9216 36 0 36 8 8 0 1 0 8 0 mcl8k 8192 44 0 44 10 9 1 1 0 8 1 mcl4k 4096 100 0 100 5 4 1 1 0 8 1 mcl2k2 2112 15 0 15 10 9 1 1 0 8 1 mcl2k 2048 54915 0 54874 15 9 6 12 0 8 0 mtagpl 80 12 0 11 6 5 1 1 0 8 0 mbufpl 256 99279 0 99212 10 5 5 8 0 8 0 bufpl 256 12105 0 7624 281 0 281 281 0 8 0 anonpl 16 228875 0 218273 85 40 45 61 0 62 0 amapchunkpl 152 11530 0 11427 21 16 5 9 0 158 0 amappl16 192 12517 0 11933 60 30 30 42 0 8 0 amappl15 184 1366 0 1364 1 0 1 1 0 8 0 amappl14 176 1407 0 1400 2 1 1 1 0 8 0 amappl12 160 1397 0 1395 2 1 1 1 0 8 0 amappl11 152 52 0 38 1 0 1 1 0 8 0 amappl10 144 72 0 71 2 1 1 1 0 8 0 amappl9 136 548 0 545 1 0 1 1 0 8 0 amappl8 128 131 0 116 1 0 1 1 0 8 0 amappl7 120 28 0 25 1 0 1 1 0 8 0 amappl6 112 52 0 46 1 0 1 1 0 8 0 amappl5 104 1535 0 1524 1 0 1 1 0 8 0 amappl4 96 1759 0 1735 1 0 1 1 0 8 0 amappl3 88 2996 0 2981 1 0 1 1 0 8 0 amappl2 80 23132 0 23059 4 2 2 3 0 8 0 amappl1 72 59124 0 58708 24 15 9 19 0 8 0 amappl 80 6759 0 6723 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 145 0 16 3 0 3 3 0 8 0 uaddrrnd 24 2963 0 2948 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2963 0 2948 1 0 1 1 0 8 0 vmmpekpl 168 21808 0 21780 2 0 2 2 0 8 0 vmmpepl 168 346580 0 344883 123 47 76 91 0 357 2 vmsppl 272 2962 0 2948 2 1 1 2 0 8 0 pdppl 4096 5932 0 5896 6 1 5 6 0 8 0 pvpl 32 669359 0 655653 204 79 125 153 0 265 12 pmappl 200 2962 0 2948 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 456 0 46 12 0 12 12 0 8 0