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(168fdc2d2c46933a,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036db1a10,ffff800015a3cd68) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8030dbb8e8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8030dbb8e8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8030dbb8c8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb8a8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb888,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb868,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb828,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb808,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb7c8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb788,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb748,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb728,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb708,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb6e8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb668,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb628,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb5e8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb5c8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb4e8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb4c8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb4a8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb488,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb3a8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb388,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb348,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb328,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb308,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb2c8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb268,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb208,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8030dbb1c8,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0f40,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0f60,ffffffff81be1de0,ffff800015a3cd68) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff81be1de0,ffff800015a3cd68) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff81014550,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd8037dc0a80) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd8037dc0a80) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd8037dc0a80,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd803e09a5b0,ffff800014920880) at soo_close+0x40 fdrop(fffffd803e09a5b0,ffff800014920880) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd803e09a5b0,ffff800014920880) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff800014920880) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff800014920880,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff800014920880,ffff800015a3d1e0,ffff800015a3d250) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800015a3d2b0) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffe0fa4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe0f70, count: -47 ddb> show registers rdi 0x168fdc2d2c46933a rsi 0 rbp 0xffff800015a3baa0 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0xfdf45a6b9690316f r12 0 r13 0xfffffd8030dbb8e8 r14 0 r15 0x168fdc2d2c46933a rip 0xffffffff8101457b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800015a3ba60 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.0) pid=293765 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000149203a0,0xffffffff822aa4b0 process=0xffff8000ffffb3f0 user=0xffff800015a38000, vmspace=0xfffffd803f014990 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 48583 81754 86987 0 3 0x80 nanosleep syz-executor.1 48583 484342 86987 0 3 0x4000080 select syz-executor.1 48583 236785 86987 0 3 0x4000080 fsleep syz-executor.1 93133 400222 1 0 3 0x100083 ttyin getty 18146 460812 0 0 3 0x14200 bored sosplice 86987 376722 40919 0 3 0x82 nanosleep syz-executor.1 7172 431894 40919 0 3 0x82 nanosleep syz-executor.0 40919 342487 58869 0 3 0x82 kqread syz-fuzzer 40919 135887 58869 0 3 0x4000082 thrsleep syz-fuzzer 40919 431992 58869 0 3 0x4000082 thrsleep syz-fuzzer 40919 408623 58869 0 3 0x4000082 thrsleep syz-fuzzer 40919 81923 58869 0 3 0x4000082 thrsleep syz-fuzzer 40919 38720 58869 0 3 0x4000082 thrsleep syz-fuzzer 40919 468310 58869 0 3 0x4000082 thrsleep syz-fuzzer 58869 145648 96479 0 3 0x10008a pause ksh 96479 4842 30366 0 3 0x92 select sshd 30366 395499 1 0 3 0x80 select sshd 42673 204910 17107 73 3 0x100090 kqread syslogd 17107 454252 1 0 3 0x100082 netio syslogd 89390 478436 1 77 3 0x100090 poll dhclient 78268 47755 1 0 3 0x80 poll dhclient 39874 125642 0 0 2 0x14200 zerothread 54546 177856 0 0 3 0x14200 aiodoned aiodoned 81383 373451 0 0 3 0x14200 syncer update 66663 53925 0 0 3 0x14200 cleaner cleaner 95696 317777 0 0 3 0x14200 reaper reaper 71008 390548 0 0 3 0x14200 pgdaemon pagedaemon 90135 383180 0 0 3 0x14200 bored crynlk 18536 204280 0 0 3 0x14200 bored crypto 96554 574 0 0 3 0x40014200 acpi0 acpi0 37691 408279 0 0 3 0x14200 bored softnet 13536 244239 0 0 2 0x14200 systqmp 4410 190150 0 0 3 0x14200 bored systq 65261 442362 0 0 3 0x40014200 bored softclock 90892 344443 0 0 3 0x40014200 idle0 59246 360041 0 0 3 0x14200 bored smr 1 54267 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 9565 7017K 14703K 78643K 101964 0 0 pcb 25 9K 11K 78643K 17143 0 0 rtable 136 5K 6K 78643K 5949 0 0 ifaddr 71 26K 34K 78643K 3207 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 1623 0 0 iov 0 0K 32K 78643K 4235 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1187 75K 76K 78643K 34269 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 9K 78643K 421 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 2900 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 35703 0 0 sigio 0 0K 0K 78643K 514 0 0 proc 43 30K 54K 78643K 3701 0 0 subproc 32 2K 2K 78643K 69 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 3492 0 0 in_multi 33 2K 2K 78643K 1074 0 0 ether_multi 1 0K 0K 78643K 114 0 0 mrt 2 0K 0K 78643K 80 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 132 583K 583K 78643K 132 0 0 exec 0 0K 1K 78643K 3874 0 0 pfkey data 0 0K 4K 78643K 26 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 125 22K 32K 78643K 84480 0 0 UVM aobj 130 4K 4K 78643K 157 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 1251 0 0 NDP 16 0K 0K 78643K 845 0 0 temp 199 2720K 3360K 78643K 112233 0 0 kqueue 0 0K 0K 78643K 226 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 13880 0 13869 22 21 1 2 0 8 0 rtentry 112 93 0 48 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 22 0 22 1 1 0 1 0 8 0 tcpcb 544 4890 0 4886 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 swfcl 56 3 0 0 1 0 1 1 0 8 0 ppxss 1128 725 0 725 92 91 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 218 0 0 14 0 14 14 0 8 0 art_table 32 219 0 0 2 0 2 2 0 8 0 art_node 16 46 0 5 1 0 1 1 0 8 0 sysvmsgpl 40 34 0 23 1 0 1 1 0 8 0 semapl 112 2898 0 2888 1 0 1 1 0 8 0 shmpl 112 155 0 27 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 59878 0 57994 62 1 61 61 0 8 0 ffsino 240 59878 0 57994 113 1 112 112 0 8 0 nchpl 144 110009 0 109516 61 39 22 61 0 8 0 uvmvnodes 72 7099 0 0 130 0 130 130 0 8 0 vnodes 200 7099 0 0 374 0 374 374 0 8 0 namei 1024 356937 0 356937 7 6 1 1 0 8 1 scsiplug 64 57 0 57 42 42 0 1 0 8 0 scxspl 192 347082 0 347082 162 161 1 6 0 8 1 plimitpl 152 1135 0 1128 1 0 1 1 0 8 0 sigapl 432 35882 0 35868 2 0 2 2 0 8 0 futexpl 56 576598 0 576597 6 5 1 1 0 8 0 knotepl 112 6052 0 6033 2 1 1 2 0 8 0 kqueuepl 104 8105 0 8103 1 0 1 1 0 8 0 pipepl 112 19628 0 19609 47 46 1 2 0 8 0 fdescpl 424 35883 0 35868 2 0 2 2 0 8 0 filepl 120 216525 0 216427 15 11 4 5 0 8 0 lockfpl 104 11634 0 11634 26 25 1 1 0 8 1 lockfspl 48 3919 0 3919 26 25 1 1 0 8 1 sessionpl 112 25 0 15 1 0 1 1 0 8 0 pgrppl 48 391 0 381 1 0 1 1 0 8 0 ucredpl 96 50188 0 50181 1 0 1 1 0 8 0 zombiepl 144 35869 0 35868 2 1 1 1 0 8 0 processpl 848 35898 0 35868 4 0 4 4 0 8 0 procpl 624 82294 0 82256 5 1 4 4 0 8 0 sosppl 128 407 0 407 93 92 1 1 0 8 1 sockpl 384 29237 0 29218 34 31 3 4 0 8 1 mcl64k 65536 6962 0 6962 673 672 1 64 0 8 1 mcl16k 16384 377 0 377 87 86 1 1 0 8 1 mcl12k 12288 567 0 567 91 90 1 1 0 8 1 mcl9k 9216 666 0 666 96 95 1 1 0 8 1 mcl8k 8192 539 0 539 93 92 1 1 0 8 1 mcl4k 4096 1586 0 1586 34 33 1 1 0 8 1 mcl2k2 2112 764 0 764 100 100 0 1 0 8 0 mcl2k 2048 109848 0 109811 16 10 6 11 0 8 0 mtagpl 80 58 0 58 20 19 1 1 0 8 1 mbufpl 256 353654 0 353592 299 293 6 36 0 8 0 bufpl 256 91644 0 84544 446 1 445 445 0 8 0 anonpl 16 2914331 0 2902789 960 907 53 65 0 62 4 amapchunkpl 152 143599 0 143460 222 215 7 19 0 158 0 amappl16 192 186751 0 186147 974 941 33 44 0 8 2 amappl15 184 17948 0 17947 2 1 1 1 0 8 0 amappl14 176 44 0 40 2 1 1 1 0 8 0 amappl13 168 3 0 3 3 3 0 1 0 8 0 amappl12 160 13 0 13 6 6 0 1 0 8 0 amappl11 152 17793 0 17777 1 0 1 1 0 8 0 amappl10 144 82 0 80 2 1 1 1 0 8 0 amappl9 136 538 0 534 1 0 1 1 0 8 0 amappl8 128 190 0 152 2 0 2 2 0 8 0 amappl7 120 41 0 36 1 0 1 1 0 8 0 amappl6 112 17817 0 17810 1 0 1 1 0 8 0 amappl5 104 444 0 434 1 0 1 1 0 8 0 amappl4 96 36574 0 36548 1 0 1 1 0 8 0 amappl3 88 1486 0 1476 1 0 1 1 0 8 0 amappl2 80 306691 0 306617 4 2 2 3 0 8 0 amappl1 72 615234 0 614804 26 17 9 19 0 8 0 amappl 80 82789 0 82744 3 1 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 156 0 27 3 0 3 3 0 8 0 uaddrrnd 24 35883 0 35868 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 35883 0 35868 1 0 1 1 0 8 0 vmmpekpl 168 223044 0 223016 2 0 2 2 0 8 0 vmmpepl 168 4149918 0 4148153 717 637 80 105 0 357 3 vmsppl 272 35882 0 35868 2 1 1 2 0 8 0 pdppl 4096 71772 0 71736 6 1 5 6 0 8 0 pvpl 32 8547100 0 8532340 1746 1601 145 258 0 265 25 pmappl 200 35882 0 35868 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 1802 0 1199 26 7 19 20 0 8 0