uvm_fault(0xffffffff82c90b40, 0xffff8000093f2d00, 0, 2) -> d kernel: page fault trap, code=0 Stopped at memcpy+0x15: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *306917 26527 73 0x1100010 0 0 syslogd memcpy() at memcpy+0x15 VOP_FSYNC(fffffd806e996120,fffffd807f7d7bc8,1,ffff8000ffff95c8) at VOP_FSYNC+0xc5 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffff95c8,ffff8000216bdee0,ffff8000216bdf30) at sys_fsync+0x107 sys/kern/vfs_syscalls.c:2935 syscall(ffff8000216bdfb0) at syscall+0x4e6 sys/arch/amd64/amd64/trap.c:626 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbbe50, 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: uvm_fault(0xffffffff82c90b40, 0xffff8000093f2d00, 0, 2) -> d ddb> trace memcpy() at memcpy+0x15 VOP_FSYNC(fffffd806e996120,fffffd807f7d7bc8,1,ffff8000ffff95c8) at VOP_FSYNC+0xc5 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffff95c8,ffff8000216bdee0,ffff8000216bdf30) at sys_fsync+0x107 sys/kern/vfs_syscalls.c:2935 syscall(ffff8000216bdfb0) at syscall+0x4e6 sys/arch/amd64/amd64/trap.c:626 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbbe50, count: -5 ddb> show registers rdi 0xffff8000093f2d00 rsi 0xfffffd806e5aa300 rbp 0xffff8000216bdde0 rbx 0x2 rdx 0x100 rcx 0x20 rax 0x32c r8 0xffffffffffffffff r9 0x2 r10 0x569040df515aacc9 r11 0xffff8000093f2d00 r12 0xfffffd806e800a60 r13 0xfffffd806f570908 r14 0x1 r15 0xffff8000006b6800 rip 0xffffffff81db1f85 memcpy+0x15 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000216bdd78 ss 0x10 memcpy+0x15: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syslogd) pid=306917 stat=onproc flags process=1100010 proc=0 pri=17, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff5b40,0xffff8000ffff9320 process=0xffff8000ffff2000 user=0xffff8000216b9000, vmspace=0xfffffd807f014dd0 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 91747 236164 99523 0 2 0 syz-executor.3 58341 266493 77259 0 2 0 syz-executor.0 43132 113988 6896 0 2 0 syz-executor.6 43132 85875 6896 0 2 0x4000000 syz-executor.6 62548 74329 86549 0 2 0 syz-executor.1 62548 332597 86549 0 2 0x4000000 syz-executor.1 62548 472384 86549 0 2 0x4000000 syz-executor.1 96070 166242 70304 0 2 0 syz-executor.4 96070 363907 70304 0 3 0x4000080 fsleep syz-executor.4 21235 21993 4577 0 2 0 syz-executor.7 21235 274093 4577 0 3 0x4000080 fsleep syz-executor.7 38637 18597 74387 0 3 0x82 nanoslp syz-executor.5 86549 100724 74387 0 3 0x82 nanoslp syz-executor.1 6896 105700 74387 0 2 0x482 syz-executor.6 70304 322465 74387 0 3 0x82 nanoslp syz-executor.4 91710 39558 1 0 3 0x100083 ttyin getty 77259 233298 74387 0 2 0x482 syz-executor.0 1741 165924 74387 0 2 0x2 syz-executor.2 46483 190241 0 0 3 0x14200 acct acct 4577 129036 74387 0 3 0x82 nanoslp syz-executor.7 99523 46897 74387 0 2 0x482 syz-executor.3 97994 410651 0 0 3 0x14280 nfsidl nfsio 52585 446588 0 0 3 0x14280 nfsidl nfsio 14767 56498 0 0 3 0x14280 nfsidl nfsio 36948 240310 0 0 3 0x14280 nfsidl nfsio 72772 196147 0 0 3 0x14280 nfsidl nfsio 81384 24676 0 0 3 0x14280 nfsidl nfsio 55580 14225 0 0 3 0x14280 nfsidl nfsio 68077 358068 0 0 3 0x14280 nfsidl nfsio 12832 293902 0 0 3 0x14280 nfsidl nfsio 66623 393000 0 0 3 0x14280 nfsidl nfsio 71130 361869 0 0 3 0x14280 nfsidl nfsio 60543 401876 0 0 3 0x14280 nfsidl nfsio 79060 209442 0 0 3 0x14280 nfsidl nfsio 14006 330176 0 0 3 0x14280 nfsidl nfsio 64628 276749 0 0 3 0x14280 nfsidl nfsio 50776 218693 0 0 3 0x14280 nfsidl nfsio 33916 332511 0 0 3 0x14280 nfsidl nfsio 34306 449417 0 0 3 0x14280 nfsidl nfsio 20234 45226 0 0 3 0x14280 nfsidl nfsio 94136 186064 0 0 3 0x14280 nfsidl nfsio 72876 26596 0 0 3 0x14200 bored sosplice 74387 132563 13747 0 3 0x82 thrsleep syz-fuzzer 74387 496517 13747 0 2 0x4000002 syz-fuzzer 74387 323122 13747 0 3 0x4000082 wait syz-fuzzer 74387 441606 13747 0 3 0x4000082 thrsleep syz-fuzzer 74387 111356 13747 0 3 0x4000082 thrsleep syz-fuzzer 74387 375282 13747 0 3 0x4000082 wait syz-fuzzer 74387 45603 13747 0 3 0x4000082 wait syz-fuzzer 74387 335306 13747 0 3 0x4000082 thrsleep syz-fuzzer 74387 345893 13747 0 3 0x4000082 wait syz-fuzzer 74387 28647 13747 0 3 0x4000082 wait syz-fuzzer 74387 124859 13747 0 3 0x4000082 kqread syz-fuzzer 74387 359795 13747 0 3 0x4000082 wait syz-fuzzer 74387 204402 13747 0 3 0x4000082 wait syz-fuzzer 74387 327968 13747 0 3 0x4000082 wait syz-fuzzer 13747 163874 24708 0 3 0x10008a sigsusp ksh 24708 24198 58015 0 3 0x9a kqread sshd 58015 354569 1 0 3 0x88 kqread sshd *26527 306917 4853 73 7 0x1100010 syslogd 4853 517120 1 0 3 0x100082 netio syslogd 17724 464867 1 0 3 0x100080 kqread resolvd 70982 239446 88191 77 3 0x100092 kqread dhcpleased 68246 125395 88191 77 3 0x100092 kqread dhcpleased 88191 186725 1 0 3 0x80 kqread dhcpleased 61214 246357 0 0 3 0x14200 bored smr 35377 393845 0 0 2 0x14200 zerothread 69323 243068 0 0 3 0x14200 aiodoned aiodoned 79583 39510 0 0 3 0x14200 syncer update 92029 230434 0 0 3 0x14200 cleaner cleaner 8569 125945 0 0 3 0x14200 reaper reaper 68630 17689 0 0 3 0x14200 pgdaemon pagedaemon 54261 180099 0 0 3 0x14200 bored viomb 47405 86027 0 0 3 0x40014200 acpi0 acpi0 17355 83606 0 0 3 0x14200 bored softnet 79803 246636 0 0 3 0x14200 bored softnet 47509 358157 0 0 3 0x14200 bored softnet 28979 103868 0 0 3 0x14200 bored softnet 41451 418823 0 0 3 0x14200 bored systqmp 37196 376846 0 0 3 0x14200 bored systq 14577 281173 0 0 2 0x40014200 softclock 85365 469111 0 0 3 0x40014200 idle0 1 124750 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 10229 6502K 7598K 78643K 26834 0 pcb 13 18K 23K 78643K 1665 0 rtable 181 8K 8K 78643K 3073 0 ifaddr 87 25K 28K 78643K 997 0 sysctl 3 1K 1K 78643K 3 0 counters 27 17K 17K 78643K 401 0 ioctlops 0 0K 4K 78643K 10634 0 iov 0 0K 44K 78643K 1190 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1670 104K 105K 78643K 16211 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 93 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 3231 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 69K 78643K 8505 0 sigio 0 0K 0K 78643K 201 0 proc 61 59K 75K 78643K 2257 0 subproc 104 6K 7K 78643K 814 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 921 0 in_multi 78 5K 7K 78643K 1103 0 ether_multi 1 0K 0K 78643K 28 0 mrt 1 0K 0K 78643K 32 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 235 1049K 1049K 78643K 235 0 exec 0 0K 1K 78643K 2399 0 pfkey data 0 0K 0K 78643K 6 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 8 62K 64K 78643K 10 0 UVM amap 326 90K 103K 78643K 55827 0 UVM aobj 67 3K 3K 78643K 67 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 331 0 NDP 12 0K 2K 78643K 364 0 temp 132 5766K 39558K 78643K 150397 0 kqueue 12 18K 28K 78643K 837 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 1202 0 1199 19 18 1 3 0 8 0 rtentry 112 986 0 910 5 2 3 4 0 8 0 unpcb 144 6808 0 6795 71 70 1 8 0 8 0 syncache 296 102 0 102 18 18 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 191 0 191 9 9 0 1 0 8 0 tcpcb 776 3718 0 3713 141 137 4 14 0 8 3 arp 88 126 0 113 1 0 1 1 0 8 0 ipq 40 3 0 2 3 2 1 1 0 8 0 ipqe 40 12 0 11 3 2 1 1 0 8 0 inpcb 336 10012 0 10004 172 163 9 12 0 8 8 nd6 48 237 0 218 1 0 1 1 0 8 0 pkpcb 40 19 0 19 4 4 0 1 0 8 0 kcovpl 48 62 0 54 1 0 1 1 0 8 0 mppekey 1024 7 0 7 2 2 0 1 0 8 0 ppxss 1160 236 0 236 25 25 0 1 0 8 0 pppxif 1360 193 0 193 17 17 0 1 0 8 0 pfstscr 40 275 0 262 2 1 1 1 0 8 0 pfosfp 40 3 0 2 1 0 1 1 0 8 0 pfosfpen 112 3 0 0 1 0 1 1 0 8 0 pfanchor 1280 803 77 291 46 3 43 43 0 8 0 pfqueue 264 4 0 4 1 1 0 1 0 8 0 pfstitem 24 36 0 16 1 0 1 1 0 8 0 pfstkey 128 542 0 523 2 1 1 1 0 8 0 pfstate 352 271 0 261 4 3 1 2 0 8 0 rttmr 136 6 0 6 2 2 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 4753 0 4387 57 31 26 30 0 8 2 art_table 32 4754 0 4387 4 0 4 4 0 8 0 art_node 16 977 0 912 1 0 1 1 0 8 0 sysvmsgpl 40 46 0 6 1 0 1 1 0 8 0 semapl 112 3228 0 3218 1 0 1 1 0 8 0 shmpl 112 64 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 12734 0 11275 92 0 92 92 0 8 0 ffsino 240 12734 0 11275 87 0 87 87 0 8 0 nchpl 144 24099 0 22476 63 1 62 63 0 8 0 uvmvnodes 80 6479 0 0 133 0 133 133 0 8 0 vnodes 216 6479 0 0 360 0 360 360 0 8 0 namei 1024 103771 0 103771 13 12 1 2 0 8 1 vmpool 664 30 0 30 8 7 1 1 0 8 1 kstatmem 264 386 0 362 2 0 2 2 0 8 0 scsiplug 72 11 0 11 3 2 1 1 0 8 1 scxspl 216 85377 0 85376 25 24 1 8 0 8 0 plimitpl 152 1605 0 1590 1 0 1 1 0 8 0 sigapl 424 8781 0 8715 8 0 8 8 0 8 0 futexpl 64 93373 0 93371 14 13 1 1 0 8 0 knotepl 120 139507 0 139427 69 65 4 9 0 8 0 kqueuepl 184 2196 0 2188 32 31 1 6 0 8 0 pipepl 288 2705 0 2677 59 52 7 7 0 8 4 fdescpl 432 8662 0 8635 4 0 4 4 0 8 0 filepl 120 76678 0 76443 143 126 17 21 0 8 8 lockfpl 104 2357 0 2355 4 3 1 2 0 8 0 lockfspl 48 703 0 701 1 0 1 1 0 8 0 sessionpl 144 78 0 62 1 0 1 1 0 8 0 pgrppl 48 93 0 77 1 0 1 1 0 8 0 ucredpl 104 9716 0 9705 1 0 1 1 0 8 0 zombiepl 144 8716 0 8715 4 3 1 1 0 8 0 processpl 1008 8781 0 8715 10 1 9 9 0 8 0 procpl 696 21884 0 21800 21 12 9 10 0 8 0 sosppl 168 121 0 121 20 20 0 1 0 8 0 sockpl 456 18047 0 18023 475 463 12 36 0 8 8 mcl64k 65536 366 0 366 24 23 1 1 0 8 1 mcl16k 16384 142 0 142 19 19 0 1 0 8 0 mcl12k 12288 347 0 347 30 29 1 1 0 8 1 mcl9k 9216 89 0 89 22 21 1 1 0 8 1 mcl8k 8192 614 0 614 24 23 1 1 0 8 1 mcl4k 4096 1101 0 1101 23 22 1 1 0 8 1 mcl2k2 2112 77 0 77 27 26 1 1 0 8 1 mcl2k 2048 93926 0 93861 46 36 10 31 0 8 0 mtagpl 96 1151 0 1044 19 16 3 7 0 8 0 mbufpl 256 266559 0 266256 1280 1258 22 558 0 8 0 bufpl 288 19081 0 12601 463 0 463 463 0 8 0 anonpl 24 1761764 0 1745705 262 122 140 181 0 188 13 amapchunkpl 152 182988 0 182296 118 86 32 58 0 158 1 amappl16 200 18618 0 18020 136 99 37 51 0 8 5 amappl15 192 79 0 76 1 0 1 1 0 8 0 amappl14 184 343 0 331 2 0 2 2 0 8 0 amappl13 176 11 0 8 1 0 1 1 0 8 0 amappl12 168 1052 0 1049 1 0 1 1 0 8 0 amappl11 160 48 0 37 1 0 1 1 0 8 0 amappl10 152 82 0 73 1 0 1 1 0 8 0 amappl9 144 997 0 996 3 2 1 1 0 8 0 amappl8 136 403 0 325 5 2 3 3 0 8 0 amappl7 128 265 0 241 2 0 2 2 0 8 0 amappl6 120 435 0 423 1 0 1 1 0 8 0 amappl5 112 441 0 434 1 0 1 1 0 8 0 amappl4 104 1179 0 1153 2 1 1 2 0 8 0 amappl3 96 24124 0 24077 2 0 2 2 0 8 0 amappl2 88 9657 0 9588 3 1 2 3 0 8 0 amappl1 80 195904 0 195222 24 7 17 22 0 8 0 amappl 88 54646 0 54469 5 0 5 5 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 66 0 0 2 0 2 2 0 8 0 uaddrrnd 24 8692 0 8665 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 8692 0 8665 1 0 1 1 0 8 0 vmmpekpl 168 72204 0 72148 3 0 3 3 0 8 0 vmmpepl 168 812508 0 809831 365 222 143 155 0 357 11 vmsppl 272 8691 0 8665 4 2 2 3 0 8 0 rwobjpl 24 213796 0 205569 54 1 53 53 0 8 0 pdppl 4096 17390 0 17330 670 606 64 68 0 8 4 pvpl 32 3584263 0 3562653 545 299 246 321 0 265 34 pmappl 216 8691 0 8665 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 3059 0 2268 39 14 25 38 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x15 VOP_FSYNC(fffffd806e996120,fffffd807f7d7bc8,1,ffff8000ffff95c8) at VOP_FSYNC+0xc5 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffff95c8,ffff8000216bdee0,ffff8000216bdf30) at sys_fsync+0x107 sys/kern/vfs_syscalls.c:2935 syscall(ffff8000216bdfb0) at syscall+0x4e6 sys/arch/amd64/amd64/trap.c:626 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbbe50, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x15 VOP_FSYNC(fffffd806e996120,fffffd807f7d7bc8,1,ffff8000ffff95c8) at VOP_FSYNC+0xc5 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffff95c8,ffff8000216bdee0,ffff8000216bdf30) at sys_fsync+0x107 sys/kern/vfs_syscalls.c:2935 syscall(ffff8000216bdfb0) at syscall+0x4e6 sys/arch/amd64/amd64/trap.c:626 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffbbe50, count: -5