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(7f3ed5c5e17ea709,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:502 rtable_walk_helper(fffffd8036ee9a70,ffff800014897fd8) at rtable_walk_helper+0x58 sys/net/rtable.c:683 art_table_walk(ffff800000075880,fffffd8036ee8220,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075880,fffffd8036ee8220,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075880,fffffd8036ee81e0,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee81c0,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8160,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee80e0,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee80c0,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee80a0,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8060,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8000,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8020,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8040,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8080,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8100,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8120,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8140,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8180,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee81a0,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8200,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8240,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8260,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8320,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8340,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8380,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee83c0,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8400,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8460,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8480,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee84a0,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee84c0,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8500,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8520,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075880,fffffd8036ee8f20,ffffffff818c2060,ffff800014897fd8) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075880,ffffffff818c2060,ffff800014897fd8) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,0,ffffffff812d1f50,0) at rtable_walk+0xd4 ip6_mrouter_done(fffffd8037026900) at ip6_mrouter_done+0xb5 rip6_detach(fffffd8037026900) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd8037026900,0) at soclose+0xb2 sys/kern/uipc_socket.c:303 soo_close(fffffd802edcdda8,ffff800014f32018) at soo_close+0x40 fdrop(fffffd802edcdda8,ffff800014f32018) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd802edcdda8,ffff800014f32018) at closef+0x118 sys/kern/kern_descrip.c:1257 fdfree(ffff800014f32018) at fdfree+0x100 sys/kern/kern_descrip.c:1189 exit1(ffff800014f32018,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff800014f32018,ffff800014898470,ffff8000148984c0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800014898540) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,1,0,1,0,7f7fffff3954) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff3920, count: -47 ddb> show registers rdi 0x7f3ed5c5e17ea709 rsi 0 rbp 0xffff800014896d10 rbx 0xffff800000075888 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0x6b1621f8fcb49364 r12 0 r13 0xfffffd8036ee8220 r14 0 r15 0x7f3ed5c5e17ea709 rip 0xffffffff812d1f7b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800014896cd0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=391775 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=70, nice=20 forw=0xffffffffffffffff, list=0xffff800014f329f8,0xffff800014f33b50 process=0xffff8000ffff7b10 user=0xffff800014893000, vmspace=0xfffffd803f013660 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 73829 330621 59500 0 2 0 syz-executor.0 73829 89965 59500 0 3 0x4000080 fsleep syz-executor.0 15543 354132 1 0 3 0x82 nanosleep getty 59500 432098 95541 0 3 0x82 nanosleep syz-executor.0 83796 121606 95541 0 3 0x82 nanosleep syz-executor.1 95541 155150 5362 0 3 0x82 thrsleep syz-fuzzer 95541 462107 5362 0 3 0x4000082 thrsleep syz-fuzzer 95541 428612 5362 0 3 0x4000082 thrsleep syz-fuzzer 95541 486947 5362 0 3 0x4000082 thrsleep syz-fuzzer 95541 355044 5362 0 3 0x4000082 kqread syz-fuzzer 95541 96068 5362 0 3 0x4000082 thrsleep syz-fuzzer 95541 355646 5362 0 3 0x4000082 thrsleep syz-fuzzer 5362 437935 22309 0 3 0x10008a pause ksh 22309 364439 70625 0 3 0x92 select sshd 70625 503010 1 0 3 0x80 select sshd 6053 12505 74721 73 3 0x100090 kqread syslogd 74721 489559 1 0 3 0x100082 netio syslogd 81931 271955 1 77 3 0x100090 poll dhclient 21134 219936 1 0 3 0x80 poll dhclient 73476 413694 0 0 2 0x14200 zerothread 56173 304720 0 0 3 0x14200 aiodoned aiodoned 76104 124627 0 0 3 0x14200 syncer update 56717 462445 0 0 3 0x14200 cleaner cleaner 98892 492346 0 0 3 0x14200 reaper reaper 95158 318465 0 0 3 0x14200 pgdaemon pagedaemon 20825 402059 0 0 3 0x14200 bored crynlk 37211 395404 0 0 3 0x14200 bored crypto 76438 2149 0 0 3 0x40014200 acpi0 acpi0 2902 178349 0 0 3 0x14200 bored softnet 11633 453302 0 0 2 0x14200 systqmp 9908 444976 0 0 3 0x14200 bored systq 18935 320851 0 0 3 0x40014200 bored softclock 9710 20501 0 0 3 0x40014200 idle0 8159 98789 0 0 3 0x14200 bored smr 1 261870 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 6396K 6773K 78643K 10784 0 0 pcb 15 8K 8K 78643K 53 0 0 rtable 106 3K 3K 78643K 204 0 0 ifaddr 47 11K 11K 78643K 48 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 21 0 0 iov 0 0K 16K 78643K 20 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1217 76K 77K 78643K 1302 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 4 0 0 VM map 2 0K 0K 78643K 2 0 0 sem 12 0K 0K 78643K 14 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12723 0 0 file desc 6 17K 25K 78643K 119 0 0 proc 48 38K 63K 78643K 359 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 7 0 0 in_multi 33 2K 2K 78643K 35 0 0 ether_multi 2 0K 0K 78643K 2 0 0 mrt 2 0K 0K 78643K 4 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 66 291K 291K 78643K 66 0 0 exec 0 0K 1K 78643K 191 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 92 21K 21K 78643K 1096 0 0 UVM aobj 5 2K 2K 78643K 5 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 24 0 0 NDP 9 0K 0K 78643K 13 0 0 temp 118 3531K 3601K 78643K 3504 0 0 kqueue 0 0K 0K 78643K 8 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 rtpcb 80 21 0 19 1 0 1 1 0 8 0 rtentry 112 46 0 2 2 0 2 2 0 8 0 unpcb 120 41 0 33 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 1406 0 1406 1 0 1 1 0 8 1 tcpcb 544 36 0 32 1 0 1 1 0 8 0 ipq 40 2 0 2 1 0 1 1 0 8 1 ipqe 40 4 0 4 1 0 1 1 0 8 1 inpcb 280 110 0 101 2 0 2 2 0 8 1 rttmr 72 1 0 1 1 0 1 1 0 8 1 nd6 48 4 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 212 0 0 14 0 14 14 0 8 0 art_table 32 213 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 0 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1576 0 183 46 0 46 46 0 8 0 ffsino 240 1576 0 183 83 0 83 83 0 8 0 nchpl 144 1944 0 334 60 0 60 60 0 8 0 uvmvnodes 72 1670 0 0 31 0 31 31 0 8 0 vnodes 208 1670 0 0 88 0 88 88 0 8 0 namei 1024 4834 0 4834 1 0 1 1 0 8 1 scxspl 192 5291 0 5291 3 1 2 2 0 8 2 plimitpl 152 18 0 11 1 0 1 1 0 8 0 sigapl 432 291 0 277 2 0 2 2 0 8 0 futexpl 56 1620 0 1619 1 0 1 1 0 8 0 knotepl 112 102 0 83 2 0 2 2 0 8 1 kqueuepl 104 36 0 34 1 0 1 1 0 8 0 pipepl 112 170 0 151 1 0 1 1 0 8 0 fdescpl 424 292 0 277 2 0 2 2 0 8 0 filepl 120 1561 0 1464 4 0 4 4 0 8 1 lockfpl 104 44 0 43 1 0 1 1 0 8 0 lockfspl 48 18 0 17 1 0 1 1 0 8 0 sessionpl 112 17 0 8 1 0 1 1 0 8 0 pgrppl 48 21 0 12 1 0 1 1 0 8 0 ucredpl 96 131 0 124 1 0 1 1 0 8 0 zombiepl 144 278 0 277 1 0 1 1 0 8 0 processpl 864 306 0 277 4 0 4 4 0 8 0 procpl 632 421 0 385 4 0 4 4 0 8 0 sockpl 384 172 0 153 3 0 3 3 0 8 1 mcl64k 65536 8 0 8 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 1 0 1 1 0 1 1 0 8 1 mcl4k 4096 18 0 18 1 0 1 1 0 8 1 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 58360 0 58316 14 2 12 12 0 8 6 mtagpl 80 4 0 2 2 1 1 1 0 8 0 mbufpl 256 93085 0 93003 11 1 10 10 0 8 0 bufpl 256 6390 0 1555 303 0 303 303 0 8 0 anonpl 16 41972 0 29852 67 2 65 65 0 62 16 amapchunkpl 152 1215 0 1111 7 0 7 7 0 158 2 amappl16 192 1449 0 775 46 4 42 46 0 8 8 amappl14 176 31 0 26 1 0 1 1 0 8 0 amappl13 168 8 0 7 1 0 1 1 0 8 0 amappl12 160 7 0 5 1 0 1 1 0 8 0 amappl11 152 50 0 39 1 0 1 1 0 8 0 amappl10 144 9 0 9 1 1 0 1 0 8 0 amappl9 136 626 0 618 1 0 1 1 0 8 0 amappl8 128 179 0 160 1 0 1 1 0 8 0 amappl7 120 33 0 30 1 0 1 1 0 8 0 amappl6 112 73 0 65 1 0 1 1 0 8 0 amappl5 104 132 0 121 1 0 1 1 0 8 0 amappl4 96 507 0 480 1 0 1 1 0 8 0 amappl3 88 116 0 107 1 0 1 1 0 8 0 amappl2 80 1520 0 1446 3 1 2 3 0 8 0 amappl1 72 15079 0 14653 27 14 13 20 0 8 4 amappl 80 635 0 599 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 4 0 0 1 0 1 1 0 8 0 uaddrrnd 24 292 0 277 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 292 0 277 1 0 1 1 0 8 0 vmmpekpl 168 6158 0 6134 2 0 2 2 0 8 0 vmmpepl 168 41675 0 39861 105 6 99 99 0 357 20 vmsppl 272 291 0 277 2 0 2 2 0 8 1 pdppl 4096 590 0 554 6 0 6 6 0 8 1 pvpl 32 140410 0 125273 159 0 159 159 0 265 36 pmappl 200 291 0 277 1 0 1 1 0 8 0 extentpl 40 38 0 22 1 0 1 1 0 8 0 phpool 112 445 0 5 13 0 13 13 0 8 0