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(46a15f983a3c9f21,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036db79d0,ffff800016bfa1b8) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036db6160,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036db6160,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036db6140,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6100,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db60e0,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db60c0,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6080,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6020,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6000,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6040,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6060,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db60a0,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6120,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6180,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db61c0,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db61e0,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6200,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6300,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6320,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6360,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6380,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6400,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6420,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6460,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db64c0,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6500,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6540,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6560,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6580,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db65c0,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db65e0,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6600,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db6f60,ffffffff8184f270,ffff800016bfa1b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff8184f270,ffff800016bfa1b8) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff81704c00,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd803a8b8600) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd803a8b8600) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd803a8b8600,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802fd74a60,ffff800014902118) at soo_close+0x40 fdrop(fffffd802fd74a60,ffff800014902118) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802fd74a60,ffff800014902118) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff800014902118) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff800014902118,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff800014902118,ffff800016bfa630,ffff800016bfa6a0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800016bfa700) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffd54a4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd5470, count: -47 ddb> show registers rdi 0x46a15f983a3c9f21 rsi 0 rbp 0xffff800016bf8ef0 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0xd5c101413845d94a r12 0 r13 0xfffffd8036db6160 r14 0 r15 0x46a15f983a3c9f21 rip 0xffffffff81704c2b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800016bf8eb0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.0) pid=101135 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80001496f9d0,0xffffffff82289fa8 process=0xffff8000ffffaa00 user=0xffff800016bf5000, vmspace=0xfffffd803f014110 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 29574 427883 0 0 3 0x14200 bored sosplice 85401 275259 31266 0 3 0x82 nanosleep syz-executor.0 60339 250236 31266 0 2 0x2 syz-executor.1 31266 496894 50602 0 3 0x82 thrsleep syz-fuzzer 31266 384358 50602 0 3 0x4000082 nanosleep syz-fuzzer 31266 193184 50602 0 3 0x4000082 thrsleep syz-fuzzer 31266 24517 50602 0 3 0x4000082 kqread syz-fuzzer 31266 199913 50602 0 3 0x4000082 thrsleep syz-fuzzer 31266 154855 50602 0 3 0x4000082 thrsleep syz-fuzzer 31266 18385 50602 0 3 0x4000082 thrsleep syz-fuzzer 50602 407276 59599 0 3 0x10008a pause ksh 59599 394648 27390 0 3 0x92 select sshd 52298 65213 1 0 3 0x100083 ttyin getty 27390 444872 1 0 3 0x80 select sshd 74893 392004 72440 73 3 0x100090 kqread syslogd 72440 390760 1 0 3 0x100082 netio syslogd 77418 374496 1 77 3 0x100090 poll dhclient 57149 297435 1 0 3 0x80 poll dhclient 17843 96574 0 0 2 0x14200 zerothread 41205 319665 0 0 3 0x14200 aiodoned aiodoned 57864 491286 0 0 3 0x14200 syncer update 97818 80068 0 0 3 0x14200 cleaner cleaner 99465 218669 0 0 3 0x14200 reaper reaper 42828 181873 0 0 3 0x14200 pgdaemon pagedaemon 14602 309800 0 0 3 0x14200 bored crynlk 62212 353322 0 0 3 0x14200 bored crypto 83044 63369 0 0 3 0x40014200 acpi0 acpi0 8642 364463 0 0 3 0x14200 bored softnet 37982 153583 0 0 2 0x14200 systqmp 77792 396883 0 0 3 0x14200 bored systq 80932 458385 0 0 3 0x40014200 bored softclock 93961 321902 0 0 3 0x40014200 idle0 55097 297090 0 0 3 0x14200 bored smr 1 444746 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 9443 6312K 6634K 78643K 10871 0 0 pcb 24 9K 10K 78643K 214 0 0 rtable 109 3K 4K 78643K 244 0 0 ifaddr 35 10K 10K 78643K 39 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 25 0 0 iov 0 0K 12K 78643K 16 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1207 76K 76K 78643K 1313 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 1K 1K 78643K 18 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 258 0 0 proc 41 30K 54K 78643K 293 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 20 0 0 in_multi 33 2K 2K 78643K 35 0 0 ether_multi 1 0K 0K 78643K 16 0 0 mrt 1 0K 0K 78643K 42 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 54 238K 238K 78643K 54 0 0 exec 0 0K 1K 78643K 198 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 81 20K 24K 78643K 1407 0 0 UVM aobj 9 2K 2K 78643K 9 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 6 0 0 NDP 5 0K 0K 78643K 10 0 0 temp 82 2700K 2768K 78643K 3594 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 169 0 161 1 0 1 1 0 8 0 rtentry 112 46 0 2 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 82 0 82 1 1 0 1 0 8 0 tcpcb 544 18 0 14 1 0 1 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 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 16 0 6 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1717 0 306 46 0 46 46 0 8 0 ffsino 240 1717 0 306 84 0 84 84 0 8 0 nchpl 144 2230 0 598 61 0 61 61 0 8 0 uvmvnodes 72 1840 0 0 34 0 34 34 0 8 0 vnodes 200 1840 0 0 97 0 97 97 0 8 0 namei 1024 5508 0 5507 2 1 1 1 0 8 0 scxspl 192 5855 0 5855 10 9 1 6 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 432 429 0 416 2 0 2 2 0 8 0 futexpl 56 2715 0 2715 1 0 1 1 0 8 1 knotepl 112 60 0 41 1 0 1 1 0 8 0 kqueuepl 104 20 0 18 1 0 1 1 0 8 0 pipepl 112 190 0 171 2 1 1 1 0 8 0 fdescpl 424 430 0 416 2 0 2 2 0 8 0 filepl 120 1839 0 1744 4 0 4 4 0 8 1 lockfpl 104 60 0 60 2 1 1 1 0 8 1 lockfspl 48 21 0 21 2 1 1 1 0 8 1 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 127 0 120 1 0 1 1 0 8 0 zombiepl 144 417 0 416 2 1 1 1 0 8 0 processpl 848 445 0 416 4 0 4 4 0 8 0 procpl 624 710 0 675 4 0 4 4 0 8 1 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 384 267 0 249 3 0 3 3 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 14 0 14 1 0 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 51792 0 51748 14 8 6 12 0 8 0 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 82217 0 82123 11 3 8 9 0 8 1 bufpl 256 6054 0 1576 280 0 280 280 0 8 0 anonpl 16 56594 0 46859 59 3 56 57 0 62 15 amapchunkpl 152 2101 0 1991 19 0 19 19 0 158 13 amappl16 192 2264 0 1754 46 12 34 39 0 8 8 amappl14 176 34 0 33 2 1 1 1 0 8 0 amappl13 168 10 0 8 1 0 1 1 0 8 0 amappl12 160 13 0 10 1 0 1 1 0 8 0 amappl11 152 175 0 160 1 0 1 1 0 8 0 amappl10 144 61 0 60 2 1 1 1 0 8 0 amappl9 136 657 0 652 1 0 1 1 0 8 0 amappl8 128 226 0 212 1 0 1 1 0 8 0 amappl7 120 28 0 25 1 0 1 1 0 8 0 amappl6 112 173 0 166 1 0 1 1 0 8 0 amappl5 104 129 0 119 1 0 1 1 0 8 0 amappl4 96 555 0 534 1 0 1 1 0 8 0 amappl3 88 176 0 164 1 0 1 1 0 8 0 amappl2 80 2608 0 2542 4 2 2 3 0 8 0 amappl1 72 16835 0 16418 26 17 9 19 0 8 0 amappl 80 966 0 927 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 430 0 416 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 430 0 416 1 0 1 1 0 8 0 vmmpekpl 168 6531 0 6504 2 0 2 2 0 8 0 vmmpepl 168 56711 0 55173 103 20 83 85 0 357 15 vmsppl 272 429 0 416 2 1 1 2 0 8 0 pdppl 4096 866 0 832 6 1 5 6 0 8 0 pvpl 32 167385 0 154672 147 6 141 142 0 265 35 pmappl 200 429 0 416 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 423 0 16 12 0 12 12 0 8 0