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(1d6af4931a4e3c10,0,0) at mrouter6_rtwalk_delete+0x2b sys/netinet6/ip6_mroute.c:500 rtable_walk_helper(fffffd8036dafb30,ffff800016c01cb8) at rtable_walk_helper+0x58 sys/net/rtable.c:682 art_table_walk(ffff800000075780,fffffd8036dae160,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x226 art_walk_apply sys/net/art.c:676 [inline] art_table_walk(ffff800000075780,fffffd8036dae160,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x226 sys/net/art.c:648 art_table_walk(ffff800000075780,fffffd8036dae140,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae120,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae100,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae0c0,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae0a0,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae080,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae060,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae040,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae000,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae020,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae0e0,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae1c0,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae240,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae260,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae2a0,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae2e0,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae320,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae360,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae380,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae3a0,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae3c0,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae480,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae4a0,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae520,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae540,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae580,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae600,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae620,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae640,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036dae660,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_table_walk(ffff800000075780,fffffd8036daef60,ffffffff81db1050,ffff800016c01cb8) at art_table_walk+0x2a6 sys/net/art.c:657 art_walk(ffff800000075780,ffffffff81db1050,ffff800016c01cb8) at art_walk+0xcf sys/net/art.c:595 rtable_walk(0,18,ffffffff81ca0f80,0) at rtable_walk+0xc7 sys/net/rtable.c:706 ip6_mrouter_done(fffffd8036fe6c00) at ip6_mrouter_done+0xb8 sys/netinet6/ip6_mroute.c:529 rip6_detach(fffffd8036fe6c00) at rip6_detach+0x56 sys/netinet6/raw_ip6.c:757 soclose(fffffd8036fe6c00,0) at soclose+0xb2 sys/kern/uipc_socket.c:292 soo_close(fffffd802fd2dda8,ffff8000149025f8) at soo_close+0x40 fdrop(fffffd802fd2dda8,ffff8000149025f8) at fdrop+0xc9 sys/kern/kern_descrip.c:1260 closef(fffffd802fd2dda8,ffff8000149025f8) at closef+0x118 sys/kern/kern_descrip.c:1244 fdfree(ffff8000149025f8) at fdfree+0xf7 sys/kern/kern_descrip.c:1176 exit1(ffff8000149025f8,0,1) at exit1+0x32f sys/kern/kern_exit.c:196 sys_exit(ffff8000149025f8,ffff800016c02130,ffff800016c021a0) at sys_exit+0x17 sys/kern/kern_exit.c:94 syscall(ffff800016c02200) at syscall+0x508 Xsyscall(6,1,0,1,0,7f7ffffc4a14) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc49e0, count: -47 ddb> show registers rdi 0x1d6af4931a4e3c10 rsi 0 rbp 0xffff800016c009f0 rbx 0xffff800000075788 rdx 0 rcx 0 rax 0x204 r8 0 r9 0x5 r10 0 r11 0xa35b77bc33aa477 r12 0 r13 0xfffffd8036dae160 r14 0 r15 0x1d6af4931a4e3c10 rip 0xffffffff81ca0fab mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800016c009b0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor.1) pid=20913 stat=onproc flags process=1008 proc=2000 pri=50, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800014970390,0xffffffff822b7b60 process=0xffff8000ffffa6b0 user=0xffff800016bfd000, vmspace=0xfffffd803f014dd0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 61138 252613 1 0 3 0x100083 ttyin getty 30177 5332 0 0 3 0x14200 bored sosplice 66580 303927 68664 0 3 0x82 nanosleep syz-executor.1 13400 22282 68664 0 2 0x2 syz-executor.0 68664 451865 738 0 3 0x82 thrsleep syz-fuzzer 68664 83986 738 0 3 0x4000082 nanosleep syz-fuzzer 68664 349571 738 0 3 0x4000082 thrsleep syz-fuzzer 68664 114470 738 0 3 0x4000082 thrsleep syz-fuzzer 68664 122889 738 0 3 0x4000082 thrsleep syz-fuzzer 68664 402081 738 0 3 0x4000082 kqread syz-fuzzer 68664 452275 738 0 3 0x4000082 thrsleep syz-fuzzer 738 263564 14978 0 3 0x10008a pause ksh 14978 233879 14534 0 3 0x92 select sshd 14534 521539 1 0 3 0x80 select sshd 76377 268400 86789 73 3 0x100090 kqread syslogd 86789 238536 1 0 3 0x100082 netio syslogd 39126 414725 1 77 3 0x100090 poll dhclient 31226 288170 1 0 3 0x80 poll dhclient 98591 32285 0 0 2 0x14200 zerothread 97232 147235 0 0 3 0x14200 aiodoned aiodoned 24652 414779 0 0 3 0x14200 syncer update 77541 475516 0 0 3 0x14200 cleaner cleaner 60915 354452 0 0 3 0x14200 reaper reaper 96112 117411 0 0 3 0x14200 pgdaemon pagedaemon 65766 360079 0 0 3 0x14200 bored crynlk 26905 369452 0 0 3 0x14200 bored crypto 44207 507475 0 0 3 0x40014200 acpi0 acpi0 16261 368584 0 0 3 0x14200 bored softnet 48162 293235 0 0 2 0x14200 systqmp 22291 410775 0 0 3 0x14200 bored systq 31726 246671 0 0 3 0x40014200 bored softclock 50976 341884 0 0 3 0x40014200 idle0 66033 493886 0 0 3 0x14200 bored smr 1 174553 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 9473 6337K 6981K 78643K 14250 0 0 pcb 25 9K 11K 78643K 992 0 0 rtable 112 4K 4K 78643K 614 0 0 ifaddr 47 12K 13K 78643K 158 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 64 0 0 iov 0 0K 24K 78643K 144 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1211 76K 77K 78643K 2496 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 109 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 1712 0 0 sigio 1 0K 0K 78643K 30 0 0 proc 42 30K 54K 78643K 410 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 125 0 0 in_multi 33 2K 2K 78643K 74 0 0 ether_multi 1 0K 0K 78643K 7 0 0 mrt 1 0K 0K 78643K 178 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 318 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 90 20K 29K 78643K 4817 0 0 UVM aobj 48 4K 4K 78643K 49 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 60 0 0 NDP 8 0K 0K 78643K 41 0 0 temp 143 2718K 2786K 78643K 7937 0 0 kqueue 0 0K 0K 78643K 16 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 1085 0 1076 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 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 45 0 45 1 1 0 1 0 8 0 tcpcb 544 420 0 416 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 25 0 25 7 6 1 1 0 8 1 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 45 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 4 1 0 1 1 0 8 0 semapl 112 107 0 97 1 0 1 1 0 8 0 shmpl 112 47 0 1 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3953 0 2531 46 0 46 46 0 8 0 ffsino 240 3953 0 2531 84 0 84 84 0 8 0 nchpl 144 6427 0 4795 61 0 61 61 0 8 0 uvmvnodes 72 4837 0 0 88 0 88 88 0 8 0 vnodes 200 4837 0 0 255 0 255 255 0 8 0 namei 1024 18503 0 18502 2 1 1 1 0 8 0 scsiplug 64 1 0 1 1 0 1 1 0 8 1 scxspl 192 18744 0 18744 10 9 1 6 0 8 1 plimitpl 152 53 0 46 1 0 1 1 0 8 0 sigapl 432 1884 0 1871 2 0 2 2 0 8 0 futexpl 56 25213 0 25213 1 0 1 1 0 8 1 knotepl 112 316 0 297 1 0 1 1 0 8 0 kqueuepl 104 311 0 309 1 0 1 1 0 8 0 pipepl 112 982 0 963 4 3 1 2 0 8 0 fdescpl 424 1885 0 1871 2 0 2 2 0 8 0 filepl 120 10176 0 10080 6 2 4 5 0 8 1 lockfpl 104 505 0 505 4 3 1 1 0 8 1 lockfspl 48 163 0 163 4 3 1 1 0 8 1 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 36 0 26 1 0 1 1 0 8 0 ucredpl 96 1954 0 1947 1 0 1 1 0 8 0 zombiepl 144 1872 0 1871 2 1 1 1 0 8 0 processpl 848 1900 0 1871 4 0 4 4 0 8 0 procpl 624 4069 0 4034 5 1 4 4 0 8 1 sosppl 128 13 0 13 5 4 1 1 0 8 1 sockpl 384 1691 0 1672 6 3 3 4 0 8 1 mcl64k 65536 26 0 26 6 5 1 1 0 8 1 mcl16k 16384 3 0 3 3 3 0 1 0 8 0 mcl12k 12288 31 0 31 9 8 1 1 0 8 1 mcl9k 9216 20 0 20 8 7 1 1 0 8 1 mcl8k 8192 20 0 20 4 3 1 1 0 8 1 mcl4k 4096 80 0 80 4 3 1 1 0 8 1 mcl2k2 2112 6 0 6 3 3 0 1 0 8 0 mcl2k 2048 54050 0 54010 13 7 6 11 0 8 0 mtagpl 80 8 0 7 3 2 1 1 0 8 0 mbufpl 256 93513 0 93444 12 6 6 11 0 8 1 bufpl 256 9851 0 4225 352 0 352 352 0 8 0 anonpl 16 169059 0 158513 89 31 58 60 0 62 13 amapchunkpl 152 7908 0 7783 26 13 13 15 0 158 7 amappl16 192 9213 0 8658 67 35 32 40 0 8 4 amappl14 176 43 0 41 2 1 1 1 0 8 0 amappl13 168 1 0 0 1 0 1 1 0 8 0 amappl12 160 889 0 882 1 0 1 1 0 8 0 amappl11 152 50 0 36 1 0 1 1 0 8 0 amappl10 144 70 0 68 2 1 1 1 0 8 0 amappl9 136 1345 0 1341 1 0 1 1 0 8 0 amappl8 128 928 0 912 1 0 1 1 0 8 0 amappl7 120 32 0 29 1 0 1 1 0 8 0 amappl6 112 53 0 44 1 0 1 1 0 8 0 amappl5 104 1030 0 1018 1 0 1 1 0 8 0 amappl4 96 2012 0 1990 1 0 1 1 0 8 0 amappl3 88 223 0 213 1 0 1 1 0 8 0 amappl2 80 14309 0 14243 4 2 2 3 0 8 0 amappl1 72 42141 0 41727 24 15 9 19 0 8 0 amappl 80 4340 0 4300 2 1 1 2 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 48 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1885 0 1871 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1885 0 1871 1 0 1 1 0 8 0 vmmpekpl 168 15456 0 15429 2 0 2 2 0 8 0 vmmpepl 168 224532 0 222948 125 49 76 87 0 357 5 vmsppl 272 1884 0 1871 2 1 1 2 0 8 0 pdppl 4096 3776 0 3742 6 1 5 6 0 8 0 pvpl 32 536349 0 522753 287 60 227 229 0 265 115 pmappl 200 1884 0 1871 1 0 1 1 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 512 0 33 14 0 14 14 0 8 0