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(b59dbc5c233672cd,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036daca00,ffff80001494c0b8) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036dab3c0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036dab3c0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036dab3a0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab360,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab2a0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab260,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab220,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab1a0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab140,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab120,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab100,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab0e0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab0c0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab040,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab020,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab000,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab060,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab080,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab0a0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab160,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab180,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab1c0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab1e0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab200,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab240,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab280,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab2c0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab2e0,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab300,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab320,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab340,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dab380,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dabf60,ffffffff81cec0d0,ffff80001494c0b8) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff81cec0d0,ffff80001494c0b8) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff81133d30,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd80381a8180) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd80381a8180) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd80381a8180,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802fe12d30,ffff800014902388) at soo_close+0x40 fdrop(fffffd802fe12d30,ffff800014902388) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802fe12d30,ffff800014902388) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff800014902388) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff800014902388,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff800014902388,ffff80001494c530,ffff80001494c5a0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff80001494c600) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffdd2e4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffdd2b0, count: -47 ddb> show registers rdi 0xb59dbc5c233672cd rsi 0 rbp 0xffff80001494adf0 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0x91bfaf6b4bf02ef7 r12 0 r13 0xfffffd8036dab3c0 r14 0 r15 0xb59dbc5c233672cd rip 0xffffffff81133d5b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001494adb0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=457204 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=79, nice=20 forw=0xffffffffffffffff, list=0xffff800014970d50,0xffffffff8229b1b0 process=0xffff8000ffffb0a0 user=0xffff800014947000, vmspace=0xfffffd803f013cc0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 34404 230240 1 0 3 0x100083 ttyin getty 30455 132285 0 0 3 0x14200 bored sosplice 10948 479060 54032 0 2 0x2 syz-executor.0 75218 266159 54032 0 3 0x82 nanosleep syz-executor.1 54032 201897 92560 0 3 0x82 kqread syz-fuzzer 54032 420111 92560 0 3 0x4000082 nanosleep syz-fuzzer 54032 7802 92560 0 3 0x4000082 thrsleep syz-fuzzer 54032 479277 92560 0 3 0x4000082 thrsleep syz-fuzzer 54032 235832 92560 0 3 0x4000082 thrsleep syz-fuzzer 54032 48448 92560 0 3 0x4000082 thrsleep syz-fuzzer 54032 242666 92560 0 3 0x4000082 thrsleep syz-fuzzer 92560 169344 6591 0 3 0x10008a pause ksh 6591 433728 86833 0 3 0x92 select sshd 86833 214674 1 0 3 0x80 select sshd 24740 149567 76840 73 3 0x100090 kqread syslogd 76840 110347 1 0 3 0x100082 netio syslogd 76638 52247 1 77 3 0x100090 poll dhclient 9511 9239 1 0 3 0x80 poll dhclient 96136 319354 0 0 2 0x14200 zerothread 14950 221341 0 0 3 0x14200 aiodoned aiodoned 64098 457461 0 0 3 0x14200 syncer update 26575 334187 0 0 3 0x14200 cleaner cleaner 92957 333193 0 0 3 0x14200 reaper reaper 10520 422016 0 0 3 0x14200 pgdaemon pagedaemon 11537 454928 0 0 3 0x14200 bored crynlk 6558 251736 0 0 3 0x14200 bored crypto 41081 99944 0 0 3 0x40014200 acpi0 acpi0 81393 361117 0 0 3 0x14200 bored softnet 71414 145087 0 0 2 0x14200 systqmp 17352 489148 0 0 3 0x14200 bored systq 46742 104562 0 0 3 0x40014200 bored softclock 36638 343072 0 0 3 0x40014200 idle0 38967 45060 0 0 3 0x14200 bored smr 1 196411 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 9483 6349K 6981K 78643K 13678 0 0 pcb 25 9K 10K 78643K 640 0 0 rtable 109 3K 4K 78643K 334 0 0 ifaddr 49 12K 12K 78643K 120 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 73 0 0 iov 0 0K 24K 78643K 150 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1205 76K 76K 78643K 2272 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 14 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 1K 78643K 582 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 1725 0 0 sigio 0 0K 0K 78643K 6 0 0 proc 42 30K 54K 78643K 442 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 110 0 0 in_multi 33 2K 2K 78643K 63 0 0 ether_multi 1 0K 0K 78643K 6 0 0 mrt 1 0K 0K 78643K 5 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 319 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 83 20K 38K 78643K 4744 0 0 UVM aobj 46 2K 3K 78643K 50 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 51 0 0 NDP 9 0K 0K 78643K 31 0 0 temp 150 2715K 2842K 78643K 7680 0 0 kqueue 0 0K 0K 78643K 3 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 531 0 522 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 68 0 68 1 1 0 1 0 8 0 tcpcb 544 198 0 194 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 16 0 16 7 7 0 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 45 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 1 0 1 1 0 8 0 semapl 112 580 0 570 1 0 1 1 0 8 0 shmpl 112 48 0 4 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3863 0 2448 46 0 46 46 0 8 0 ffsino 240 3863 0 2448 84 0 84 84 0 8 0 nchpl 144 6402 0 4776 61 0 61 61 0 8 0 uvmvnodes 72 4608 0 0 84 0 84 84 0 8 0 vnodes 200 4608 0 0 243 0 243 243 0 8 0 namei 1024 18629 0 18629 3 2 1 1 0 8 1 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 19448 0 19448 11 10 1 6 0 8 1 plimitpl 152 56 0 49 1 0 1 1 0 8 0 sigapl 432 1899 0 1886 2 0 2 2 0 8 0 futexpl 56 25371 0 25371 2 1 1 1 0 8 1 knotepl 112 253 0 234 1 0 1 1 0 8 0 kqueuepl 104 282 0 280 1 0 1 1 0 8 0 pipepl 112 944 0 925 2 1 1 1 0 8 0 fdescpl 424 1900 0 1886 2 0 2 2 0 8 0 filepl 120 9544 0 9448 4 0 4 4 0 8 1 lockfpl 104 516 0 516 3 2 1 1 0 8 1 lockfspl 48 182 0 182 3 2 1 1 0 8 1 sessionpl 112 20 0 10 1 0 1 1 0 8 0 pgrppl 48 38 0 28 1 0 1 1 0 8 0 ucredpl 96 2045 0 2038 1 0 1 1 0 8 0 zombiepl 144 1887 0 1886 2 1 1 1 0 8 0 processpl 848 1915 0 1886 4 0 4 4 0 8 0 procpl 624 4007 0 3972 6 2 4 4 0 8 1 sosppl 128 15 0 15 3 3 0 1 0 8 0 sockpl 384 1099 0 1080 6 3 3 3 0 8 1 mcl64k 65536 49 0 49 6 5 1 1 0 8 1 mcl16k 16384 16 0 16 5 4 1 1 0 8 1 mcl12k 12288 21 0 21 6 5 1 1 0 8 1 mcl9k 9216 16 0 16 6 5 1 1 0 8 1 mcl8k 8192 19 0 19 7 6 1 1 0 8 1 mcl4k 4096 55 0 55 5 4 1 1 0 8 1 mcl2k2 2112 12 0 12 6 6 0 1 0 8 0 mcl2k 2048 52727 0 52680 19 11 8 14 0 8 1 mtagpl 80 4 0 4 2 2 0 1 0 8 0 mbufpl 256 90629 0 90564 11 4 7 9 0 8 0 bufpl 256 10137 0 4446 356 0 356 356 0 8 0 anonpl 16 166182 0 155564 88 28 60 60 0 62 16 amapchunkpl 152 7511 0 7411 22 8 14 14 0 158 9 amappl16 192 9332 0 8749 71 38 33 42 0 8 2 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 50 0 47 2 1 1 1 0 8 0 amappl12 160 11 0 8 1 0 1 1 0 8 0 amappl11 152 50 0 35 1 0 1 1 0 8 0 amappl10 144 66 0 65 2 1 1 1 0 8 0 amappl9 136 2237 0 2231 1 0 1 1 0 8 0 amappl8 128 1824 0 1805 1 0 1 1 0 8 0 amappl7 120 29 0 26 1 0 1 1 0 8 0 amappl6 112 53 0 47 1 0 1 1 0 8 0 amappl5 104 145 0 135 1 0 1 1 0 8 0 amappl4 96 2073 0 2051 1 0 1 1 0 8 0 amappl3 88 203 0 193 1 0 1 1 0 8 0 amappl2 80 14517 0 14451 4 2 2 3 0 8 0 amappl1 72 40620 0 40206 25 16 9 19 0 8 1 amappl 80 4255 0 4221 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 49 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1900 0 1886 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1900 0 1886 1 0 1 1 0 8 0 vmmpekpl 168 14091 0 14064 2 0 2 2 0 8 0 vmmpepl 168 223529 0 221922 121 44 77 85 0 357 4 vmsppl 272 1899 0 1886 2 1 1 2 0 8 0 pdppl 4096 3806 0 3772 6 1 5 6 0 8 0 pvpl 32 511635 0 497962 237 47 190 190 0 265 75 pmappl 200 1899 0 1886 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 529 0 42 14 0 14 14 0 8 0