uvm_fault(0xfffffd8073996a28, 0x5a00, 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 *134808 81099 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80002f137b70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f137b70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f309dfa570, 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(0xfffffd8073996a28, 0x5a00, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80002f137b70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f137b70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f309dfa570, count: -3 ddb> show registers rdi 0x5a00 __ALIGN_SIZE+0x4a00 rsi 0xffff80002f137800 rbp 0xffff80002f137aa0 rbx 0xa72a __ALIGN_SIZE+0x972a rdx 0xffff80002f132000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0x1 r10 0xf467001516521319 r11 0xffffffff8312b3e0 copy_fault r12 0x7 r13 0x16 r14 0xffff80002f137800 r15 0xffff80002f137b70 rip 0xffffffff8312b307 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80002f1377f0 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=134808 pid=81099 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=62, usrpri=62, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c985780,0xffff80003c984fc8 process=0xffff8000ffff9218 user=0xffff80002f132000, vmspace=0xfffffd8073996a28 estcpu=12, cpticks=14, pctcpu=0.6, user=0, sys=14, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 17287 520088 84326 0 2 0 syz-executor 17287 94670 84326 0 3 0x4000080 kqsel syz-executor 17287 195911 84326 0 3 0x4000080 fsleep syz-executor 83671 461022 3314 0 3 0x3000 suspend syz-executor 83671 353759 3314 0 2 0x4081000 syz-executor 83671 62249 3314 0 2 0x4081000 syz-executor 83671 47863 3314 0 2 0x4081000 syz-executor 83671 236307 3314 0 2 0x4081000 syz-executor 30299 402925 12671 0 2 0 syz-executor 30299 341014 12671 0 3 0x4000080 piperd syz-executor 84398 107822 29150 0 2 0 syz-executor 84398 4704 29150 0 3 0x4000080 fsleep syz-executor 84398 348913 29150 0 3 0x4000080 fsleep syz-executor 1380 232482 81970 0 2 0 syz-executor 1380 363527 81970 0 3 0x4000080 fsleep syz-executor 1380 216483 81970 0 3 0x4000080 tunread syz-executor 1380 62432 81970 0 3 0x4000080 fsleep syz-executor 45732 227123 90950 0 2 0 syz-executor 45732 267246 90950 0 3 0x4000080 fsleep syz-executor 81099 396322 34839 0 3 0x80 nanoslp syz-executor *81099 134808 34839 0 7 0x4000000 syz-executor 81099 211582 34839 0 3 0x4000080 fsleep syz-executor 34839 431518 16514 0 3 0x82 nanoslp syz-executor 90950 258684 16514 0 2 0xc82 syz-executor 81883 441130 16514 0 2 0x2 syz-executor 12671 408430 16514 0 3 0x82 nanoslp syz-executor 3314 72382 16514 0 3 0x82 nanoslp syz-executor 84326 46866 16514 0 3 0x82 nanoslp syz-executor 29150 470425 16514 0 2 0xc82 syz-executor 81970 4739 16514 0 2 0xc82 syz-executor 16514 15456 67880 0 3 0x82 kqread syz-executor 67880 333479 72276 0 3 0x10008a sigsusp ksh 72276 507870 65344 0 3 0x98 kqread sshd-session 65344 119732 96638 0 3 0x92 kqread sshd-session 49079 195106 1 0 3 0x100083 ttyin getty 96638 53469 1 0 3 0x88 kqread sshd 37444 422645 63672 73 3 0x1100090 kqread syslogd 63672 381510 1 0 3 0x100082 sbwait syslogd 59042 234403 1 0 3 0x100080 kqread resolvd 15320 486666 43471 77 3 0x100092 kqread dhcpleased 84755 38859 43471 77 3 0x100092 kqread dhcpleased 43471 142104 1 0 3 0x80 kqread dhcpleased 62760 219493 0 0 3 0x14200 bored smr 105 350943 0 0 2 0x14200 zerothread 81494 65458 0 0 3 0x14200 aiodoned aiodoned 36450 509361 0 0 3 0x14200 syncer update 38074 430328 0 0 3 0x14200 cleaner cleaner 14350 388443 0 0 3 0x14200 reaper reaper 75300 10592 0 0 3 0x14200 pgdaemon pagedaemon 44487 407599 0 0 3 0x14200 bored viomb 61597 398883 0 0 3 0x40014200 acpi0 acpi0 43096 82411 0 0 3 0x14200 bored softnet7 98107 12064 0 0 3 0x14200 bored softnet6 87105 143067 0 0 3 0x14200 bored softnet5 72200 274546 0 0 3 0x14200 bored softnet4 12191 359396 0 0 3 0x14200 bored softnet3 1639 286301 0 0 3 0x14200 bored softnet2 28347 199018 0 0 3 0x14200 bored softnet1 8387 294557 0 0 3 0x14200 bored softnet0 4468 15100 0 0 3 0x14200 bored systqmp 90943 178789 0 0 3 0x14200 bored systq 63392 496921 0 0 3 0x40014200 tmoslp softclock 50091 197920 0 0 3 0x40014200 idle0 1 57556 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 10200 11221K 11286K 166960K 11311 0 pcb 17 12K 12K 166960K 27 0 rtable 185 5K 5K 166960K 265 0 pf 33 13K 13K 166960K 35 0 ifaddr 44 7K 7K 166960K 48 0 ifgroup 55 2K 2K 166960K 57 0 sysctl 2 1K 9K 166960K 6 0 counters 33 17K 18K 166960K 34 0 ioctlops 0 0K 2K 166960K 35 0 iov 1 1K 1K 166960K 1 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1344 85K 85K 166960K 1378 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 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 81K 166960K 162 0 proc 60 59K 92K 166960K 484 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 8 0 in_multi 102 7K 7K 166960K 109 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 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 349 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 222 155K 159K 166960K 3057 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 38 76K 88K 166960K 1194 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 28 2K 2K 166960K 29 0 temp 36 8630K 8694K 166960K 3753 0 kqueue 16 24K 24K 166960K 25 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 41 0 38 1 0 1 1 0 8 0 rtentry 136 96 0 12 4 0 4 4 0 8 0 unpcb 144 48 0 27 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 18 0 13 1 0 1 1 0 8 0 arp 88 10 0 0 1 0 1 1 0 8 0 ipq 40 1 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 1 1 0 1 1 0 8 0 inpcb 328 79 0 70 2 0 2 2 0 8 1 nd6 104 16 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 468 0 41 30 0 30 30 0 8 1 art_table 40 469 0 41 5 0 5 5 0 8 0 art_node 32 96 0 22 1 0 1 1 0 8 0 semapl 112 1 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1595 0 90 95 0 95 95 0 8 0 ffsino 256 1595 0 90 95 0 95 95 0 8 0 nchpl 144 1811 0 129 63 0 63 63 0 8 0 uvmvnodes 80 1690 0 0 35 0 35 35 0 8 0 vnodes 216 1690 0 0 94 0 94 94 0 8 0 namei 1024 5302 0 5301 2 0 2 2 0 8 1 kstatmem 264 26 0 2 2 0 2 2 0 8 0 scxspl 216 6399 0 6399 8 0 8 8 1 8 8 plimitpl 152 29 0 12 1 0 1 1 0 8 0 sigapl 424 446 0 397 7 0 7 7 0 8 1 knotepl 120 3537 0 3485 2 0 2 2 0 8 0 kqueuepl 184 23 0 11 1 0 1 1 0 8 0 pipepl 304 104 0 75 3 0 3 3 0 8 0 fdescpl 448 426 0 397 4 0 4 4 0 8 0 filepl 120 1424 0 1199 8 0 8 8 0 8 0 lockfpl 104 16 0 14 1 0 1 1 0 8 0 lockfspl 48 9 0 7 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 100 0 88 1 0 1 1 0 8 0 zombiepl 144 397 0 397 1 0 1 1 0 8 1 processpl 1152 446 0 397 4 0 4 4 0 8 0 procpl 664 489 0 425 6 0 6 6 0 8 0 sockpl 552 168 0 135 3 0 3 3 0 8 0 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2475 0 2423 13 0 13 13 0 8 5 mcl2k 2048 192 0 191 3 0 3 3 0 8 2 mtagpl 96 6 0 5 1 0 1 1 0 8 0 mbufpl 256 4129 0 3994 12 0 12 12 0 8 2 bufpl 280 2913 0 117 200 0 200 200 0 8 0 anonpl 24 99222 0 96173 23 0 23 23 0 187 2 amapchunkpl 152 8771 0 8309 21 0 21 21 0 158 1 amappl16 200 1874 0 1856 5 0 5 5 0 8 3 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 104 0 94 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 0 1 1 0 8 1 amappl12 168 1039 0 1010 2 0 2 2 0 8 0 amappl11 160 45 0 35 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 0 1 1 0 8 1 amappl9 144 275 0 275 1 0 1 1 0 8 1 amappl8 136 20 0 18 1 0 1 1 0 8 0 amappl7 128 97 0 87 1 0 1 1 0 8 0 amappl6 120 173 0 169 1 0 1 1 0 8 0 amappl5 112 113 0 107 1 0 1 1 0 8 0 amappl4 104 271 0 258 1 0 1 1 0 8 0 amappl3 96 1348 0 1245 3 0 3 3 0 8 0 amappl2 88 606 0 554 2 0 2 2 0 8 0 amappl1 80 7972 0 7429 13 0 13 13 0 8 1 amappl 88 2412 0 2254 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 426 0 397 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 426 0 397 1 0 1 1 0 8 0 vmmpekpl 168 4916 0 4880 2 0 2 2 0 8 0 vmmpepl 168 33769 0 31958 83 0 83 83 0 357 2 vmsppl 368 425 0 397 4 0 4 4 0 8 1 rwobjpl 40 13844 0 11341 27 0 27 27 0 8 1 pdppl 4096 858 0 794 88 14 74 74 0 8 10 pvpl 32 215601 0 207548 76 0 76 76 0 265 2 pmappl 216 425 0 397 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 358 0 14 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80002f137b70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f137b70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f309dfa570, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80002f137b70) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f137b70) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f309dfa570, count: -3