uvm_fault(0xffffffff83933440, 0xffff800029ef5000, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pvclock_get+0x53: movl 0(%r15),%r12d TID PID UID PRFLAGS PFLAGS CPU COMMAND *293554 79452 0 0 0x4000000 0 syz-executor pvclock_get(ffffffff8386b9c0) at pvclock_get+0x53 pvclock_read_begin sys/dev/pv/pvclock.c:278 [inline] pvclock_get(ffffffff8386b9c0) at pvclock_get+0x53 sys/dev/pv/pvclock.c:333 nsecuptime() at nsecuptime+0x62 tc_delta sys/kern/kern_tc.c:138 [inline] nsecuptime() at nsecuptime+0x62 binuptime sys/kern/kern_tc.c:191 [inline] nsecuptime() at nsecuptime+0x62 sys/kern/kern_tc.c:257 clockintr_dispatch(ffff800039cdcab0) at clockintr_dispatch+0xe8 sys/kern/kern_clockintr.c:180 lapic_clockintr(0,0) at lapic_clockintr+0x43 sys/arch/amd64/amd64/lapic.c:482 Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a __sanitizer_cov_trace_const_cmp4(10,ffff800039cdcb60) at __sanitizer_cov_trace_const_cmp4+0x1c kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_const_cmp4(10,ffff800039cdcb60) at __sanitizer_cov_trace_const_cmp4+0x1c sys/dev/kcov.c:230 _rb_find(ffffffff83504118,fffffd806ca5f420,ffff800039cdcbd8) at _rb_find+0x95 sys/kern/subr_tree.c:453 uvm_pagelookup(fffffd806ca5f410,c6000) at uvm_pagelookup+0x51 uvm_objtree_RBT_FIND sys/uvm/uvm_object.h:93 [inline] uvm_pagelookup(fffffd806ca5f410,c6000) at uvm_pagelookup+0x51 sys/uvm/uvm_page.c:1214 buf_free_pages(fffffd806ca5f350) at buf_free_pages+0xec sys/kern/vfs_biomem.c:-1 buf_dealloc_mem(fffffd806ca5f350) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd806ca5f350) at buf_put+0x1d9 sys/kern/vfs_bio.c:123 brelse(fffffd806ca5f350) at brelse+0x397 sys/kern/vfs_bio.c:932 writedisklabel(d02,ffffffff81c5bc10,ffff800000039000) at writedisklabel+0x1b8 sys/arch/amd64/amd64/disksubr.c:158 sdioctl(d01,84946467,ffff8000015df800,3,ffff80002a774548) at sdioctl+0x959 sys/scsi/sd.c:921 end trace frame: 0xffff800039cdcf50, count: 0 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(0xffffffff83933440, 0xffff800029ef5000, 0, 1) -> e ddb> trace pvclock_get(ffffffff8386b9c0) at pvclock_get+0x53 pvclock_read_begin sys/dev/pv/pvclock.c:278 [inline] pvclock_get(ffffffff8386b9c0) at pvclock_get+0x53 sys/dev/pv/pvclock.c:333 nsecuptime() at nsecuptime+0x62 tc_delta sys/kern/kern_tc.c:138 [inline] nsecuptime() at nsecuptime+0x62 binuptime sys/kern/kern_tc.c:191 [inline] nsecuptime() at nsecuptime+0x62 sys/kern/kern_tc.c:257 clockintr_dispatch(ffff800039cdcab0) at clockintr_dispatch+0xe8 sys/kern/kern_clockintr.c:180 lapic_clockintr(0,0) at lapic_clockintr+0x43 sys/arch/amd64/amd64/lapic.c:482 Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a __sanitizer_cov_trace_const_cmp4(10,ffff800039cdcb60) at __sanitizer_cov_trace_const_cmp4+0x1c kd_curproc sys/dev/kcov.c:580 [inline] __sanitizer_cov_trace_const_cmp4(10,ffff800039cdcb60) at __sanitizer_cov_trace_const_cmp4+0x1c sys/dev/kcov.c:230 _rb_find(ffffffff83504118,fffffd806ca5f420,ffff800039cdcbd8) at _rb_find+0x95 sys/kern/subr_tree.c:453 uvm_pagelookup(fffffd806ca5f410,c6000) at uvm_pagelookup+0x51 uvm_objtree_RBT_FIND sys/uvm/uvm_object.h:93 [inline] uvm_pagelookup(fffffd806ca5f410,c6000) at uvm_pagelookup+0x51 sys/uvm/uvm_page.c:1214 buf_free_pages(fffffd806ca5f350) at buf_free_pages+0xec sys/kern/vfs_biomem.c:-1 buf_dealloc_mem(fffffd806ca5f350) at buf_dealloc_mem+0x14e sys/kern/vfs_biomem.c:179 buf_put(fffffd806ca5f350) at buf_put+0x1d9 sys/kern/vfs_bio.c:123 brelse(fffffd806ca5f350) at brelse+0x397 sys/kern/vfs_bio.c:932 writedisklabel(d02,ffffffff81c5bc10,ffff800000039000) at writedisklabel+0x1b8 sys/arch/amd64/amd64/disksubr.c:158 sdioctl(d01,84946467,ffff8000015df800,3,ffff80002a774548) at sdioctl+0x959 sys/scsi/sd.c:921 VOP_IOCTL(fffffd8068dfacb0,84946467,ffff8000015df800,3,fffffd8007ffd750,ffff80002a774548) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806c94b970,84946467,ffff8000015df800,ffff80002a774548) at vn_ioctl+0xea sys/kern/vfs_vnops.c:537 sys_ioctl(ffff80002a774548,ffff800039cdd240,ffff800039cdd190) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1 syscall(ffff800039cdd240) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800039cdd240) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x37a5bf0b020, count: -19 ddb> show registers rdi 0xffffffff rsi 0xd rbp 0xffff800039cdc9a0 rbx 0x3 rdx 0xffff8000015d87c0 rcx 0 rax 0xc r8 0 r9 0 r10 0 r11 0x1531670497e4cf r12 0xe16 r13 0xffffffff838a7118 th1 r14 0xffffffff8386b9c0 pvclock_timecounter r15 0xffff800029ef5000 rip 0xffffffff81a56103 pvclock_get+0x53 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800039cdc950 ss 0x10 pvclock_get+0x53: movl 0(%r15),%r12d ddb> show proc PROC (syz-executor) tid=293554 pid=79452 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a775a08,0xffff80002a7a5258 process=0xffff8000ffff8498 user=0xffff800039cd8000, vmspace=0xfffffd806cb2c010 estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 89846 448297 24402 0 2 0 syz-executor 89846 247713 24402 0 2 0x4000000 syz-executor 89846 111317 24402 0 3 0x4000080 fsleep syz-executor 65600 100637 84559 -1 3 0x90 nanoslp syz-executor 65600 392683 84559 -1 3 0x4000090 kqsel syz-executor 65600 106183 84559 -1 3 0x4000090 fsleep syz-executor 79452 368350 24792 0 2 0 syz-executor *79452 293554 24792 0 7 0x4000000 syz-executor 93196 108648 28763 0 2 0 syz-executor 93196 341606 28763 0 3 0x4000080 sbwait syz-executor 82127 164672 64741 0 2 0 syz-executor 82127 97255 64741 0 2 0x4000000 syz-executor 86683 147352 93473 0 3 0x80 nanoslp syz-executor 86683 441697 93473 0 3 0x4000080 ttyin syz-executor 86683 428758 93473 0 3 0x4000080 fsleep syz-executor 64741 80675 77641 0 3 0x82 nanoslp syz-executor 93473 180879 77641 0 3 0x82 nanoslp syz-executor 80153 335899 77641 0 3 0x82 nanoslp syz-executor 24402 518185 77641 0 3 0x82 nanoslp syz-executor 24792 238904 77641 0 3 0x82 nanoslp syz-executor 84559 76311 77641 0 3 0x82 nanoslp syz-executor 67541 446174 77641 0 2 0x2 syz-executor 28763 487624 77641 0 3 0x82 nanoslp syz-executor 77641 278474 1 0 3 0x82 kqread syz-executor 82834 90176 0 0 3 0x14200 bored smr 54239 419653 0 0 2 0x14200 zerothread 52567 229897 0 0 3 0x14200 aiodoned aiodoned 39190 146356 0 0 3 0x14200 syncer update 30478 166761 0 0 3 0x14200 cleaner cleaner 87486 348677 0 0 3 0x14200 reaper reaper 50740 231391 0 0 3 0x14200 pgdaemon pagedaemon 78553 520881 0 0 3 0x14200 bored viomb 96231 102011 0 0 3 0x40014200 acpi0 acpi0 99512 278137 0 0 2 0x14200 softnet0 57618 289103 0 0 3 0x14200 smrbar systqmp 96556 169222 0 0 3 0x14200 bored systq 48229 128902 0 0 3 0x40014200 tmoslp softclock 87051 271487 0 0 3 0x40014200 idle0 1 227520 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 11060 12230K 13237K 166960K 12798 0 pcb 18 12K 12K 166960K 61 0 rtable 228 7K 8K 166960K 466 0 pf 31 13K 20K 166960K 159 0 ifaddr 41 7K 8K 166960K 61 0 ifgroup 50 2K 2K 166960K 91 0 sysctl 1 1K 9K 166960K 6 0 counters 33 17K 18K 166960K 50 0 ioctlops 1 2K 4K 166960K 73 0 iov 0 0K 14K 166960K 55 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1421 89K 90K 166960K 1709 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 9 0K 0K 166960K 10 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 61K 97K 166960K 376 0 sigio 0 0K 0K 166960K 3 0 proc 11 17K 124K 166960K 517 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 45 0 in_multi 96 7K 7K 166960K 108 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 10 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 217 970K 970K 166960K 217 0 exec 0 0K 1K 166960K 381 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 131 78K 167K 166960K 5133 0 UVM aobj 11 2K 2K 166960K 11 0 pinsyscall 17 34K 96K 166960K 1467 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 14 0 NDP 11 0K 2K 166960K 40 0 temp 44 9064K 9155K 166960K 9765 0 kqueue 2 4K 28K 166960K 78 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 59 0 57 1 0 1 1 0 8 0 rtentry 136 120 0 19 4 0 4 4 0 8 0 unpcb 144 137 0 135 1 0 1 1 0 8 0 syncache 336 8 0 8 1 0 1 1 0 8 1 tcpqe 32 1 0 1 1 0 1 1 0 8 1 tcpcb 736 68 0 65 1 0 1 1 0 8 0 arp 96 19 0 1 1 0 1 1 0 8 0 ipq 40 8 0 3 1 0 1 1 0 8 0 ipqe 40 44 0 39 1 0 1 1 0 8 0 inpcb 328 222 0 214 2 0 2 2 0 8 0 ip6q 72 3 0 0 1 0 1 1 0 8 0 ip6af 40 4 0 0 1 0 1 1 0 8 0 nd6 112 26 0 1 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 11 0 11 1 0 1 1 0 8 1 pppxif 1416 2 0 2 1 0 1 1 0 8 1 pfanchor 1288 6 0 0 1 0 1 1 0 8 0 pfrule 1360 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 477 0 55 30 0 30 30 0 8 2 art_table 40 479 0 55 5 0 5 5 0 8 0 art_node 32 119 0 28 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 8 0 1 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2035 0 572 92 0 92 92 0 8 0 ffsino 256 2035 0 572 92 0 92 92 0 8 0 nchpl 144 2533 0 838 64 0 64 64 0 8 0 vnodes 216 2368 0 0 132 0 132 132 0 8 0 namei 1024 8035 0 8033 2 0 2 2 0 8 1 kstatmem 264 46 0 24 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 11796 0 11796 8 0 8 8 1 8 8 plimitpl 152 73 0 61 1 0 1 1 0 8 0 sigapl 424 668 0 637 6 0 6 6 0 8 1 knotepl 120 13349 0 13331 16 6 10 16 0 8 7 kqueuepl 184 107 0 102 1 0 1 1 0 8 0 pipepl 304 132 0 105 3 0 3 3 0 8 0 fdescpl 448 655 0 637 5 0 5 5 0 8 1 filepl 120 3008 0 2827 9 0 9 9 0 8 1 lockfpl 104 112 0 110 1 0 1 1 0 8 0 lockfspl 48 54 0 52 1 0 1 1 0 8 0 sessionpl 144 31 0 28 1 0 1 1 0 8 0 pgrppl 48 42 0 31 1 0 1 1 0 8 0 ucredpl 104 503 0 498 1 0 1 1 0 8 0 zombiepl 144 638 0 637 1 0 1 1 0 8 0 processpl 1152 668 0 637 4 0 4 4 0 8 0 procpl 664 1020 0 980 6 0 6 6 0 8 1 sockpl 552 496 0 484 3 0 3 3 0 8 1 mcl64k 65536 18 0 18 1 0 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 2834 0 2778 14 0 14 14 0 8 6 mcl2k 2048 344 0 333 4 0 4 4 0 8 1 mtagpl 96 10 0 4 1 0 1 1 0 8 0 mbufpl 256 7062 0 6865 23 4 19 23 0 8 3 bufpl 280 6335 0 121 444 0 444 444 0 8 0 anonpl 24 140371 0 138592 42 0 42 42 0 187 20 amapchunkpl 152 16356 0 15999 33 0 33 33 0 158 16 amappl16 200 2531 0 2495 7 0 7 7 0 8 4 amappl15 192 9 0 9 1 0 1 1 0 8 1 amappl14 184 448 0 448 1 0 1 1 0 8 1 amappl13 176 209 0 209 1 0 1 1 0 8 1 amappl12 168 896 0 879 2 0 2 2 0 8 0 amappl11 160 10 0 10 1 0 1 1 0 8 1 amappl10 152 56 0 56 1 0 1 1 0 8 1 amappl9 144 262 0 262 1