kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Tue Sep 7 05:43:00 PDT 2021 OpenBSD/amd64 (ci-openbsd-main-2.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.223' (ED25519) to the list of known hosts. executing program login: uvm_fault(0xfffffd807f00b220, 0x58, 0, 1) -> e kernel: page fault trap, code=0 Stopped at rtm_output+0x3d5: movl 0x58(%r14),%edi TID PID UID PRFLAGS PFLAGS CPU COMMAND *401975 9860 0 0x2 0 0 syz-executor7753 rtm_output(ffff8000006bfb00,ffff8000216930a0,ffff800021693000,8,0) at rtm_output+0x3d5 route_output(fffffd806d45ea00,fffffd806e4dda90,0,0) at route_output+0x6ba route_usrreq(fffffd806e4dda90,9,fffffd806d45ea00,0,0,ffff8000ffff8548) at route_usrreq+0x391 sosend(fffffd806e4dda90,0,ffff8000216932b0,0,0,0) at sosend+0x668 sendit(ffff8000ffff8548,3,ffff800021693390,0,ffff800021693480) at sendit+0x589 sys_sendto(ffff8000ffff8548,ffff800021693428,ffff800021693480) at sys_sendto+0x80 syscall(ffff8000216934f0) at syscall+0x571 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd6d40, count: 7 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xfffffd807f00b220, 0x58, 0, 1) -> e ddb> trace rtm_output(ffff8000006bfb00,ffff8000216930a0,ffff800021693000,8,0) at rtm_output+0x3d5 route_output(fffffd806d45ea00,fffffd806e4dda90,0,0) at route_output+0x6ba route_usrreq(fffffd806e4dda90,9,fffffd806d45ea00,0,0,ffff8000ffff8548) at route_usrreq+0x391 sosend(fffffd806e4dda90,0,ffff8000216932b0,0,0,0) at sosend+0x668 sendit(ffff8000ffff8548,3,ffff800021693390,0,ffff800021693480) at sendit+0x589 sys_sendto(ffff8000ffff8548,ffff800021693428,ffff800021693480) at sys_sendto+0x80 syscall(ffff8000216934f0) at syscall+0x571 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd6d40, count: -8 ddb> show registers rdi 0 rsi 0 rbp 0xffff800021692ff0 rbx 0x3 rdx 0x8 rcx 0xfffffd806f317d00 rax 0x1 r8 0x8 r9 0x1 r10 0x7d702d893045c711 r11 0xdecd4bf8a4957859 r12 0x8 r13 0x8 r14 0 r15 0xffff800021693000 rip 0xffffffff82340165 rtm_output+0x3d5 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021692f60 ss 0x10 rtm_output+0x3d5: movl 0x58(%r14),%edi ddb> show proc PROC (syz-executor7753) pid=401975 stat=onproc flags process=2 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8008,0xffffffff828adc98 process=0xffff8000ffff7ba0 user=0xffff80002168e000, vmspace=0xfffffd807f00b220 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND * 9860 401975 39065 0 7 0x2 syz-executor7753 39065 20972 90337 0 3 0x10008a sigsusp ksh 90337 240633 27219 0 2 0x12 sshd 60490 323368 1 0 3 0x100083 ttyin getty 27219 180526 1 0 3 0x88 select sshd 6645 179516 73994 73 3 0x100090 kqread syslogd 73994 470912 1 0 3 0x100082 netio syslogd 11481 501622 1 0 3 0x100080 kqread resolvd 75567 237754 49656 77 3 0x100092 kqread dhcpleased 75215 417726 49656 77 3 0x100092 kqread dhcpleased 49656 356881 1 0 3 0x80 kqread dhcpleased 46857 15265 0 0 3 0x14200 bored smr 72182 30149 0 0 2 0x14200 zerothread 27183 309349 0 0 3 0x14200 aiodoned aiodoned 46609 451043 0 0 3 0x14200 syncer update 29854 161976 0 0 3 0x14200 cleaner cleaner 59303 478439 0 0 3 0x14200 reaper reaper 70964 396436 0 0 3 0x14200 pgdaemon pagedaemon 9071 306477 0 0 3 0x14200 bored crynlk 3777 73731 0 0 3 0x14200 bored crypto 4773 296923 0 0 3 0x14200 bored viomb 50274 478046 0 0 3 0x40014200 acpi0 acpi0 44836 99519 0 0 3 0x14200 bored softnet 42231 409273 0 0 3 0x14200 bored systqmp 34423 437430 0 0 3 0x14200 bored systq 68427 5074 0 0 3 0x40014200 bored softclock 41235 258214 0 0 3 0x40014200 idle0 1 134528 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 devbuf 10093 6342K 6373K 78643K 11183 0 pcb 13 8K 8K 78643K 13 0 rtable 63 2K 2K 78643K 113 0 ifaddr 24 7K 7K 78643K 24 0 counters 19 16K 16K 78643K 19 0 ioctlops 0 0K 2K 78643K 25 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1182 74K 74K 78643K 1187 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 1 0K 0K 78643K 1 0 proc 55 54K 55K 78643K 222 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 19 95K 95K 78643K 19 0 exec 0 0K 2K 78643K 317 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 76 3K 5K 78643K 1496 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 3 0K 0K 78643K 3 0 temp 18 4189K 4253K 78643K 1762 0 kqueue 9 12K 12K 78643K 9 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 20 0 16 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 120 33 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 88 2 0 0 1 0 1 1 0 8 0 inpcb 304 25 0 19 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 96 0 0 6 0 6 6 0 8 0 art_table 32 97 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1404 0 22 87 0 87 87 0 8 0 ffsino 240 1404 0 22 82 0 82 82 0 8 0 nchpl 144 1579 0 38 58 0 58 58 0 8 0 uvmvnodes 72 1413 0 0 26 0 26 26 0 8 0 vnodes 224 1413 0 0 84 0 84 84 0 8 0 namei 1024 3889 0 3889 2 1 1 1 0 8 1 scxspl 216 3360 0 3360 2 1 1 2 0 8 1 plimitpl 152 15 0 9 1 0 1 1 0 8 0 sigapl 424 232 0 204 4 0 4 4 0 8 0 knotepl 112 121 0 98 1 0 1 1 0 8 0 kqueuepl 184 5 0 0 1 0 1 1 0 8 0 pipepl 304 64 0 61 2 1 1 1 0 8 0 fdescpl 432 217 0 204 2 0 2 2 0 8 0 filepl 120 962 0 908 2 0 2 2 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 96 64 0 54 1 0 1 1 0 8 0 zombiepl 144 204 0 204 2 1 1 1 0 8 1 processpl 1008 232 0 204 4 0 4 4 0 8 0 procpl 672 232 0 204 3 0 3 3 0 8 0 sockpl 448 78 0 55 3 0 3 3 0 8 0 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 5 0 5 2 1 1 1 0 8 1 mcl2k 2048 5875 0 5839 9 2 7 8 0 8 2 mtagpl 96 3 0 3 1 1 0 1 0 8 0 mbufpl 256 10045 0 9968 8 2 6 8 0 8 0 bufpl 280 1926 0 84 132 0 132 132 0 8 0 anonpl 24 32271 0 30134 16 2 14 15 0 188 1 amapchunkpl 152 2890 0 2755 7 1 6 7 0 158 0 amappl16 200 87 0 83 1 0 1 1 0 8 0 amappl13 176 16 0 15 2 1 1 1 0 8 0 amappl12 168 17 0 17 2 1 1 1 0 8 1 amappl11 160 52 0 42 1 0 1 1 0 8 0 amappl10 152 29 0 26 1 0 1 1 0 8 0 amappl9 144 210 0 208 1 0 1 1 0 8 0 amappl8 136 251 0 251 2 1 1 1 0 8 1 amappl7 128 47 0 40 1 0 1 1 0 8 0 amappl6 120 78 0 71 1 0 1 1 0 8 0 amappl5 112 199 0 187 1 0 1 1 0 8 0 amappl4 104 475 0 456 1 0 1 1 0 8 0 amappl3 96 37 0 36 1 0 1 1 0 8 0 amappl2 88 379 0 334 3 1 2 2 0 8 0 amappl1 80 7064 0 6716 10 1 9 9 0 8 1 amappl 88 1273 0 1213 2 0 2 2 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 64 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 217 0 204 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 217 0 204 1 0 1 1 0 8 0 vmmpekpl 168 5776 0 5765 1 0 1 1 0 8 0 vmmpepl 168 21080 0 20305 40 2 38 38 0 357 4 vmsppl 272 216 0 204 2 1 1 2 0 8 0 rwobjpl 24 6637 0 6130 5 1 4 4 0 8 0 pdppl 4096 441 0 408 49 16 33 39 0 8 0 pvpl 32 104903 0 100971 37 2 35 36 0 265 3 pmappl 192 216 0 204 1 0 1 1 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 260 0 26 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rtm_output(ffff8000006bfb00,ffff8000216930a0,ffff800021693000,8,0) at rtm_output+0x3d5 route_output(fffffd806d45ea00,fffffd806e4dda90,0,0) at route_output+0x6ba route_usrreq(fffffd806e4dda90,9,fffffd806d45ea00,0,0,ffff8000ffff8548) at route_usrreq+0x391 sosend(fffffd806e4dda90,0,ffff8000216932b0,0,0,0) at sosend+0x668 sendit(ffff8000ffff8548,3,ffff800021693390,0,ffff800021693480) at sendit+0x589 sys_sendto(ffff8000ffff8548,ffff800021693428,ffff800021693480) at sys_sendto+0x80 syscall(ffff8000216934f0) at syscall+0x571 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd6d40, count: -8 ddb> machine ddbcpu 1 No such command ddb> trace rtm_output(ffff8000006bfb00,ffff8000216930a0,ffff800021693000,8,0) at rtm_output+0x3d5 route_output(fffffd806d45ea00,fffffd806e4dda90,0,0) at route_output+0x6ba route_usrreq(fffffd806e4dda90,9,fffffd806d45ea00,0,0,ffff8000ffff8548) at route_usrreq+0x391 sosend(fffffd806e4dda90,0,ffff8000216932b0,0,0,0) at sosend+0x668 sendit(ffff8000ffff8548,3,ffff800021693390,0,ffff800021693480) at sendit+0x589 sys_sendto(ffff8000ffff8548,ffff800021693428,ffff800021693480) at sys_sendto+0x80 syscall(ffff8000216934f0) at syscall+0x571 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd6d40, count: -8 ddb>