uvm_fault(0xffffffff8395b818, 0xffff80001a632200, 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 memcpy() at memcpy+0x19 ufs_inactive(ffff8000338d98c0) at ufs_inactive+0x2de sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806ba468a8,ffff80002f0c0a78) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vrele(fffffd806ba468a8) at vrele+0x120 sys/kern/vfs_subr.c:837 uvm_unmap_detach(ffff8000338d99c0,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1370 uvm_map_teardown(fffffd806cce1d08) at uvm_map_teardown+0x357 sys/uvm/uvm_map.c:2536 exit1(ffff80002f0c0a78,0,0,1) at exit1+0x6e6 sys/kern/kern_exit.c:259 sys_exit(ffff80002f0c0a78,ffff8000338d9b80,ffff8000338d9ad0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000338d9b80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338d9b80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7572f4a7e3a0, count: 5 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(0xffffffff8395b818, 0xffff80001a632200, 0, 2) -> d ddb> trace memcpy() at memcpy+0x19 ufs_inactive(ffff8000338d98c0) at ufs_inactive+0x2de sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806ba468a8,ffff80002f0c0a78) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vrele(fffffd806ba468a8) at vrele+0x120 sys/kern/vfs_subr.c:837 uvm_unmap_detach(ffff8000338d99c0,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1370 uvm_map_teardown(fffffd806cce1d08) at uvm_map_teardown+0x357 sys/uvm/uvm_map.c:2536 exit1(ffff80002f0c0a78,0,0,1) at exit1+0x6e6 sys/kern/kern_exit.c:259 sys_exit(ffff80002f0c0a78,ffff8000338d9b80,ffff8000338d9ad0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000338d9b80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338d9b80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7572f4a7e3a0, count: -10 ddb> show registers rdi 0xffff80001a632200 rsi 0xfffffd806ec24300 rbp 0xffff8000338d9850 rbx 0xffff80001a632200 rdx 0x100 rcx 0x20 rax 0xffff80002f0c0a78 r8 0xffffffffffffffff r9 0x32a00 acpi_pdirpa+0x1e871 r10 0x205aad4afbb085e5 r11 0xffff80001a632200 r12 0x200 r13 0x2 r14 0 r15 0xfffffd806a65be78 rip 0xffffffff817bd219 memcpy+0x19 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000338d97e8 ss 0x10 memcpy+0x19: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=352170 pid=88727 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002f0c0a78 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002f0c14d8,0xffff80003c4f1790 process=0xffff8000ffff8d98 user=0xffff8000338d4000, vmspace=0xfffffd806cce1d08 estcpu=36, cpticks=2, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 78505 219752 19483 0 3 0x80 nanoslp syz-executor 78505 490800 19483 0 2 0x4000c80 syz-executor 27176 370683 53651 0 2 0xc82 syz-executor 5654 123760 26013 0 3 0x80 nanoslp syz-executor 5654 316958 26013 0 3 0x4000080 ttyout syz-executor 5654 474408 26013 0 3 0x4000080 fsleep syz-executor 94780 328664 82196 60929 2 0xc90 syz-executor 94780 306611 82196 60929 3 0x4000090 kqpoll syz-executor 94780 400209 82196 60929 3 0x4000090 fsleep syz-executor 94780 276423 82196 60929 3 0x4000090 fsleep syz-executor 2184 498497 24777 0 2 0xc80 syz-executor 2184 99647 24777 0 3 0x4000080 lockf syz-executor 2184 466795 24777 0 3 0x4000080 fsleep syz-executor 82196 268195 53651 0 2 0xc82 syz-executor 24777 477370 53651 0 2 0xc82 syz-executor 26013 53210 53651 0 2 0xc82 syz-executor 19483 406620 53651 0 2 0xc82 syz-executor 95024 176494 53651 0 2 0xc82 syz-executor 53651 88081 74394 0 3 0x82 wait syz-executor 74394 172729 53948 0 3 0x10008a sigsusp ksh 53948 125207 86412 0 3 0x98 kqread sshd-session 86412 101417 56807 0 3 0x92 kqread sshd-session 15314 399535 1 0 3 0x100083 ttyin getty 56807 402182 1 0 3 0x88 kqread sshd 37068 441750 56689 73 3 0x1100090 kqread syslogd 56689 498851 1 0 3 0x100082 sbwait syslogd 68944 404816 1 0 3 0x100080 kqread resolvd 78376 25265 91052 77 3 0x100092 kqread dhcpleased 57589 396520 91052 77 3 0x100092 kqread dhcpleased 91052 378678 1 0 3 0x80 kqread dhcpleased 18560 406768 0 0 3 0x14200 bored smr 56931 169672 0 0 2 0x14200 zerothread 62876 345918 0 0 3 0x14200 aiodoned aiodoned 10976 454651 0 0 3 0x14200 syncer update 91690 478184 0 0 3 0x14200 cleaner cleaner 68577 347628 0 0 3 0x14200 reaper reaper 16497 470493 0 0 3 0x14200 pgdaemon pagedaemon 88038 178030 0 0 3 0x14200 bored viomb 96309 33691 0 0 3 0x40014200 acpi0 acpi0 90749 108686 0 0 3 0x14200 bored softnet0 63943 474895 0 0 3 0x14200 bored systqmp 39895 58490 0 0 3 0x14200 bored systq 60541 29358 0 0 3 0x40014200 tmoslp softclock 3381 357438 0 0 3 0x40014200 idle0 1 447629 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11040 12170K 12872K 166960K 12461 0 pcb 17 14K 16K 166960K 81 0 rtable 233 8K 8K 166960K 424 0 pf 34 13K 16K 166960K 62 0 ifaddr 40 7K 7K 166960K 54 0 ifgroup 50 2K 2K 166960K 65 0 sysctl 3 1K 9K 166960K 7 0 counters 33 17K 17K 166960K 40 0 ioctlops 0 0K 4K 166960K 86 0 iov 0 0K 12K 166960K 7 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1332 84K 84K 166960K 1606 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 20K 20K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 20 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 89K 166960K 387 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 91K 166960K 554 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 42 0 in_multi 90 6K 7K 166960K 120 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 11 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 407 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 208 151K 169K 166960K 5263 0 UVM aobj 11 2K 2K 166960K 11 0 pinsyscall 36 72K 91K 166960K 1554 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 20 0 NDP 13 0K 2K 166960K 34 0 temp 39 9071K 9136K 166960K 8100 0 kqueue 13 20K 28K 166960K 76 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 50 0 45 1 0 1 1 0 8 0 rtentry 136 128 0 27 4 0 4 4 0 8 0 unpcb 144 321 0 306 6 0 6 6 0 8 5 syncache 336 8 0 8 1 0 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 226 0 219 13 4 9 13 0 8 8 arp 96 21 0 2 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 2 0 0 1 0 1 1 0 8 0 inpcb 328 469 0 457 13 3 10 13 0 8 8 nd6 112 31 0 4 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 5 0 5 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfrktable 1344 3 0 1 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfqueue 320 1 0 0 1 0 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 3 0 1 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1360 6 0 4 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 508 0 110 29 0 29 29 0 8 2 art_table 40 509 0 110 5 0 5 5 0 8 0 art_node 32 128 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2039 0 574 92 0 92 92 0 8 0 ffsino 256 2039 0 574 92 0 92 92 0 8 0 nchpl 144 2574 0 870 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 2260 0 0 126 0 126 126 0 8 0 namei 1024 8589 0 8589 2 0 2 2 0 8 2 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 32 0 10 2 0 2 2 0 8 0 scxspl 216 13549 0 13549 2 0 2 2 1 8 2 plimitpl 152 270 0 252 1 0 1 1 0 8 0 sigapl 424 689 0 648 6 0 6 6 0 8 0 knotepl 120 15807 0 15760 9 0 9 9 0 8 7 kqueuepl 184 97 0 87 1 0 1 1 0 8 0 pipepl 304 142 0 115 3 0 3 3 0 8 0 fdescpl 448 675 0 648 5 0 5 5 0 8 1 filepl 120 3697 0 3481 11 0 11 11 0 8 3 lockfpl 104 148 0 144 1 0 1 1 0 8 0 lockfspl 48 62 0 59 1 0 1 1 0 8 0 sessionpl 144 32 0 24 1 0 1 1 0 8 0 pgrppl 48 43 0 27 1 0 1 1 0 8 0 ucredpl 104 635 0 623 1 0 1 1 0 8 0 zombiepl 144 652 0 648 1 0 1 1 0 8 0 processpl 1152 689 0 648 4 0 4 4 0 8 0 procpl 664 1068 0 1019 6 0 6 6 0 8 1 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 552 857 0 825 12 1 11 12 0 8 8 mcl64k 65536 13 0 13 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2804 0 2750 13 0 13 13 0 8 5 mcl2k 2048 358 0 347 2 0 2 2 0 8 0 mtagpl 96 12 0 8 1 0 1 1 0 8 0 mbufpl 256 7280 0 7031 23 3 20 23 0 8 3 bufpl 280 7515 0 1009 465 0 465 465 0 8 0 anonpl 24 148020 0 143820 57 0 57 57 0 187 11 amapchunkpl 152 16770 0 16276 31 0 31 31 0 158 5 amappl16 200 3339 0 3312 22 7 15 18 0 8 10 amappl15 192 7 0 7 1 0 1 1 0 8 1 amappl14 184 436 0 435 1 0 1 1 0 8 0 amappl13 176 130 0 120 1 0 1 1 0 8 0 amappl12 168 919 0 893 2 0 2 2 0 8 0 amappl11 160 23 0 23 1 0 1 1 0 8 1 amappl10 152 61 0 51 1 0 1 1 0 8 0 amappl9 144 258 0 258 1 0 1 1 0 8 1 amappl8 136 108 0 106 1 0 1 1 0 8 0 amappl7 128 162 0 150 1 0 1 1 0 8 0 amappl6 120 165 0 164 1 0 1 1 0 8 0 amappl5 112 122 0 114 1 0 1 1 0 8 0 amappl4 104 309 0 293 1 0 1 1 0 8 0 amappl3 96 3026 0 2929 4 0 4 4 0 8 1 amappl2 88 587 0 534 2 0 2 2 0 8 0 amappl1 80 12480 0 11943 16 0 16 16 0 8 2 amappl 88 4469 0 4323 5 0 5 5 0 92 0 uvmvnodes 80 107 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 1 0 1 1 0 8 1 dma64 64 6 0 6 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 10 0 0 1 0 1 1 0 8 0 uaddrrnd 24 675 0 648 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 675 0 648 1 0 1 1 0 8 0 vmmpekpl 168 7879 0 7838 2 0 2 2 0 8 0 vmmpepl 168 55153 0 53481 105 0 105 105 0 357 20 vmsppl 368 674 0 647 4 0 4 4 0 8 1 rwobjpl 40 19700 0 18759 15 0 15 15 0 8 1 pdppl 4096 1356 0 1294 102 32 70 78 0 8 8 pvpl 32 351962 0 341869 140 0 140 140 0 265 31 pmappl 216 674 0 647 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 390 0 39 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memcpy() at memcpy+0x19 ufs_inactive(ffff8000338d98c0) at ufs_inactive+0x2de sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806ba468a8,ffff80002f0c0a78) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vrele(fffffd806ba468a8) at vrele+0x120 sys/kern/vfs_subr.c:837 uvm_unmap_detach(ffff8000338d99c0,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1370 uvm_map_teardown(fffffd806cce1d08) at uvm_map_teardown+0x357 sys/uvm/uvm_map.c:2536 exit1(ffff80002f0c0a78,0,0,1) at exit1+0x6e6 sys/kern/kern_exit.c:259 sys_exit(ffff80002f0c0a78,ffff8000338d9b80,ffff8000338d9ad0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000338d9b80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338d9b80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7572f4a7e3a0, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace memcpy() at memcpy+0x19 ufs_inactive(ffff8000338d98c0) at ufs_inactive+0x2de sys/ufs/ufs/ufs_inode.c:95 VOP_INACTIVE(fffffd806ba468a8,ffff80002f0c0a78) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vrele(fffffd806ba468a8) at vrele+0x120 sys/kern/vfs_subr.c:837 uvm_unmap_detach(ffff8000338d99c0,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1370 uvm_map_teardown(fffffd806cce1d08) at uvm_map_teardown+0x357 sys/uvm/uvm_map.c:2536 exit1(ffff80002f0c0a78,0,0,1) at exit1+0x6e6 sys/kern/kern_exit.c:259 sys_exit(ffff80002f0c0a78,ffff8000338d9b80,ffff8000338d9ad0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000338d9b80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff8000338d9b80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7572f4a7e3a0, count: -10