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(de7891eac2ca877a,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036db0af0,ffff800016bfdeb8) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036daf480,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036daf480,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036daf460,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf420,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf400,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf3c0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf3a0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf340,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf320,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf2e0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf2a0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf280,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf260,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf240,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf220,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf1c0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf1a0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf180,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf160,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf0e0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf080,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf060,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf000,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf020,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf040,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf0a0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf0c0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf100,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf120,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf140,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf1e0,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daf200,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daff60,ffffffff81479550,ffff800016bfdeb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff81479550,ffff800016bfdeb8) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff813dfe10,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd8037d8d780) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd8037d8d780) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd8037d8d780,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802fc55358,ffff800014902ad8) at soo_close+0x40 fdrop(fffffd802fc55358,ffff800014902ad8) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802fc55358,ffff800014902ad8) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff800014902ad8) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff800014902ad8,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff800014902ad8,ffff800016bfe330,ffff800016bfe3a0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800016bfe400) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffd9f04) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd9ed0, count: -47 ddb> show registers rdi 0xde7891eac2ca877a rsi 0 rbp 0xffff800016bfcbf0 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0x6d7109bed806074b r12 0 r13 0xfffffd8036daf480 r14 0 r15 0xde7891eac2ca877a rip 0xffffffff813dfe3b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800016bfcbb0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=7796 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=67, nice=20 forw=0xffffffffffffffff, list=0xffff800014902868,0xffffffff8228ea08 process=0xffff8000ffffb3f0 user=0xffff800016bf9000, 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 74280 383991 39481 0 3 0x2 biowait syz-executor.0 97941 449260 39481 0 3 0x82 nanosleep syz-executor.1 39481 55170 83592 0 3 0x82 thrsleep syz-fuzzer 39481 188334 83592 0 3 0x4000082 nanosleep syz-fuzzer 39481 181488 83592 0 3 0x4000082 thrsleep syz-fuzzer 39481 397422 83592 0 3 0x4000082 kqread syz-fuzzer 39481 336791 83592 0 3 0x4000082 thrsleep syz-fuzzer 39481 304843 83592 0 3 0x4000082 thrsleep syz-fuzzer 39481 109399 83592 0 3 0x4000082 thrsleep syz-fuzzer 83592 22865 34288 0 3 0x10008a pause ksh 34288 209333 97990 0 3 0x92 select sshd 81045 407637 1 0 3 0x100083 ttyin getty 97990 430686 1 0 3 0x80 select sshd 31878 415659 56367 73 3 0x100090 kqread syslogd 56367 370946 1 0 3 0x100082 netio syslogd 93335 465321 1 77 3 0x100090 poll dhclient 1970 166655 1 0 3 0x80 poll dhclient 58961 250686 0 0 2 0x14200 zerothread 89970 331127 0 0 3 0x14200 aiodoned aiodoned 91372 248848 0 0 3 0x14200 syncer update 36548 153324 0 0 3 0x14200 cleaner cleaner 56162 417071 0 0 3 0x14200 reaper reaper 80085 489288 0 0 3 0x14200 pgdaemon pagedaemon 53158 419125 0 0 3 0x14200 bored crynlk 29421 359525 0 0 3 0x14200 bored crypto 23431 365994 0 0 3 0x40014200 acpi0 acpi0 57497 91333 0 0 3 0x14200 bored softnet 31037 82010 0 0 2 0x14200 systqmp 65446 342738 0 0 3 0x14200 bored systq 41099 69066 0 0 3 0x40014200 bored softclock 67047 314531 0 0 3 0x40014200 idle0 69564 486216 0 0 3 0x14200 bored smr 1 349182 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 9439 6312K 6505K 78643K 10595 0 0 pcb 24 9K 9K 78643K 169 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 15 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1213 76K 76K 78643K 1234 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 1K 78643K 2 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 2 0K 0K 78643K 2 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 176 0 0 proc 41 30K 54K 78643K 288 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 14 0 0 in_multi 33 2K 2K 78643K 36 0 0 ether_multi 1 0K 0K 78643K 13 0 0 mrt 1 0K 0K 78643K 41 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 36 159K 159K 78643K 36 0 0 exec 0 0K 1K 78643K 182 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 76 20K 20K 78643K 1177 0 0 UVM aobj 2 2K 2K 78643K 2 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 4 0 0 NDP 5 0K 0K 78643K 10 0 0 temp 80 2704K 2768K 78643K 3336 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 150 0 142 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 52 0 52 1 1 0 1 0 8 0 tcpcb 544 12 0 8 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 0 1 1 0 8 1 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 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1588 0 171 46 0 46 46 0 8 0 ffsino 240 1588 0 171 84 0 84 84 0 8 0 nchpl 144 1971 0 340 61 0 61 61 0 8 0 uvmvnodes 72 1643 0 0 30 0 30 30 0 8 0 vnodes 200 1643 0 0 87 0 87 87 0 8 0 namei 1024 4743 0 4743 2 1 1 1 0 8 1 scxspl 192 4925 0 4924 7 6 1 5 0 8 0 plimitpl 152 14 0 7 1 0 1 1 0 8 0 sigapl 432 347 0 334 2 0 2 2 0 8 0 futexpl 56 1324 0 1324 1 0 1 1 0 8 1 knotepl 112 59 0 40 1 0 1 1 0 8 0 kqueuepl 104 8 0 6 1 0 1 1 0 8 0 pipepl 112 154 0 135 2 1 1 1 0 8 0 fdescpl 424 348 0 334 2 0 2 2 0 8 0 filepl 120 1389 0 1294 4 0 4 4 0 8 1 lockfpl 104 14 0 14 2 1 1 1 0 8 1 lockfspl 48 7 0 7 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 92 0 85 1 0 1 1 0 8 0 zombiepl 144 335 0 334 2 1 1 1 0 8 0 processpl 848 362 0 334 4 0 4 4 0 8 0 procpl 624 516 0 482 4 0 4 4 0 8 1 sockpl 384 206 0 188 3 0 3 3 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 2 0 2 1 0 1 1 0 8 1 mcl4k 4096 10 0 10 2 2 0 1 0 8 0 mcl2k 2048 50974 0 50924 15 4 11 13 0 8 4 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 80551 0 80463 13 3 10 10 0 8 2 bufpl 256 5736 0 1327 276 0 276 276 0 8 0 anonpl 16 38371 0 28186 43 1 42 42 0 62 0 amapchunkpl 152 1279 0 1191 6 1 5 6 0 158 1 amappl16 192 1223 0 671 28 0 28 28 0 8 0 amappl14 176 36 0 34 2 1 1 1 0 8 0 amappl12 160 94 0 91 1 0 1 1 0 8 0 amappl11 152 53 0 39 1 0 1 1 0 8 0 amappl10 144 142 0 138 2 1 1 1 0 8 0 amappl9 136 549 0 546 1 0 1 1 0 8 0 amappl8 128 124 0 110 1 0 1 1 0 8 0 amappl7 120 102 0 97 1 0 1 1 0 8 0 amappl6 112 53 0 46 1 0 1 1 0 8 0 amappl5 104 198 0 189 1 0 1 1 0 8 0 amappl4 96 479 0 460 1 0 1 1 0 8 0 amappl3 88 176 0 163 1 0 1 1 0 8 0 amappl2 80 1991 0 1925 3 1 2 3 0 8 0 amappl1 72 15577 0 15165 23 13 10 19 0 8 0 amappl 80 743 0 709 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 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 348 0 334 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 348 0 334 1 0 1 1 0 8 0 vmmpekpl 168 6130 0 6104 2 0 2 2 0 8 0 vmmpepl 168 46324 0 44762 100 17 83 84 0 357 15 vmsppl 272 347 0 334 2 1 1 2 0 8 0 pdppl 4096 702 0 668 6 1 5 6 0 8 0 pvpl 32 136742 0 123588 117 5 112 112 0 265 1 pmappl 200 347 0 334 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 424 0 14 12 0 12 12 0 8 0