uvm_fault(0xffffffff83a239c0, 0xffff800013564800, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memcpy+0x19: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *183030 13356 73 0x1100010 0 1K syslogd memcpy() at memcpy+0x19 VOP_FSYNC(fffffd806ec29050,fffffd80097fd9c0,1,ffff80002a223a00) at VOP_FSYNC+0x107 sys/kern/vfs_vops.c:311 sys_fsync(ffff80002a223a00,ffff80002a27cb80,ffff80002a27cad0) at sys_fsync+0x161 sys/kern/vfs_syscalls.c:2976 syscall(ffff80002a27cb80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a27cb80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75bbf6890220, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xffffffff83a239c0, 0xffff800013564800, 0, 2) -> d ddb{1}> trace memcpy() at memcpy+0x19 VOP_FSYNC(fffffd806ec29050,fffffd80097fd9c0,1,ffff80002a223a00) at VOP_FSYNC+0x107 sys/kern/vfs_vops.c:311 sys_fsync(ffff80002a223a00,ffff80002a27cb80,ffff80002a27cad0) at sys_fsync+0x161 sys/kern/vfs_syscalls.c:2976 syscall(ffff80002a27cb80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a27cb80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75bbf6890220, count: -5 ddb{1}> show registers rdi 0xffff800013564800 rsi 0xfffffd806e8e1f00 rbp 0xffff80002a27c9c0 rbx 0xffff800013564800 rdx 0x100 rcx 0x20 rax 0xffff80002999dff0 r8 0xffffffffffffffff r9 0x65400 acpi_pdirpa+0x51271 r10 0xf27acdb88072a98 r11 0xffff800013564800 r12 0x2800 __ALIGN_SIZE+0x1800 r13 0x2 r14 0x1 r15 0xfffffd806f630248 rip 0xffffffff81fc5f09 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a27c958 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb{1}> show proc PROC (syslogd) tid=183030 pid=13356 tcnt=1 stat=onproc flags process=1100010 proc=0 runpri=24, usrpri=50, slppri=24, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a223238,0xffff80002a222550 process=0xffff8000ffff2690 user=0xffff80002a277000, vmspace=0xfffffd800b0635b8 estcpu=0, cpticks=3, pctcpu=0.0, user=0, sys=3, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 54384 175066 58197 0 3 0x80 nanoslp syz-executor 54384 65625 58197 0 3 0x4000080 nanoslp syz-executor 54384 422982 58197 0 3 0x4000080 fsleep syz-executor 54384 462354 58197 0 3 0x4000080 fsleep syz-executor 90172 70512 0 0 3 0x14280 nfsidl nfsio 80226 402904 0 0 3 0x14280 nfsidl nfsio 25938 80655 0 0 3 0x14280 nfsidl nfsio 21716 55883 0 0 3 0x14280 nfsidl nfsio 85591 435811 0 0 3 0x14280 nfsidl nfsio 4164 12415 0 0 3 0x14280 nfsidl nfsio 28822 206027 0 0 3 0x14280 nfsidl nfsio 23790 117188 0 0 3 0x14280 nfsidl nfsio 37323 418148 0 0 3 0x14280 nfsidl nfsio 73498 481829 0 0 3 0x14280 nfsidl nfsio 14812 480951 0 0 3 0x14280 nfsidl nfsio 69376 237147 0 0 3 0x14280 nfsidl nfsio 83080 386069 0 0 3 0x14280 nfsidl nfsio 72289 364569 0 0 3 0x14280 nfsidl nfsio 29710 341939 0 0 3 0x14280 nfsidl nfsio 19397 366057 0 0 3 0x14280 nfsidl nfsio 32201 40948 0 0 3 0x14280 nfsidl nfsio 42882 63371 0 0 3 0x14280 nfsidl nfsio 90785 261666 0 0 3 0x14280 nfsidl nfsio 22079 270264 0 0 3 0x14280 nfsidl nfsio 37818 259255 54644 0 3 0x82 nanoslp syz-executor 58197 133885 54644 0 3 0x82 nanoslp syz-executor 13895 20583 54644 0 2 0x10000c82 syz-executor 82715 37135 54644 0 3 0x82 nanoslp syz-executor 54644 344746 36084 0 3 0x82 wait syz-executor 36084 129398 27119 0 3 0x10008a sigsusp ksh 27119 67685 99897 0 3 0x98 kqread sshd-session 99897 442220 60326 0 3 0x92 kqread sshd-session 68105 434745 1 0 3 0x100083 ttyin getty 60326 367739 1 0 3 0x88 kqread sshd 10700 114184 89550 74 3 0x1100092 bpf pflogd 89550 155305 1 0 3 0x80 sbwait pflogd *13356 183030 40754 73 7 0x1100010 syslogd 40754 118086 1 0 3 0x100082 sbwait syslogd 4867 217883 1 0 3 0x100080 kqread resolvd 93884 488814 93745 77 3 0x100092 kqread dhcpleased 80629 226356 93745 77 3 0x100092 kqread dhcpleased 93745 275952 1 0 3 0x80 kqread dhcpleased 6497 54914 0 0 3 0x14200 bored smr 23263 70872 0 0 2 0x14200 zerothread 37318 49651 0 0 3 0x14200 aiodoned aiodoned 62332 133816 0 0 3 0x14200 syncer update 89602 453443 0 0 3 0x14200 cleaner cleaner 56674 11063 0 0 3 0x14200 reaper reaper 72738 201502 0 0 3 0x14200 pgdaemon pagedaemon 13315 321893 0 0 3 0x14200 bored viomb 99714 113947 0 0 3 0x40014200 acpi0 acpi0 22357 77086 0 0 3 0x40014200 idle1 14507 505760 0 0 3 0x14200 bored softnet1 70645 446582 0 0 3 0x14200 bored softnet0 45168 516073 0 0 3 0x14200 bored systqmp 72135 143526 0 0 3 0x14200 bored systq 22286 455433 0 0 3 0x14200 tmoslp softclockmp 86499 93922 0 0 3 0x40014200 tmoslp softclock 14218 3518 0 0 3 0x40014200 idle0 1 188122 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 0: exclusive mutex &(curpg)->mdpage.pv_mtx r = 0 (0xfffffd800840b5a0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter+0x4b4 sys/kern/kern_lock.c:487 #2 pmap_page_remove+0x51 sys/arch/amd64/amd64/pmap.c:1970 #3 uvm_anfree+0xd8 sys/uvm/uvm_anon.c:111 #4 amap_wipeout+0x246 sys/uvm/uvm_amap.c:-1 #5 uvm_unmap_detach+0x8a sys/uvm/uvm_map.c:1359 #6 uvm_map_teardown+0x360 sys/uvm/uvm_map.c:2536 #7 exit1+0x6fc sys/kern/kern_exit.c:260 #8 sys_exit+0x1a sys/kern/kern_exit.c:-1 #9 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #9 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #10 Xsyscall+0x128 Process 13356 (syslogd) thread 0xffff80002a223a00 (183030) exclusive rrwlock inode r = 0 (0xfffffd806eaef918) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:576 #5 sys_fsync+0x144 sys/kern/vfs_syscalls.c:2976 #6 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #7 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83a159c0) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11079 12282K 12479K 166960K 12394 0 pcb 17 12K 12K 166960K 35 0 rtable 243 7K 7K 166960K 368 0 pf 40 18K 22K 166960K 57 0 ifaddr 44 7K 7K 166960K 46 0 ifgroup 57 2K 2K 166960K 57 0 sysctl 3 1K 9K 166960K 7 0 counters 72 37K 37K 166960K 72 0 ioctlops 0 0K 4K 166960K 1513 0 iov 0 0K 16K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1300 82K 82K 166960K 1448 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 12 41K 89K 166960K 234 0 proc 71 115K 164K 166960K 562 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 11 0 in_multi 99 7K 7K 166960K 102 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 386 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 196 158K 177K 166960K 4086 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 37 74K 102K 166960K 1384 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 3 0 NDP 13 0K 1K 166960K 29 0 temp 35 9110K 9175K 166960K 7732 0 kqueue 14 22K 28K 166960K 48 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 40 0 37 1 0 1 1 0 8 0 rtentry 176 111 0 1 5 0 5 5 0 8 0 unpcb 144 77 0 60 1 0 1 1 0 8 0 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 37 0 33 1 0 1 1 0 8 0 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 136 0 129 2 0 2 2 0 8 1 nd6 152 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 1 0 0 1 0 1 1 0 8 0 pfstscr 40 5 0 5 1 0 1 1 0 8 1 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 1 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 27 0 0 1 0 1 1 0 8 0 pfstkey 128 31 0 4 1 0 1 1 0 8 0 pfstate 448 29 0 3 3 0 3 3 0 8 0 pfrule 1360 23 0 18 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 40 453 0 0 5 0 5 5 0 8 0 art_node 32 111 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 64 3 0 0 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1751 0 282 93 0 93 93 0 8 0 ffsino 296 1751 0 282 114 0 114 114 0 8 0 nchpl 144 2091 0 383 64 0 64 64 0 8 0 vnodes 216 1887 0 0 105 0 105 105 0 8 0 namei 1024 6697 0 6697 3 1 2 2 0 8 2 percpumem 16 51 0 0 1 0 1 1 0 8 0 kstatmem 264 29 0 0 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 10948 0 10948 4 3 1 3 1 8 1 plimitpl 152 36 0 18 1 0 1 1 0 8 0 sigapl 424 569 0 505 8 0 8 8 0 8 0 knotepl 120 86 0 0 3 0 3 3 0 8 0 kqueuepl 224 118 0 107 5 0 5 5 0 8 4 pipepl 344 185 0 158 9 1 8 8 0 8 5 fdescpl 528 533 0 507 3 0 3 3 0 8 0 filepl 160 2499 0 2283 15 0 15 15 0 8 4 lockfpl 104 32 0 30 1 0 1 1 0 8 0 lockfspl 48 14 0 12 1 0 1 1 0 8 0 sessionpl 144 28 0 19 1 0 1 1 0 8 0 pgrppl 48 36 0 19 1 0 1 1 0 8 0 ucredpl 104 247 0 233 1 0 1 1 0 8 0 zombiepl 144 512 0 505 2 1 1 1 0 8 0 processpl 1232 569 0 505 6 0 6 6 0 8 0 procpl 664 737 0 670 8 0 8 8 0 8 0 sockpl 752 259 0 232 5 0 5 5 0 8 2 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 112 0 0 14 0 14 14 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 18 0 0 3 0 3 3 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 156 0 0 10 0 10 10 0 8 0 bufpl 280 6428 0 300 438 0 438 438 0 8 0 anonpl 32 7576 0 0 61 0 61 61 0 246 0 amapchunkpl 152 11924 0 11572 29 2 27 27 0 158 6 amappl16 200 2206 0 2184 16 1 15 15 0 8 9 amappl15 192 9 0 9 2 2 0 1 0 8 0 amappl14 184 426 0 425 2 1 1 1 0 8 0 amappl13 176 126 0 113 1 0 1 1 0 8 0 amappl12 168 782 0 757 2 0 2 2 0 8 0 amappl11 160 6 0 6 2 2 0 1 0 8 0 amappl10 152 69 0 55 1 0 1 1 0 8 0 amappl9 144 268 0 268 2 2 0 1 0 8 0 amappl8 136 103 0 101 1 0 1 1 0 8 0 amappl7 128 145 0 131 1 0 1 1 0 8 0 amappl6 120 158 0 157 2 1 1 1 0 8 0 amappl5 112 94 0 83 1 0 1 1 0 8 0 amappl4 104 291 0 270 1 0 1 1 0 8 0 amappl3 96 2140 0 2057 5 1 4 4 0 8 1 amappl2 88 541 0 479 2 0 2 2 0 8 0 amappl1 80 10135 0 9550 18 1 17 17 0 8 3 amappl 88 3350 0 3225 5 0 5 5 0 92 0 uvmvnodes 80 102 0 0 3 0 3 3 0 8 0 dma4096 4096 2 0 2 2 1 1 1 0 8 1 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 254 0 254 2 1 1 1 0 8 1 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 5 0 0 1 0 1 1 0 8 0 uaddrrnd 24 533 0 507 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 533 0 507 1 0 1 1 0 8 0 vmmpekpl 168 6480 0 6436 3 0 3 3 0 8 0 vmmpepl 168 42884 0 41240 102 1 101 101 0 357 9 vmsppl 488 532 0 506 5 0 5 5 0 8 1 rwobjpl 80 15436 0 14446 28 1 27 27 0 8 1 pdppl 4096 1073 0 1012 98 27 71 83 0 8 10 pvpl 32 15160 0 0 123 0 123 123 0 265 0 pmappl 256 532 0 506 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 270 0 31 7 0 7 7 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83901ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83a151c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a151c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 exit1(ffff80003c3e2d30,0,0,1) at exit1+0x701 sys/kern/kern_exit.c:260 sys_exit(ffff80003c3e2d30,ffff80003c3f9930,ffff80003c3f9880) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c3f9930) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3f9930) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70baf3f98b60, count: 7 ddb{0}> trace x86_ipi_db(ffffffff83901ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83a151c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83a151c0) at __mp_lock+0x192 sys/kern/kern_lock.c:173 exit1(ffff80003c3e2d30,0,0,1) at exit1+0x701 sys/kern/kern_exit.c:260 sys_exit(ffff80003c3e2d30,ffff80003c3f9930,ffff80003c3f9880) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c3f9930) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3f9930) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70baf3f98b60, count: -8 ddb{0}> machine ddbcpu 1 Stopped at memcpy+0x19: repe movsq (%rsi),%es:(%rdi) memcpy() at memcpy+0x19 VOP_FSYNC(fffffd806ec29050,fffffd80097fd9c0,1,ffff80002a223a00) at VOP_FSYNC+0x107 sys/kern/vfs_vops.c:311 sys_fsync(ffff80002a223a00,ffff80002a27cb80,ffff80002a27cad0) at sys_fsync+0x161 sys/kern/vfs_syscalls.c:2976 syscall(ffff80002a27cb80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a27cb80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75bbf6890220, count: 10 ddb{1}> trace memcpy() at memcpy+0x19 VOP_FSYNC(fffffd806ec29050,fffffd80097fd9c0,1,ffff80002a223a00) at VOP_FSYNC+0x107 sys/kern/vfs_vops.c:311 sys_fsync(ffff80002a223a00,ffff80002a27cb80,ffff80002a27cad0) at sys_fsync+0x161 sys/kern/vfs_syscalls.c:2976 syscall(ffff80002a27cb80) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a27cb80) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x75bbf6890220, count: -5