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(1af3697322a884fe,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036db1a30,ffff8000153ec578) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036db0080,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036db0080,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036db0040,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0020,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0000,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0060,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0100,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0140,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0160,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db01a0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db01c0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db01e0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0280,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db02a0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db02e0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0340,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0360,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0380,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db03a0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db03e0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0420,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0480,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db04a0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db04e0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0520,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0540,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0560,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0580,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db05c0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db05e0,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0600,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0640,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036db0f60,ffffffff8142a0b0,ffff8000153ec578) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff8142a0b0,ffff8000153ec578) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff8120dda0,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd80396b8600) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd80396b8600) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd80396b8600,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802fc0de98,ffff800014902118) at soo_close+0x40 fdrop(fffffd802fc0de98,ffff800014902118) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802fc0de98,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,ffff8000153ec9f0,ffff8000153eca60) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff8000153ecac0) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffec5d4) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffec5a0, count: -47 ddb> show registers rdi 0x1af3697322a884fe rsi 0 rbp 0xffff8000153eb2b0 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0x13c92b45384999cc r12 0 r13 0xfffffd8036db0080 r14 0 r15 0x1af3697322a884fe rip 0xffffffff8120ddcb mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000153eb270 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=35229 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=63, nice=20 forw=0xffffffffffffffff, list=0xffff800014901008,0xffffffff822a6498 process=0xffff8000ffffb078 user=0xffff8000153e7000, vmspace=0xfffffd803f014220 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 5120 502559 55692 0 3 0x82 nanosleep syz-executor.1 13637 494194 55692 0 2 0x2 syz-executor.0 55692 132036 5701 0 3 0x82 thrsleep syz-fuzzer 55692 464122 5701 0 3 0x4000082 nanosleep syz-fuzzer 55692 227644 5701 0 3 0x4000082 thrsleep syz-fuzzer 55692 67764 5701 0 3 0x4000082 thrsleep syz-fuzzer 55692 337684 5701 0 3 0x4000082 thrsleep syz-fuzzer 55692 332466 5701 0 3 0x4000082 kqread syz-fuzzer 55692 21589 5701 0 3 0x4000082 thrsleep syz-fuzzer 5701 397799 71274 0 3 0x10008a pause ksh 71274 262730 59341 0 3 0x92 select sshd 52872 428518 1 0 3 0x100083 ttyin getty 59341 192651 1 0 3 0x80 select sshd 89181 98516 53758 73 3 0x100090 kqread syslogd 53758 3803 1 0 3 0x100082 netio syslogd 75143 389551 1 77 3 0x100090 poll dhclient 38950 195649 1 0 3 0x80 poll dhclient 69716 494879 0 0 2 0x14200 zerothread 73908 341199 0 0 3 0x14200 aiodoned aiodoned 79549 358899 0 0 3 0x14200 syncer update 27916 361822 0 0 3 0x14200 cleaner cleaner 16113 439683 0 0 3 0x14200 reaper reaper 61547 66098 0 0 3 0x14200 pgdaemon pagedaemon 51350 200372 0 0 3 0x14200 bored crynlk 49740 20249 0 0 3 0x14200 bored crypto 35372 169493 0 0 3 0x40014200 acpi0 acpi0 30715 274718 0 0 3 0x14200 bored softnet 50938 514520 0 0 2 0x14200 systqmp 74756 44669 0 0 3 0x14200 bored systq 34458 480583 0 0 3 0x40014200 bored softclock 34369 262065 0 0 3 0x40014200 idle0 37777 189644 0 0 3 0x14200 bored smr 1 231151 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 9465 6320K 6579K 78643K 10663 0 0 pcb 25 9K 10K 78643K 163 0 0 rtable 112 3K 3K 78643K 248 0 0 ifaddr 44 11K 11K 78643K 48 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 15 0 0 iov 0 0K 8K 78643K 8 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1218 77K 77K 78643K 1266 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 3 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 6 0K 0K 78643K 6 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12537 0 0 file desc 5 13K 25K 78643K 148 0 0 sigio 0 0K 0K 78643K 6 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 in_multi 33 2K 2K 78643K 33 0 0 ether_multi 1 0K 0K 78643K 1 0 0 mrt 1 0K 0K 78643K 19 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 190 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 79 20K 20K 78643K 1131 0 0 UVM aobj 6 2K 2K 78643K 8 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 3 0 0 NDP 8 0K 0K 78643K 13 0 0 temp 101 2704K 2770K 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 106 0 97 1 0 1 1 0 8 0 rtentry 112 48 0 2 2 0 2 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 0 1 1 0 8 1 tcpqe 32 13 0 13 1 1 0 1 0 8 0 tcpcb 544 10 0 6 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 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 47 0 6 1 0 1 1 0 8 0 semapl 112 4 0 0 1 0 1 1 0 8 0 shmpl 112 6 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1580 0 166 46 0 46 46 0 8 0 ffsino 240 1580 0 166 84 0 84 84 0 8 0 nchpl 144 1941 0 310 61 0 61 61 0 8 0 uvmvnodes 72 1656 0 0 31 0 31 31 0 8 0 vnodes 200 1656 0 0 88 0 88 88 0 8 0 namei 1024 4775 0 4775 2 1 1 1 0 8 1 scxspl 192 4797 0 4797 8 7 1 6 0 8 1 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 432 319 0 306 2 0 2 2 0 8 0 futexpl 56 1254 0 1254 1 0 1 1 0 8 1 knotepl 112 67 0 48 1 0 1 1 0 8 0 kqueuepl 104 22 0 20 1 0 1 1 0 8 0 pipepl 112 202 0 183 3 1 2 2 0 8 1 fdescpl 424 320 0 306 2 0 2 2 0 8 0 filepl 120 1442 0 1346 4 0 4 4 0 8 1 lockfpl 104 30 0 30 2 1 1 1 0 8 1 lockfspl 48 15 0 15 2 1 1 1 0 8 1 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 143 0 136 1 0 1 1 0 8 0 zombiepl 144 307 0 306 2 1 1 1 0 8 0 processpl 840 334 0 306 4 0 4 4 0 8 0 procpl 624 470 0 436 3 0 3 3 0 8 0 sockpl 384 182 0 163 3 0 3 3 0 8 1 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 10 0 10 2 1 1 1 0 8 1 mcl2k 2048 50959 0 50919 12 3 9 10 0 8 3 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 80528 0 80456 12 3 9 9 0 8 1 bufpl 256 5707 0 1298 276 0 276 276 0 8 0 anonpl 16 41307 0 31032 60 2 58 58 0 62 16 amapchunkpl 152 1440 0 1340 7 0 7 7 0 158 2 amappl16 192 1367 0 804 40 4 36 40 0 8 7 amappl15 184 53 0 53 1 0 1 1 0 8 1 amappl14 176 108 0 103 2 1 1 1 0 8 0 amappl12 160 5 0 4 1 0 1 1 0 8 0 amappl11 152 49 0 35 1 0 1 1 0 8 0 amappl10 144 60 0 60 2 1 1 1 0 8 1 amappl9 136 367 0 364 1 0 1 1 0 8 0 amappl8 128 133 0 119 1 0 1 1 0 8 0 amappl7 120 33 0 28 1 0 1 1 0 8 0 amappl6 112 54 0 48 1 0 1 1 0 8 0 amappl5 104 497 0 486 1 0 1 1 0 8 0 amappl4 96 449 0 428 1 0 1 1 0 8 0 amappl3 88 240 0 228 1 0 1 1 0 8 0 amappl2 80 1821 0 1756 4 2 2 3 0 8 0 amappl1 72 14998 0 14584 26 14 12 19 0 8 3 amappl 80 695 0 661 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 7 0 2 1 0 1 1 0 8 0 uaddrrnd 24 320 0 306 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 320 0 306 1 0 1 1 0 8 0 vmmpekpl 168 6224 0 6201 2 0 2 2 0 8 0 vmmpepl 168 44390 0 42814 109 21 88 88 0 357 19 vmsppl 272 319 0 306 2 0 2 2 0 8 1 pdppl 4096 646 0 612 6 0 6 6 0 8 1 pvpl 32 137699 0 124455 149 5 144 144 0 265 36 pmappl 200 319 0 306 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 420 0 10 12 0 12 12 0 8 0