kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Thu Feb 28 14:30:19 PST 2019 OpenBSD/amd64 (ci-openbsd-main-6.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.10.21' (ECDSA) to the list of known hosts. executing program login: 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(d0328f8e50a22aee,0,0) at mrouter6_rtwalk_delete+0x2b rtable_walk_helper(fffffd8036de1ce0,ffff80001499a4a0) at rtable_walk_helper+0x58 art_table_walk(ffff800000074780,fffffd8036de0300,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x226 art_table_walk(ffff800000074780,fffffd8036de02e0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de02a0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0260,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0240,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de01c0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de01a0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0140,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0100,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de00c0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de00a0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0020,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0000,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0040,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0060,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0080,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de00e0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0120,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0160,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0180,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de01e0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0200,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0220,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0280,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de02c0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0320,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0360,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0380,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de03e0,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0400,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0440,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_table_walk(ffff800000074780,fffffd8036de0f00,ffffffff8178b4f0,ffff80001499a4a0) at art_table_walk+0x2a6 art_walk(ffff800000074780,ffffffff8178b4f0,ffff80001499a4a0) at art_walk+0xcf rtable_walk(0,18,ffffffff8122ec00,0) at rtable_walk+0xd7 ip6_mrouter_done(fffffd803642cc08) at ip6_mrouter_done+0xc4 rip6_detach(fffffd803642cc08) at rip6_detach+0x56 soclose(fffffd803642cc08,0) at soclose+0xb2 soo_close(fffffd80361a31e8,ffff8000ffff5078) at soo_close+0x40 fdrop(fffffd80361a31e8,ffff8000ffff5078) at fdrop+0xc9 closef(fffffd80361a31e8,ffff8000ffff5078) at closef+0x124 fdfree(ffff8000ffff5078) at fdfree+0xe7 exit1(ffff8000ffff5078,0,1) at exit1+0x2f4 sys_exit(ffff8000ffff5078,ffff80001499a980,ffff80001499a970) at sys_exit+0x17 syscall(ffff80001499aa20) at syscall+0x541 Xsyscall(6,1,7f7ffffeb0c8,1,1,0) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffeb060, count: -47 ddb> show registers rdi 0xd0328f8e50a22aee rsi 0 rbp 0xffff8000149991e0 rbx 0xffff800000074788 rdx 0 rcx 0x1 rax 0x204 r8 0 r9 0x5 r10 0x926743701ac0bfbc r11 0x9b6947429d56b64f r12 0 r13 0xfffffd8036de0300 r14 0 r15 0xd0328f8e50a22aee rip 0xffffffff8122ec2b mrouter6_rtwalk_delete+0x2b cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000149991a0 ss 0x10 mrouter6_rtwalk_delete+0x2b: movl 0x5c(%r15),%r12d ddb> show proc PROC (syz-executor1114) pid=469249 stat=onproc flags process=a proc=2000 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff4268,0xffffffff82264bc8 process=0xffff800014962360 user=0xffff800014995000, vmspace=0xfffffd803f015630 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 35536 479663 19506 0 3 0x10008a pause ksh 19506 453665 47492 0 3 0x92 select sshd 78334 361723 1 0 3 0x100083 ttyin getty 47492 6396 1 0 3 0x80 select sshd 8340 209018 29085 73 3 0x100090 kqread syslogd 29085 109966 1 0 3 0x100082 netio syslogd 68066 120240 1 77 3 0x100090 poll dhclient 98656 383651 1 0 3 0x80 poll dhclient 27534 500438 0 0 2 0x14200 zerothread 57774 218987 0 0 3 0x14200 aiodoned aiodoned 57026 516288 0 0 3 0x14200 syncer update 48000 39695 0 0 3 0x14200 cleaner cleaner 95582 24901 0 0 3 0x14200 reaper reaper 77133 163567 0 0 3 0x14200 pgdaemon pagedaemon 65199 35976 0 0 3 0x14200 bored crynlk 78238 229182 0 0 3 0x14200 bored crypto 6231 289892 0 0 3 0x40014200 acpi0 acpi0 83245 326892 0 0 3 0x14200 bored softnet 68512 199941 0 0 2 0x14200 systqmp 7016 63645 0 0 3 0x14200 bored systq 69237 26016 0 0 3 0x40014200 bored softclock 21844 76390 0 0 3 0x40014200 idle0 98655 460125 0 0 3 0x14200 bored smr 1 99271 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 9426 6306K 6307K 78643K 10519 0 0 pcb 24 9K 9K 78643K 56 0 0 rtable 62 1K 2K 78643K 119 0 0 ifaddr 21 7K 7K 78643K 21 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 13 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1166 73K 73K 78643K 1171 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 1777 193K 286K 78643K 12501 0 0 file desc 1 0K 0K 78643K 1 0 0 proc 40 30K 38K 78643K 207 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 in_multi 11 0K 0K 78643K 11 0 0 ether_multi 1 0K 0K 78643K 1 0 0 mrt 1 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 18 79K 79K 78643K 18 0 0 exec 0 0K 1K 78643K 150 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 46 2K 3K 78643K 660 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 NDP 3 0K 0K 78643K 3 0 0 temp 30 2339K 2403K 78643K 1681 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 2 0 0 1 0 1 1 0 8 0 inpcbpl 280 23 0 16 1 0 1 1 0 8 0 plimitpl 152 13 0 8 1 0 1 1 0 8 0 rtentry 112 24 0 2 1 0 1 1 0 8 0 syncache 264 5 0 5 1 0 1 1 0 8 1 tcpcb 544 8 0 5 1 0 1 1 0 8 0 rttmr 72 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 97 0 0 7 0 7 7 0 8 0 art_table 32 98 0 0 1 0 1 1 0 8 0 art_node 16 23 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1381 0 16 45 0 45 45 0 8 0 ffsino 240 1381 0 16 81 0 81 81 0 8 0 nchpl 144 1554 0 30 57 0 57 57 0 8 0 uvmvnodes 72 1390 0 0 26 0 26 26 0 8 0 vnodes 200 1390 0 0 74 0 74 74 0 8 0 namei 1024 3260 0 3260 2 1 1 1 0 8 1 scxspl 192 2347 0 2347 8 2 6 6 0 8 6 sigapl 432 174 0 164 2 0 2 2 0 8 0 knotepl 112 5 0 0 1 0 1 1 0 8 0 kqueuepl 104 1 0 0 1 0 1 1 0 8 0 pipepl 112 114 0 107 2 1 1 1 0 8 0 fdescpl 424 175 0 164 2 0 2 2 0 8 0 filepl 120 808 0 765 2 0 2 2 0 8 0 lockfpl 104 6 0 6 1 1 0 1 0 8 0 lockfspl 32 3 0 3 1 1 0 1 0 8 0 sessionpl 112 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 96 47 0 40 1 0 1 1 0 8 0 zombiepl 144 165 0 164 2 1 1 1 0 8 0 processpl 840 189 0 164 4 0 4 4 0 8 0 procpl 600 189 0 164 3 0 3 3 0 8 0 sockpl 384 65 0 48 2 0 2 2 0 8 0 mcl4k 4096 10 0 10 1 0 1 1 0 8 1 mcl2k 2048 5640 0 5612 6 0 6 6 0 8 1 mtagpl 80 2 0 2 1 1 0 1 0 8 0 mbufpl 256 9698 0 9655 6 2 4 4 0 8 0 bufpl 256 2011 0 230 112 0 112 112 0 8 0 anonpl 16 17025 0 15939 7 1 6 6 0 62 1 amapchunkpl 152 513 0 478 2 0 2 2 0 158 0 amappl16 192 70 0 65 1 0 1 1 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 2 0 2 1 1 0 1 0 8 0 amappl13 168 14 0 11 1 0 1 1 0 8 0 amappl12 160 28 0 25 1 0 1 1 0 8 0 amappl11 152 172 0 163 1 0 1 1 0 8 0 amappl10 144 46 0 46 2 1 1 1 0 8 1 amappl9 136 200 0 199 1 0 1 1 0 8 0 amappl8 128 81 0 77 1 0 1 1 0 8 0 amappl7 120 11 0 10 1 0 1 1 0 8 0 amappl6 112 43 0 38 1 0 1 1 0 8 0 amappl5 104 156 0 145 1 0 1 1 0 8 0 amappl4 96 258 0 238 1 0 1 1 0 8 0 amappl3 88 121 0 115 1 0 1 1 0 8 0 amappl2 80 555 0 521 1 0 1 1 0 8 0 amappl1 72 11579 0 11195 14 4 10 14 0 8 0 amappl 72 376 0 357 1 0 1 1 0 75 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 175 0 164 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 175 0 164 1 0 1 1 0 8 0 vmmpekpl 168 5196 0 5181 1 0 1 1 0 8 0 vmmpepl 168 23570 0 22886 48 14 34 42 0 357 3 vmsppl 264 174 0 164 1 0 1 1 0 8 0 pdppl 4096 356 0 328 5 0 5 5 0 8 0 pvpl 32 70712 0 67976 30 4 26 26 0 265 3 pmappl 192 174 0 164 1 0 1 1 0 8 0 extentpl 40 39 0 25 1 0 1 1 0 8 0 phpool 112 227 0 5 7 0 7 7 0 8 0 ddb>