uvm_fault(0xffffffff8354a888, 0xffff8000149e4a00, 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 *483671 91227 0 0x100002 0 0 sh 2366 66200 0 0x2 0 1 syz-executor memcpy() at memcpy+0x19 ufs_inactive(ffff80002a12e058) at ufs_inactive+0x2e2 sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806a6e16c8,ffff8000ffff6020) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd806a6e16c8) at vrele+0x129 sys/kern/vfs_subr.c:827 process_zap(ffff8000359aed70) at process_zap+0x179 sys/kern/kern_exit.c:846 dowait6(ffff8000ffff6020,0,0,ffff80002a12e2bc,27,0,352db3c0faafa8d0,ffff80002a12e3f0) at dowait6+0x998 sys/kern/kern_exit.c:549 sys_wait4(ffff8000ffff6020,ffff80002a12e3f0,ffff80002a12e340) at sys_wait4+0x13a sys/kern/kern_exit.c:688 syscall(ffff80002a12e3f0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a12e3f0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7cb840efe230, count: 6 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(0xffffffff8354a888, 0xffff8000149e4a00, 0, 2) -> d ddb{0}> trace memcpy() at memcpy+0x19 ufs_inactive(ffff80002a12e058) at ufs_inactive+0x2e2 sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806a6e16c8,ffff8000ffff6020) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd806a6e16c8) at vrele+0x129 sys/kern/vfs_subr.c:827 process_zap(ffff8000359aed70) at process_zap+0x179 sys/kern/kern_exit.c:846 dowait6(ffff8000ffff6020,0,0,ffff80002a12e2bc,27,0,352db3c0faafa8d0,ffff80002a12e3f0) at dowait6+0x998 sys/kern/kern_exit.c:549 sys_wait4(ffff8000ffff6020,ffff80002a12e3f0,ffff80002a12e340) at sys_wait4+0x13a sys/kern/kern_exit.c:688 syscall(ffff80002a12e3f0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a12e3f0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7cb840efe230, count: -9 ddb{0}> show registers rdi 0xffff8000149e4a00 rsi 0xfffffd806c5f8700 rbp 0xffff80002a12dfe0 rbx 0x1 rdx 0x100 rcx 0x20 rax 0x12 r8 0xffffffffffffffff r9 0 r10 0xf08e55fe36dbe8ba r11 0xffff8000149e4a00 r12 0xfffffd806cfb4ee0 r13 0xfffffd807e3fa230 r14 0 r15 0xffff800000a5f000 rip 0xffffffff81b8ca89 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a12df78 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (sh) tid=483671 pid=91227 tcnt=1 stat=onproc flags process=100002 proc=0 runpri=40, usrpri=50, slppri=40, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff62a8,0xffffffff83569200 process=0xffff8000359ac020 user=0xffff80002a129000, vmspace=0xfffffd806a6ddc10 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND *91227 483671 81950 0 7 0x100002 sh 47553 51539 53739 0 3 0x2 clonelk ifconfig 53739 323304 48544 0 3 0x10008a sigsusp sh 36672 205859 66200 0 3 0x80 fsleep syz-executor 36672 237453 66200 0 3 0x4000080 wsevent_read syz-executor 48544 157025 52974 0 3 0x82 wait syz-executor 81950 476133 52974 0 3 0x82 wait syz-executor 66200 2366 52974 0 7 0x2 syz-executor 80089 494520 0 0 3 0x14200 bored sosplice 52974 195719 97348 0 3 0x82 wait syz-executor 97348 518124 49709 0 3 0x10008a sigsusp ksh 49709 312527 5427 0 3 0x98 kqread sshd-session 5427 22264 86798 0 3 0x92 kqread sshd-session 12237 481693 1 0 3 0x100083 ttyopn getty 86798 442929 1 0 3 0x88 kqread sshd 62676 262179 39798 74 3 0x1100092 bpf pflogd 39798 111407 1 0 3 0x80 sbwait pflogd 15426 18622 21229 73 3 0x1100090 kqread syslogd 21229 16417 1 0 3 0x100082 sbwait syslogd 80353 193815 1 0 3 0x100080 kqread resolvd 55536 505677 93099 77 3 0x100092 kqread dhcpleased 61022 433620 93099 77 3 0x100092 kqread dhcpleased 93099 246817 1 0 3 0x80 kqread dhcpleased 55620 120395 0 0 3 0x14200 bored smr 71095 3550 0 0 3 0x14200 pgzero zerothread 48244 194742 0 0 3 0x14200 aiodoned aiodoned 25893 399717 0 0 3 0x14200 syncer update 98831 456142 0 0 3 0x14200 cleaner cleaner 9005 100501 0 0 3 0x14200 reaper reaper 90224 171995 0 0 3 0x14200 pgdaemon pagedaemon 14585 235632 0 0 3 0x14200 bored viomb 62392 409149 0 0 3 0x40014200 acpi0 acpi0 8050 286253 0 0 3 0x40014200 idle1 88797 172020 0 0 3 0x14200 bored softnet3 80270 214089 0 0 3 0x14200 bored softnet2 22203 42169 0 0 3 0x14200 bored softnet1 61179 239216 0 0 3 0x14200 bored softnet0 7661 321434 0 0 3 0x14200 bored systqmp 17709 306120 0 0 3 0x14200 bored systq 31023 201731 0 0 3 0x14200 tmoslp softclockmp 27186 463706 0 0 3 0x40014200 tmoslp softclock 23880 487594 0 0 3 0x40014200 idle0 1 173580 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 91227 (sh) thread 0xffff8000ffff6020 (483671) exclusive rrwlock inode r = 0 (0xfffffd806cfb4f78) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vrele+0xd0 sys/kern/vfs_subr.c:818 #6 process_zap+0x179 sys/kern/kern_exit.c:846 #7 dowait6+0x998 sys/kern/kern_exit.c:549 #8 sys_wait4+0x13a sys/kern/kern_exit.c:688 #9 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #9 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #10 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83561d10) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #1 syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10196 10099K 10416K 166960K 11631 0 pcb 17 13K 14K 166960K 133 0 rtable 193 6K 7K 166960K 1353 0 pf 33 17K 22K 166960K 140 0 ifaddr 38 6K 8K 166960K 184 0 ifgroup 51 2K 2K 166960K 203 0 sysctl 3 0K 0K 166960K 3 0 counters 62 36K 36K 166960K 138 0 ioctlops 0 0K 4K 166960K 1546 0 iov 0 0K 16K 166960K 15 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1368 86K 86K 166960K 2023 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 12 0K 1K 166960K 32 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 14 49K 97K 166960K 965 0 sigio 0 0K 0K 166960K 5 0 proc 79 103K 128K 166960K 1458 0 subproc 104 6K 6K 166960K 533 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 46 0 in_multi 87 6K 7K 166960K 456 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 812 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 195 72K 91K 166960K 8441 0 UVM aobj 10 2K 2K 166960K 12 0 pinsyscall 39 78K 108K 166960K 2870 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 14 0 NDP 21 1K 2K 166960K 129 0 temp 42 6812K 6939K 166960K 33652 0 kqueue 13 20K 27K 166960K 87 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 182 0 179 3 2 1 3 0 8 0 rtentry 112 474 0 388 4 1 3 4 0 8 0 unpcb 144 376 0 359 5 4 1 4 0 8 0 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 808 88 0 84 1 0 1 1 0 8 0 arp 120 85 0 69 1 0 1 1 0 8 0 inpcb 336 644 0 636 12 10 2 7 0 8 1 nd6 136 121 0 100 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 1 0 1 0 8 0 kcovpl 48 41 0 33 1 0 1 1 0 8 0 ppxss 1168 1 0 1 1 1 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 2 0 2 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 3 0 3 1 1 0 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 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pfstitem 24 90 0 61 1 0 1 1 0 8 0 pfstkey 128 99 0 63 2 0 2 2 0 8 0 pfstate 376 90 0 62 5 1 4 5 0 8 0 pfrule 1344 25 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 1910 0 1512 31 3 28 29 0 8 3 art_table 32 1911 0 1512 4 0 4 4 0 8 0 art_node 16 472 0 395 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semapl 112 20 0 10 1 0 1 1 0 8 0 shmpl 112 9 0 2 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2221 0 651 99 0 99 99 0 8 0 ffsino 272 2227 0 657 105 0 105 105 0 8 0 nchpl 144 2928 0 2345 63 39 24 63 0 8 0 uvmvnodes 80 2885 0 0 59 0 59 59 0 8 0 vnodes 216 2885 0 0 161 0 161 161 0 8 0 namei 1024 12030 0 12030 7 6 1 2 0 8 1 percpumem 16 83 0 38 1 0 1 1 0 8 0 kstatmem 264 98 0 76 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 216 19666 0 19666 10 9 1 8 1 8 1 plimitpl 152 124 0 107 1 0 1 1 0 8 0 sigapl 424 1198 0 1150 8 2 6 7 0 8 0 futexpl 64 6370 0 6369 5 4 1 1 0 8 0 knotepl 120 351 0 0 10 0 10 10 0 8 0 kqueuepl 216 116 0 107 1 0 1 1 0 8 0 pipepl 320 240 0 213 3 0 3 3 0 8 0 fdescpl 496 1179 0 1151 8 4 4 6 0 8 0 filepl 152 4920 0 4686 18 8 10 15 0 8 0 lockfpl 104 121 0 119 1 0 1 1 0 8 0 lockfspl 48 54 0 52 1 0 1 1 0 8 0 sessionpl 144 55 0 46 1 0 1 1 0 8 0 pgrppl 48 97 0 80 1 0 1 1 0 8 0 ucredpl 104 551 0 538 1 0 1 1 0 8 0 zombiepl 144 1174 0 1168 1 0 1 1 0 8 0 processpl 1160 1198 0 1150 5 1 4 5 0 8 0 procpl 648 1664 0 1615 7 2 5 6 0 8 0 srpgc 96 4 0 4 2 2 0 1 0 8 0 sosppl 168 5 0 5 2 2 0 1 0 8 0 sockpl 664 1213 0 1185 19 16 3 14 0 8 0 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 14 0 0 2 0 2 2 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 255 0 0 32 0 32 32 0 8 0 mtagpl 96 7 0 0 1 0 1 1 0 8 0 mbufpl 256 303 0 0 17 0 17 17 0 8 0 bufpl 280 7479 0 869 473 0 473 473 0 8 0 anonpl 24 238460 0 231089 106 19 87 95 0 185 19 amapchunkpl 152 27179 0 26761 44 6 38 38 0 158 16 amappl16 200 4933 0 4735 27 4 23 23 0 8 0 amappl15 192 45 0 45 1 1 0 1 0 8 0 amappl14 184 196 0 184 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 1 0 1 0 8 0 amappl12 168 2360 0 2331 3 1 2 2 0 8 0 amappl11 160 52 0 38 1 0 1 1 0 8 0 amappl10 152 23 0 22 1 0 1 1 0 8 0 amappl9 144 134 0 134 1 1 0 1 0 8 0 amappl8 136 25 0 22 1 0 1 1 0 8 0 amappl7 128 171 0 159 1 0 1 1 0 8 0 amappl6 120 488 0 484 1 0 1 1 0 8 0 amappl5 112 285 0 273 1 0 1 1 0 8 0 amappl4 104 406 0 387 1 0 1 1 0 8 0 amappl3 96 5033 0 4955 4 1 3 4 0 8 0 amappl2 88 1118 0 1049 2 0 2 2 0 8 0 amappl1 80 11891 0 11336 14 1 13 14 0 8 0 amappl 88 7809 0 7676 6 1 5 5 0 92 1 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 8 0 8 2 2 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 11 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1179 0 1151 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1179 0 1151 1 0 1 1 0 8 0 vmmpekpl 168 10435 0 10389 3 0 3 3 0 8 0 vmmpepl 168 86261 0 84496 108 16 92 105 0 357 1 vmsppl 440 1178 0 1151 6 2 4 5 0 8 0 rwobjpl 56 28507 0 24538 59 2 57 57 0 8 0 pdppl 4096 2365 0 2302 139 70 69 87 0 8 6 pvpl 32 36220 0 0 291 0 291 291 0 265 0 pmappl 248 1178 0 1151 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 458 0 93 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace memcpy() at memcpy+0x19 ufs_inactive(ffff80002a12e058) at ufs_inactive+0x2e2 sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806a6e16c8,ffff8000ffff6020) at VOP_INACTIVE+0x107 sys/kern/vfs_vops.c:495 vrele(fffffd806a6e16c8) at vrele+0x129 sys/kern/vfs_subr.c:827 process_zap(ffff8000359aed70) at process_zap+0x179 sys/kern/kern_exit.c:846 dowait6(ffff8000ffff6020,0,0,ffff80002a12e2bc,27,0,352db3c0faafa8d0,ffff80002a12e3f0) at dowait6+0x998 sys/kern/kern_exit.c:549 sys_wait4(ffff8000ffff6020,ffff80002a12e3f0,ffff80002a12e340) at sys_wait4+0x13a sys/kern/kern_exit.c:688 syscall(ffff80002a12e3f0) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a12e3f0) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7cb840efe230, count: -9 ddb{0}> machine ddbcpu 1