kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Wed Dec 15 23:32:03 PST 2021 OpenBSD/amd64 (ci-openbsd-multicore-3.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.149' (ED25519) to the list of known hosts. 2021/12/15 23:32:19 parsed 1 programs 2021/12/15 23:32:22 executed programs: 0 login: uvm_fault(0xfffffd807f009b80, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi TID PID UID PRFLAGS PFLAGS CPU COMMAND *161951 11198 0 0 0 0K syz-executor.0 325798 11198 0 0 0x4000000 1 syz-executor.0 uvm_fault_lower(ffff800021260a50,ffff800021260a88,ffff8000212609d0,0) at uvm_fault_lower+0xbb1 uvm_fault(fffffd807f009b80,20000000,0,2) at uvm_fault+0x24f upageflttrap(ffff800021260bc0,20000280) at upageflttrap+0x82 usertrap(ffff800021260bc0) at usertrap+0x214 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe1090, count: 10 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd807f009b80, 0x0, 0, 1) -> e ddb{0}> trace uvm_fault_lower(ffff800021260a50,ffff800021260a88,ffff8000212609d0,0) at uvm_fault_lower+0xbb1 uvm_fault(fffffd807f009b80,20000000,0,2) at uvm_fault+0x24f upageflttrap(ffff800021260bc0,20000280) at upageflttrap+0x82 usertrap(ffff800021260bc0) at usertrap+0x214 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe1090, count: -5 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800021260940 rbx 0 rdx 0x8b rcx 0 rax 0x1 r8 0xffffffff81b85fae witness_assert+0x1fe r9 0x5 r10 0x2aab83819bbd6ea8 r11 0xbb88ac82066ae060 r12 0xffff800021260a50 r13 0xfffffd806f8fc120 r14 0 r15 0xffffffff81463000 uvn_flush+0x970 rip 0xffffffff81108171 uvm_fault_lower+0xbb1 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000212608b0 ss 0 uvm_fault_lower+0xbb1: movq 0(%rbx),%rdi ddb{0}> show proc PROC (syz-executor.0) pid=161951 stat=onproc flags process=0 proc=0 pri=36, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800021192a88,0xffff80002122f7b0 process=0xffff8000ffff3618 user=0xffff80002125b000, vmspace=0xfffffd807f009b80 estcpu=1, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *11198 161951 68178 0 7 0 syz-executor.0 11198 486773 68178 0 3 0x4000080 fsleep syz-executor.0 11198 325798 68178 0 7 0x4000000 syz-executor.0 68178 158948 9923 0 2 0x482 syz-executor.0 9923 16667 20223 0 3 0x82 thrsleep syz-execprog 9923 68397 20223 0 3 0x4000082 nanoslp syz-execprog 9923 97432 20223 0 3 0x4000082 thrsleep syz-execprog 9923 432338 20223 0 3 0x4000082 thrsleep syz-execprog 9923 440420 20223 0 3 0x4000082 thrsleep syz-execprog 9923 168277 20223 0 3 0x4000082 thrsleep syz-execprog 9923 2611 20223 0 3 0x4000082 kqread syz-execprog 20223 81370 15889 0 3 0x10008a sigsusp ksh 15889 252318 86582 0 3 0x9a kqread sshd 98285 282112 1 0 3 0x100083 ttyin getty 86582 452179 1 0 3 0x88 kqread sshd 76467 310208 73718 74 3 0x100092 bpf pflogd 73718 118099 1 0 3 0x80 netio pflogd 67043 483214 51053 73 3 0x100090 kqread syslogd 51053 95831 1 0 3 0x100082 netio syslogd 6760 163902 1 0 3 0x100080 kqread resolvd 40315 369393 7288 77 3 0x100092 kqread dhcpleased 50052 400780 7288 77 3 0x100092 kqread dhcpleased 7288 380396 1 0 3 0x80 kqread dhcpleased 2413 166517 0 0 3 0x14200 bored smr 91296 131528 0 0 3 0x14200 pgzero zerothread 21318 10321 0 0 3 0x14200 aiodoned aiodoned 94579 304835 0 0 3 0x14200 syncer update 59144 323935 0 0 3 0x14200 cleaner cleaner 94464 257088 0 0 3 0x14200 reaper reaper 36677 241032 0 0 3 0x14200 pgdaemon pagedaemon 92840 194687 0 0 3 0x14200 bored viomb 38525 187276 0 0 3 0x40014200 acpi0 acpi0 89005 490641 0 0 3 0x40014200 idle1 64152 284338 0 0 3 0x14200 bored softnet 28170 176550 0 0 3 0x14200 bored systqmp 72030 313733 0 0 3 0x14200 bored systq 65460 401024 0 0 3 0x40014200 bored softclock 35180 500054 0 0 3 0x40014200 idle0 1 182224 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 11198 (syz-executor.0) thread 0xffff80002122fce0 (161951) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8298fed0) #0 witness_lock+0x4b0 #1 __mp_acquire_count+0x4c #2 mi_switch+0x3d3 #3 sleep_finish+0x1b2 #4 rw_enter+0x35b #5 uvmfault_relock+0x6f #6 uvm_fault_lower+0x931 #7 uvm_fault+0x24f #8 upageflttrap+0x82 #9 usertrap+0x214 #10 recall_trap+0x8 Process 11198 (syz-executor.0) thread 0xffff80002122efc0 (325798) shared rwlock vmmaplk r = 0 (0xfffffd807f009b98) #0 witness_lock+0x4b0 #1 uvm_map_inentry_fix+0xa7 #2 uvm_map_inentry+0xc5 #3 syscall+0x3d1 #4 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10112 6417K 6417K 78643K 11202 0 pcb 13 8K 8K 78643K 13 0 rtable 84 2K 3K 78643K 142 0 ifaddr 37 9K 9K 78643K 38 0 counters 42 33K 33K 78643K 42 0 ioctlops 0 0K 4K 78643K 1480 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1183 74K 75K 78643K 1188 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 1K 1K 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 3 8K 12K 78643K 18 0 proc 67 87K 99K 78643K 306 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 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 390 0 tdb 3 0K 0K 78643K 3 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 144 15K 15K 78643K 1923 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 7 0K 0K 78643K 7 0 temp 28 4181K 4245K 78643K 2232 0 kqueue 12 18K 18K 78643K 21 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 19 0 16 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 128 35 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 1 0 1 1 0 8 1 tcpcb 736 8 0 5 1 0 1 1 0 8 0 arp 120 4 0 0 1 0 1 1 0 8 0 inpcb 304 36 0 30 1 0 1 1 0 8 0 nd6 48 3 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 10 0 0 1 0 1 1 0 8 0 pfstkey 112 10 0 0 1 0 1 1 0 8 0 pfstate 320 10 0 0 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 144 0 0 9 0 9 9 0 8 0 art_table 32 145 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1437 0 29 88 0 88 88 0 8 0 ffsino 272 1437 0 29 94 0 94 94 0 8 0 nchpl 144 1661 0 46 60 0 60 60 0 8 0 uvmvnodes 80 1447 0 0 30 0 30 30 0 8 0 vnodes 224 1447 0 0 86 0 86 86 0 8 0 namei 1024 4583 0 4583 1 0 1 1 0 8 1 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 4691 0 4691 2 1 1 2 0 8 1 plimitpl 152 17 0 9 1 0 1 1 0 8 0 sigapl 424 275 0 244 4 0 4 4 0 8 0 futexpl 64 2 0 1 1 0 1 1 0 8 0 knotepl 112 57 0 0 2 0 2 2 0 8 0 kqueuepl 216 17 0 9 1 0 1 1 0 8 0 pipepl 336 83 0 76 1 0 1 1 0 8 0 fdescpl 496 261 0 244 3 0 3 3 0 8 0 filepl 152 1209 0 1137 3 0 3 3 0 8 0 lockfpl 104 8 0 4 1 0 1 1 0 8 0 lockfspl 48 5 0 2 1 0 1 1 0 8 0 sessionpl 144 19 0 9 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 69 0 57 1 0 1 1 0 8 0 zombiepl 144 244 0 244 1 0 1 1 0 8 1 processpl 1064 275 0 244 3 0 3 3 0 8 0 procpl 672 283 0 244 4 0 4 4 0 8 0 sockpl 480 90 0 66 4 0 4 4 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 79 0 0 10 0 10 10 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 126 0 0 8 0 8 8 0 8 0 bufpl 288 3418 0 165 233 0 233 233 0 8 0 anonpl 24 38051 0 34165 33 2 31 31 0 186 7 amapchunkpl 152 3824 0 3498 16 2 14 14 0 158 1 amappl16 200 107 0 54 5 1 4 4 0 8 1 amappl15 192 82 0 76 1 0 1 1 0 8 0 amappl14 184 2 0 1 1 0 1 1 0 8 0 amappl13 176 26 0 23 1 0 1 1 0 8 0 amappl12 168 10 0 10 2 1 1 1 0 8 1 amappl11 160 72 0 55 1 0 1 1 0 8 0 amappl10 152 8 0 5 1 0 1 1 0 8 0 amappl9 144 234 0 230 1 0 1 1 0 8 0 amappl8 136 311 0 295 1 0 1 1 0 8 0 amappl7 128 47 0 42 1 0 1 1 0 8 0 amappl6 120 54 0 46 1 0 1 1 0 8 0 amappl5 112 209 0 188 1 0 1 1 0 8 0 amappl4 104 582 0 559 1 0 1 1 0 8 0 amappl3 96 180 0 162 1 0 1 1 0 8 0 amappl2 88 352 0 314 2 0 2 2 0 8 1 amappl1 80 8056 0 7622 13 0 13 13 0 8 3 amappl 88 1636 0 1526 3 0 3 3 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 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 261 0 244 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 261 0 244 1 0 1 1 0 8 0 vmmpekpl 168 7033 0 7017 1 0 1 1 0 8 0 vmmpepl 168 25691 0 24530 64 0 64 64 0 357 13 vmsppl 368 260 0 244 2 0 2 2 0 8 0 rwobjpl 56 9133 0 6958 35 0 35 35 0 8 2 pdppl 4096 530 0 488 58 12 46 46 0 8 4 pvpl 32 155072 0 148282 133 0 133 133 0 265 78 pmappl 248 260 0 244 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 516 0 15 15 0 15 15 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace uvm_fault_lower(ffff800021260a50,ffff800021260a88,ffff8000212609d0,0) at uvm_fault_lower+0xbb1 uvm_fault(fffffd807f009b80,20000000,0,2) at uvm_fault+0x24f upageflttrap(ffff800021260bc0,20000280) at upageflttrap+0x82 usertrap(ffff800021260bc0) at usertrap+0x214 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffe1090, count: -5 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff8298fcc8) at __mp_lock+0x122 syscall(ffff8000212742e0) at syscall+0x3ef Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x20a0f9359b0, count: 9 ddb{1}> trace x86_ipi_db(ffff800020d38ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xb7 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff8298fcc8) at __mp_lock+0x122 syscall(ffff8000212742e0) at syscall+0x3ef Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x20a0f9359b0, count: -6 ddb{1}>