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(9065e68fea94235d,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036db1b30,ffff8000169ea158) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036db04a0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036db04a0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036db0480,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0460,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0300,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db02a0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0280,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0260,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0200,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db01c0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0180,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0120,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db00e0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db00c0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0040,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0020,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0000,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0060,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0080,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db00a0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0100,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0140,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0160,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db01a0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db01e0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0220,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0240,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db02c0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db02e0,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0320,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0340,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0360,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0f00,ffffffff81afdc70,ffff8000169ea158) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff81afdc70,ffff8000169ea158) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff81cd58c0,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd803706b480) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd803706b480) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd803706b480,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd80375a6000,ffff800014926d60) at soo_close+0x40 fdrop(fffffd80375a6000,ffff800014926d60) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd80375a6000,ffff800014926d60) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff800014926d60) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff800014926d60,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff800014926d60,ffff8000169ea5d0,ffff8000169ea640) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff8000169ea6a0) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffc3e34) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc3e00, count: -47 ddb> show registers rdi 0x9065e68fea94235d rsi 0 rbp 0xffff8000169e8e90 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0xa0 r9 0x5 r10 0 r11 0xdb8d2790b782512c r12 0 r13 0xfffffd8036db04a0 r14 0 r15 0x9065e68fea94235d rip 0xffffffff81cd58eb mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000169e8e50 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.0) pid=31674 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=78, nice=20 forw=0xffffffffffffffff, list=0xffff800014926610,0xffffffff822ac008 process=0xffff8000ffffa6b0 user=0xffff8000169e5000, vmspace=0xfffffd803f00b880 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 54691 353228 92283 0 2 0 syz-executor.1 54691 115051 92283 0 3 0x4000080 fsleep syz-executor.1 74220 245246 1 0 3 0x100083 ttyin getty 89308 478941 0 0 3 0x14200 bored sosplice 6727 23581 7483 0 3 0x82 nanosleep syz-executor.0 92283 336572 7483 0 3 0x82 nanosleep syz-executor.1 7483 229392 39513 0 3 0x82 kqread syz-fuzzer 7483 364479 39513 0 3 0x4000082 thrsleep syz-fuzzer 7483 247905 39513 0 3 0x4000082 thrsleep syz-fuzzer 7483 139117 39513 0 3 0x4000082 thrsleep syz-fuzzer 7483 208090 39513 0 3 0x4000082 thrsleep syz-fuzzer 7483 183990 39513 0 3 0x4000082 thrsleep syz-fuzzer 7483 267999 39513 0 3 0x4000082 thrsleep syz-fuzzer 7483 149271 39513 0 3 0x4000082 thrsleep syz-fuzzer 39513 256566 57780 0 3 0x10008a pause ksh 57780 189532 85947 0 3 0x92 select sshd 85947 210810 1 0 3 0x80 select sshd 76735 4757 28876 73 3 0x100090 kqread syslogd 28876 516206 1 0 3 0x100082 netio syslogd 4799 437010 0 0 2 0x14200 zerothread 90799 344580 0 0 3 0x14200 aiodoned aiodoned 84225 424032 0 0 3 0x14200 syncer update 22905 313358 0 0 3 0x14200 cleaner cleaner 2050 334399 0 0 3 0x14200 reaper reaper 95297 384818 0 0 3 0x14200 pgdaemon pagedaemon 67740 230358 0 0 3 0x14200 bored crynlk 57325 46319 0 0 3 0x14200 bored crypto 82772 152155 0 0 3 0x40014200 acpi0 acpi0 53117 220036 0 0 3 0x14200 bored softnet 47266 83257 0 0 2 0x14200 systqmp 12457 468270 0 0 3 0x14200 bored systq 97867 69717 0 0 3 0x40014200 bored softclock 13290 379198 0 0 3 0x40014200 idle0 60619 71085 0 0 3 0x14200 bored smr 1 467139 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 9577 6326K 7489K 78643K 45009 0 0 pcb 21 9K 11K 78643K 6310 0 0 rtable 119 4K 5K 78643K 4288 0 0 ifaddr 81 27K 34K 78643K 2844 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 482 0 0 iov 0 0K 28K 78643K 2197 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1203 76K 76K 78643K 17219 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 159 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 1K 1K 78643K 1018 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 6 17K 25K 78643K 17700 0 0 sigio 1 0K 0K 78643K 223 0 0 proc 42 30K 46K 78643K 1780 0 0 subproc 32 2K 2K 78643K 38 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 1772 0 0 in_multi 33 2K 2K 78643K 907 0 0 ether_multi 1 0K 0K 78643K 94 0 0 mrt 1 0K 0K 78643K 40 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 102 450K 450K 78643K 102 0 0 exec 0 0K 1K 78643K 1922 0 0 pfkey data 0 0K 4K 78643K 13 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 98 21K 39K 78643K 41005 0 0 UVM aobj 130 4K 4K 78643K 159 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 500 0 0 NDP 19 0K 0K 78643K 732 0 0 temp 221 2720K 3360K 78643K 55585 0 0 kqueue 0 0K 0K 78643K 118 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 5468 0 5462 2 1 1 2 0 8 0 rtentry 112 58 0 13 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 2 0 2 1 1 0 1 0 8 0 tcpqe 32 27 0 27 1 1 0 1 0 8 0 tcpcb 544 1669 0 1665 1 0 1 1 0 8 0 ipq 40 7 0 7 2 2 0 1 0 8 0 ipqe 40 14 0 14 2 2 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 swfcl 56 11 0 0 1 0 1 1 0 8 0 ppxss 1128 670 0 669 43 42 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 46 0 5 1 0 1 1 0 8 0 sysvmsgpl 40 46 0 46 2 2 0 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 1016 0 1006 1 0 1 1 0 8 0 shmpl 112 157 0 29 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 33575 0 32004 51 0 51 51 0 8 0 ffsino 240 33575 0 32004 93 0 93 93 0 8 0 nchpl 144 56728 0 55094 61 0 61 61 0 8 0 uvmvnodes 72 7094 0 0 129 0 129 129 0 8 0 vnodes 200 7094 0 0 374 0 374 374 0 8 0 namei 1024 169111 0 169111 2 1 1 1 0 8 1 scsiplug 64 9 0 9 9 9 0 1 0 8 0 scxspl 192 175366 0 175366 58 55 3 6 0 8 3 plimitpl 152 562 0 556 1 0 1 1 0 8 0 sigapl 432 17878 0 17866 2 0 2 2 0 8 0 futexpl 56 227924 0 227923 1 0 1 1 0 8 0 knotepl 112 2141 0 2122 2 1 1 2 0 8 0 kqueuepl 104 3021 0 3019 1 0 1 1 0 8 0 pipepl 112 6406 0 6385 16 15 1 2 0 8 0 fdescpl 424 17879 0 17866 2 0 2 2 0 8 0 filepl 120 90850 0 90758 18 15 3 5 0 8 0 lockfpl 104 5768 0 5768 11 10 1 1 0 8 1 lockfspl 48 2011 0 2011 11 10 1 1 0 8 1 sessionpl 112 24 0 16 1 0 1 1 0 8 0 pgrppl 48 145 0 137 1 0 1 1 0 8 0 ucredpl 96 21536 0 21530 1 0 1 1 0 8 0 zombiepl 144 17867 0 17866 2 1 1 1 0 8 0 processpl 848 17894 0 17866 4 0 4 4 0 8 0 procpl 624 39639 0 39603 5 1 4 4 0 8 0 sosppl 128 177 0 177 30 29 1 1 0 8 1 sockpl 384 11219 0 11207 22 20 2 4 0 8 0 mcl64k 65536 3194 0 3194 176 162 14 33 0 8 14 mcl16k 16384 52 0 52 23 22 1 1 0 8 1 mcl12k 12288 219 0 219 40 40 0 1 0 8 0 mcl9k 9216 333 0 333 34 33 1 1 0 8 1 mcl8k 8192 192 0 192 46 46 0 1 0 8 0 mcl4k 4096 965 0 965 24 23 1 1 0 8 1 mcl2k2 2112 78 0 78 32 32 0 1 0 8 0 mcl2k 2048 58997 0 58963 54 49 5 10 0 8 0 mtagpl 80 20 0 20 8 8 0 1 0 8 0 mbufpl 256 201116 0 201076 86 82 4 21 0 8 0 bufpl 256 48631 0 41537 444 0 444 444 0 8 0 anonpl 16 1410816 0 1403502 369 331 38 47 0 62 7 amapchunkpl 152 69792 0 69714 135 127 8 14 0 158 4 amappl16 192 89380 0 88994 351 330 21 32 0 8 1 amappl15 184 6 0 6 6 6 0 1 0 8 0 amappl14 176 41 0 38 2 1 1 1 0 8 0 amappl13 168 8924 0 8922 1 0 1 1 0 8 0 amappl12 160 8745 0 8741 2 1 1 1 0 8 0 amappl11 152 58 0 50 1 0 1 1 0 8 0 amappl10 144 66 0 65 3 2 1 1 0 8 0 amappl9 136 354 0 350 1 0 1 1 0 8 0 amappl8 128 169 0 137 2 0 2 2 0 8 0 amappl7 120 30 0 27 1 0 1 1 0 8 0 amappl6 112 58 0 50 1 0 1 1 0 8 0 amappl5 104 9368 0 9358 1 0 1 1 0 8 0 amappl4 96 9412 0 9393 1 0 1 1 0 8 0 amappl3 88 10475 0 10464 1 0 1 1 0 8 0 amappl2 80 143382 0 143313 4 2 2 3 0 8 0 amappl1 72 317302 0 316898 26 17 9 19 0 8 0 amappl 80 40017 0 39987 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 158 0 29 3 0 3 3 0 8 0 uaddrrnd 24 17879 0 17866 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17879 0 17866 1 0 1 1 0 8 0 vmmpekpl 168 82822 0 82791 2 0 2 2 0 8 0 vmmpepl 168 2035586 0 2034116 304 237 67 78 0 357 0 vmsppl 272 17878 0 17866 2 1 1 2 0 8 0 pdppl 4096 35765 0 35732 6 1 5 6 0 8 0 pvpl 32 4648072 0 4637680 806 692 114 195 0 265 29 pmappl 200 17878 0 17866 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 980 0 390 18 0 18 18 0 8 0