uvm_fault(0xfffffd806ba30740, 0x21c0, 0, 2) -> e kernel: page fault trap, code=2 Stopped at copyout+0x57: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *514375 47413 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c9a36f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a36f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdaf36ba8b50, count: 12 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(0xfffffd806ba30740, 0x21c0, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9a36f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a36f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdaf36ba8b50, count: -3 ddb> show registers rdi 0x21c0 __ALIGN_SIZE+0x11c0 rsi 0xffff80003c9a3440 rbp 0xffff80003c9a3620 rbx 0xa8ec __ALIGN_SIZE+0x98ec rdx 0xffff80003c99e000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x5afbc1e36087eba4 r11 0xffffffff82a5a340 copy_fault r12 0x1 r13 0x16 r14 0xffff80003c9a3440 r15 0xffff80003c9a36f0 rip 0xffffffff82a5a267 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c9a3370 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=514375 pid=47413 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c9962c0,0xffffffff83916278 process=0xffff8000ffff9b18 user=0xffff80003c99e000, vmspace=0xfffffd806ba30740 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 47413 373837 45286 0 2 0 syz-executor *47413 514375 45286 0 7 0x4000000 syz-executor 12715 481433 2880 0 3 0x80 nanoslp syz-executor 12715 26575 2880 0 3 0x4000080 fsleep syz-executor 70940 290304 58157 0 2 0 syz-executor 70940 269714 58157 0 3 0x4000080 fsleep syz-executor 72717 79208 74165 0 2 0 syz-executor 72717 312607 74165 0 3 0x4000080 fsleep syz-executor 19780 349462 49525 0 2 0 syz-executor 19780 488726 49525 0 3 0x4000080 nanoslp syz-executor 19780 450755 49525 0 3 0x4000080 fsleep syz-executor 81849 416403 0 0 3 0x14200 acct acct 6596 42854 12172 0 3 0x80 nanoslp syz-executor 6596 398061 12172 0 3 0x4000080 kqsel syz-executor 6596 357047 12172 0 3 0x4000080 fsleep syz-executor 14796 418820 25602 0 3 0x80 nanoslp syz-executor 14796 12457 25602 0 3 0x4000080 fifow syz-executor 14796 169857 25602 0 3 0x4000080 fsleep syz-executor 14796 151584 25602 0 3 0x4000080 fsleep syz-executor 2880 325481 51898 0 3 0x82 nanoslp syz-executor 74165 50823 51898 0 3 0x82 nanoslp syz-executor 49525 395096 51898 0 3 0x82 nanoslp syz-executor 25602 112106 51898 0 3 0x82 nanoslp syz-executor 45286 303556 51898 0 3 0x82 nanoslp syz-executor 58157 235803 51898 0 2 0xc82 syz-executor 12172 68927 51898 0 3 0x82 nanoslp syz-executor 55258 420817 51898 0 2 0x2 syz-executor 51898 507578 53852 0 3 0x82 kqread syz-executor 53852 53924 91994 0 3 0x10008a sigsusp ksh 91994 401937 24667 0 3 0x98 kqread sshd-session 24667 247726 47710 0 3 0x92 kqread sshd-session 8160 293601 1 0 3 0x100083 ttyin getty 47710 463659 1 0 3 0x88 kqread sshd 44167 464248 85936 73 3 0x1100090 kqread syslogd 85936 426371 1 0 3 0x100082 sbwait syslogd 44647 443021 1 0 3 0x100080 kqread resolvd 28959 461290 92386 77 3 0x100092 kqread dhcpleased 95753 73478 92386 77 3 0x100092 kqread dhcpleased 92386 450470 1 0 3 0x80 kqread dhcpleased 7086 419694 0 0 3 0x14200 bored smr 90969 192484 0 0 2 0x14200 zerothread 21558 394684 0 0 3 0x14200 aiodoned aiodoned 62922 250478 0 0 3 0x14200 syncer update 36549 414942 0 0 3 0x14200 cleaner cleaner 15536 237237 0 0 3 0x14200 reaper reaper 51793 260872 0 0 3 0x14200 pgdaemon pagedaemon 83795 490514 0 0 3 0x14200 bored viomb 5411 288686 0 0 3 0x40014200 acpi0 acpi0 95591 95550 0 0 3 0x14200 bored softnet7 7591 227461 0 0 3 0x14200 bored softnet6 71500 401503 0 0 3 0x14200 bored softnet5 13691 321544 0 0 3 0x14200 bored softnet4 38529 391958 0 0 3 0x14200 bored softnet3 86001 322112 0 0 3 0x14200 bored softnet2 35546 388284 0 0 3 0x14200 bored softnet1 92495 209900 0 0 3 0x14200 bored softnet0 61092 88693 0 0 3 0x14200 bored systqmp 37063 311098 0 0 3 0x14200 bored systq 54078 132098 0 0 2 0x40014200 softclock 20320 337696 0 0 3 0x40014200 idle0 1 278001 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 10210 11077K 11109K 166960K 11332 0 pcb 17 12K 12K 166960K 29 0 rtable 214 7K 7K 166960K 266 0 pf 30 12K 13K 166960K 38 0 ifaddr 42 7K 7K 166960K 47 0 ifgroup 50 2K 2K 166960K 56 0 sysctl 1 1K 9K 166960K 6 0 counters 32 17K 18K 166960K 38 0 ioctlops 0 0K 2K 166960K 35 0 iov 0 0K 12K 166960K 103 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1345 85K 85K 166960K 1393 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 3 0K 0K 166960K 3 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 188 0 sigio 0 0K 0K 166960K 1 0 proc 63 67K 124K 166960K 482 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 3 0 in_multi 99 7K 7K 166960K 101 0 ether_multi 1 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 211 943K 943K 166960K 211 0 exec 0 0K 1K 166960K 353 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 231 159K 167K 166960K 3138 0 UVM aobj 4 2K 2K 166960K 4 0 pinsyscall 38 76K 96K 166960K 1210 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2 0 NDP 11 0K 2K 166960K 30 0 temp 37 8634K 8698K 166960K 4587 0 kqueue 14 22K 24K 166960K 31 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 37 0 34 1 0 1 1 0 8 0 rtentry 136 97 0 1 4 0 4 4 0 8 0 unpcb 144 63 0 44 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 14 0 9 1 0 1 1 0 8 0 arp 96 10 0 0 1 0 1 1 0 8 0 inpcb 328 79 0 71 2 0 2 2 0 8 1 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 2 0 1 1 0 1 1 0 8 0 nd6 104 18 0 0 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 6 0 6 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 439 0 0 28 0 28 28 0 8 0 art_table 40 440 0 0 5 0 5 5 0 8 0 art_node 32 97 0 11 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 1 0 0 1 0 1 1 0 8 0 shmpl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1656 0 150 95 0 95 95 0 8 0 ffsino 256 1656 0 150 95 0 95 95 0 8 0 nchpl 144 1933 0 248 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 1754 0 0 36 0 36 36 0 8 0 vnodes 216 1754 0 0 98 0 98 98 0 8 0 namei 1024 5781 0 5781 2 0 2 2 0 8 2 kstatmem 264 28 0 6 2 0 2 2 0 8 0 scxspl 216 6734 0 6734 8 0 8 8 1 8 8 plimitpl 152 71 0 54 1 0 1 1 0 8 0 sigapl 424 470 0 420 7 0 7 7 0 8 1 knotepl 120 5319 0 5268 9 0 9 9 0 8 7 kqueuepl 184 38 0 24 1 0 1 1 0 8 0 pipepl 304 101 0 74 3 0 3 3 0 8 0 fdescpl 448 449 0 420 5 0 5 5 0 8 1 filepl 120 1624 0 1404 9 0 9 9 0 8 2 lockfpl 104 22 0 20 1 0 1 1 0 8 0 lockfspl 48 12 0 10 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 14 1 0 1 1 0 8 0 ucredpl 104 208 0 197 1 0 1 1 0 8 0 zombiepl 144 420 0 420 1 0 1 1 0 8 1 processpl 1152 470 0 420 5 0 5 5 0 8 1 procpl 664 546 0 485 6 0 6 6 0 8 0 sockpl 552 181 0 151 3 0 3 3 0 8 0 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 2511 0 2462 13 0 13 13 0 8 6 mcl2k 2048 224 0 223 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 4278 0 4138 10 0 10 10 0 8 0 bufpl 280 2962 0 117 204 0 204 204 0 8 0 anonpl 24 108519 0 101265 45 0 45 45 0 187 0 amapchunkpl 152 9370 0 8862 21 0 21 21 0 158 0 amappl16 200 2229 0 1965 14 0 14 14 0 8 0 amappl15 192 3 0 3 1 0 1 1 0 8 1 amappl14 184 103 0 93 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 0 1 1 0 8 1 amappl12 168 1058 0 1029 3 0 3 3 0 8 1 amappl11 160 67 0 57 1 0 1 1 0 8 0 amappl10 152 8 0 8 1 0 1 1 0 8 1 amappl9 144 254 0 254 1 0 1 1 0 8 1 amappl8 136 50 0 49 1 0 1 1 0 8 0 amappl7 128 135 0 125 1 0 1 1 0 8 0 amappl6 120 190 0 187 1 0 1 1 0 8 0 amappl5 112 110 0 103 1 0 1 1 0 8 0 amappl4 104 271 0 257 1 0 1 1 0 8 0 amappl3 96 1453 0 1356 3 0 3 3 0 8 0 amappl2 88 671 0 600 2 0 2 2 0 8 0 amappl1 80 8068 0 7509 13 0 13 13 0 8 0 amappl 88 2499 0 2334 4 0 4 4 0 92 0 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 449 0 420 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 449 0 420 1 0 1 1 0 8 0 vmmpekpl 168 5038 0 5013 2 0 2 2 0 8 0 vmmpepl 168 35533 0 33450 94 0 94 94 0 357 1 vmsppl 368 448 0 420 4 0 4 4 0 8 1 rwobjpl 40 14430 0 11580 29 0 29 29 0 8 0 pdppl 4096 905 0 840 95 18 77 83 0 8 12 pvpl 32 232099 0 219126 107 0 107 107 0 265 0 pmappl 216 448 0 420 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 359 0 18 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9a36f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a36f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdaf36ba8b50, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9a36f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9a36f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdaf36ba8b50, count: -3