uvm_fault(0xfffffd806bb82018, 0x82a0, 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 *394987 2032 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff800038159660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038159660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2c94e28e870, 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(0xfffffd806bb82018, 0x82a0, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff800038159660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038159660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2c94e28e870, count: -3 ddb> show registers rdi 0x82a0 __ALIGN_SIZE+0x72a0 rsi 0xffff800038159390 rbp 0xffff800038159590 rbx 0x4000a5e5 rdx 0xffff800038154000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x443d97e482e1929e r11 0xffffffff82088b60 copy_fault r12 0x2 r13 0x16 r14 0xffff800038159390 r15 0xffff800038159660 rip 0xffffffff82088a87 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff8000381592e0 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=394987 pid=2032 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=53, usrpri=54, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003393d250,0xffff80002a7ffa20 process=0xffff80002cd2c018 user=0xffff800038154000, vmspace=0xfffffd806bb82018 estcpu=4, cpticks=9, pctcpu=0.0, user=0, sys=9, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 41297 269343 24072 0 2 0 syz-executor 41297 187486 24072 0 3 0x4000080 fsleep syz-executor 41297 93119 24072 0 3 0x4000080 fsleep syz-executor 39681 385939 52083 0 3 0x80 nanoslp syz-executor 39681 19271 52083 0 3 0x4000080 lockf syz-executor 39681 56296 52083 0 3 0x4000080 fsleep syz-executor 39988 378704 39134 0 2 0 syz-executor 39988 282016 39134 0 3 0x4000080 sbwait syz-executor 2032 523147 26153 0 3 0x80 nanoslp syz-executor * 2032 394987 26153 0 7 0x4000000 syz-executor 2032 18600 26153 0 3 0x4000080 fsleep syz-executor 16280 262608 17552 0 2 0 syz-executor 16280 345475 17552 0 2 0x4000000 syz-executor 86289 424470 46676 0 3 0x80 nanoslp syz-executor 86289 149070 46676 0 3 0x4000080 lockf syz-executor 86289 165800 46676 0 3 0x4000080 fsleep syz-executor 79221 51656 77765 0 2 0 syz-executor 79221 516857 77765 0 3 0x4000080 fsleep syz-executor 79221 471022 77765 0 3 0x4000080 fsleep syz-executor 79221 199306 77765 0 3 0x4000080 fsleep syz-executor 71970 231345 0 0 3 0x14200 bored sosplice 26153 446501 26443 0 3 0x82 nanoslp syz-executor 74617 349742 26443 0 2 0x2 syz-executor 46676 359891 26443 0 2 0xc82 syz-executor 39134 358198 26443 0 2 0xc82 syz-executor 52083 126644 26443 0 3 0x82 nanoslp syz-executor 24072 38687 26443 0 2 0xc82 syz-executor 77765 328945 26443 0 2 0xc82 syz-executor 17552 295851 26443 0 3 0x82 nanoslp syz-executor 26443 83021 47558 0 3 0x82 kqread syz-executor 47558 407836 81564 0 3 0x10008a sigsusp ksh 81564 207082 88786 0 3 0x98 kqread sshd-session 88786 146307 83749 0 3 0x92 kqread sshd-session 52807 99356 1 0 3 0x100083 ttyin getty 83749 372760 1 0 3 0x88 kqread sshd 53350 430490 63379 73 3 0x1100090 kqread syslogd 63379 13363 1 0 3 0x100082 sbwait syslogd 29843 520607 1 0 3 0x100080 kqread resolvd 90712 384655 96455 77 3 0x100092 kqread dhcpleased 63742 14425 96455 77 3 0x100092 kqread dhcpleased 96455 4226 1 0 3 0x80 kqread dhcpleased 59529 520089 0 0 3 0x14200 bored smr 6830 210887 0 0 2 0x14200 zerothread 72424 7956 0 0 3 0x14200 aiodoned aiodoned 84847 133159 0 0 3 0x14200 syncer update 64034 275154 0 0 3 0x14200 cleaner cleaner 7345 177478 0 0 3 0x14200 reaper reaper 84418 200527 0 0 3 0x14200 pgdaemon pagedaemon 56160 486496 0 0 3 0x14200 bored viomb 15715 394182 0 0 3 0x40014200 acpi0 acpi0 73340 151077 0 0 3 0x14200 bored softnet7 2294 46652 0 0 3 0x14200 bored softnet6 75406 218077 0 0 3 0x14200 bored softnet5 65045 240880 0 0 3 0x14200 bored softnet4 51797 463746 0 0 3 0x14200 bored softnet3 19660 461587 0 0 3 0x14200 bored softnet2 34484 391867 0 0 3 0x14200 bored softnet1 22481 31393 0 0 3 0x14200 bored softnet0 90488 218699 0 0 3 0x14200 bored systqmp 92312 440412 0 0 3 0x14200 bored systq 99689 420591 0 0 3 0x40014200 tmoslp softclock 22878 89626 0 0 3 0x40014200 idle0 1 63588 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 10251 11203K 12126K 166960K 11680 0 pcb 18 13K 13K 166960K 60 0 rtable 195 6K 6K 166960K 283 0 pf 31 13K 14K 166960K 44 0 ifaddr 43 7K 7K 166960K 51 0 ifgroup 50 2K 2K 166960K 61 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 39 0 ioctlops 0 0K 4K 166960K 55 0 iov 0 0K 24K 166960K 8 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1500 94K 94K 166960K 1606 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 4 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 240 0 proc 60 59K 100K 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 20 0 in_multi 102 7K 7K 166960K 115 0 ether_multi 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 354 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 225 143K 151K 166960K 3681 0 UVM aobj 10 4K 4K 166960K 10 0 pinsyscall 38 76K 92K 166960K 1272 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 4 0 NDP 11 0K 2K 166960K 31 0 temp 36 8630K 8706K 166960K 4447 0 kqueue 15 24K 31K 166960K 48 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 47 0 43 1 0 1 1 0 8 0 rtentry 136 97 0 13 4 0 4 4 0 8 0 unpcb 144 148 0 131 4 0 4 4 0 8 3 syncache 336 5 0 5 1 0 1 1 0 8 1 tcpcb 736 111 0 107 7 0 7 7 0 8 6 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 1 0 0 1 0 1 1 0 8 0 inpcb 328 321 0 276 7 0 7 7 0 8 3 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 104 16 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 pppxif 1384 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1344 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 474 0 47 30 0 30 30 0 8 1 art_table 40 475 0 47 5 0 5 5 0 8 0 art_node 32 97 0 23 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 3 1 0 1 1 0 8 0 semapl 112 2 0 0 1 0 1 1 0 8 0 shmpl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1769 0 266 95 0 95 95 0 8 0 ffsino 256 1769 0 266 95 0 95 95 0 8 0 nchpl 144 2083 0 405 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 uvmvnodes 80 2052 0 0 42 0 42 42 0 8 0 vnodes 216 2052 0 0 114 0 114 114 0 8 0 namei 1024 6742 0 6741 2 0 2 2 0 8 1 kstatmem 264 30 0 8 2 0 2 2 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 7032 0 7032 8 0 8 8 1 8 8 plimitpl 152 47 0 30 1 0 1 1 0 8 0 sigapl 424 524 0 474 7 0 7 7 0 8 1 knotepl 120 7117 0 7067 9 0 9 9 0 8 6 kqueuepl 184 123 0 48 4 0 4 4 0 8 0 pipepl 304 103 0 76 3 0 3 3 0 8 0 fdescpl 448 503 0 474 5 0 5 5 0 8 1 filepl 120 2613 0 2160 14 0 14 14 0 8 0 lockfpl 104 39 0 33 1 0 1 1 0 8 0 lockfspl 48 20 0 16 1 0 1 1 0 8 0 sessionpl 144 23 0 15 1 0 1 1 0 8 0 pgrppl 48 32 0 16 1 0 1 1 0 8 0 ucredpl 104 291 0 280 1 0 1 1 0 8 0 zombiepl 144 474 0 474 1 0 1 1 0 8 1 processpl 1168 524 0 474 5 0 5 5 0 8 1 procpl 664 699 0 636 6 0 6 6 0 8 0 sockpl 552 518 0 452 12 2 10 12 0 8 5 mcl64k 65536 7 0 5 1 0 1 1 0 8 0 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 4 0 4 1 0 1 1 0 8 1 mcl4k 4096 2593 0 2540 15 0 15 15 0 8 8 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 378 0 375 3 0 3 3 0 8 2 mtagpl 96 5 0 4 1 0 1 1 0 8 0 mbufpl 256 5301 0 5140 13 0 13 13 0 8 1 bufpl 280 3024 0 116 208 0 208 208 0 8 0 anonpl 24 106633 0 103515 32 0 32 32 0 187 9 amapchunkpl 152 10930 0 10449 25 0 25 25 0 158 5 amappl16 200 1930 0 1902 5 0 5 5 0 8 3 amappl15 192 7 0 7 1 0 1 1 0 8 1 amappl14 184 108 0 98 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 0 1 1 0 8 1 amappl12 168 1114 0 1085 3 0 3 3 0 8 1 amappl11 160 46 0 36 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 0 1 1 0 8 1 amappl9 144 245 0 244 1 0 1 1 0 8 0 amappl8 136 20 0 19 1 0 1 1 0 8 0 amappl7 128 103 0 93 1 0 1 1 0 8 0 amappl6 120 176 0 172 1 0 1 1 0 8 0 amappl5 112 112 0 106 1 0 1 1 0 8 0 amappl4 104 277 0 261 1 0 1 1 0 8 0 amappl3 96 1871 0 1762 3 0 3 3 0 8 0 amappl2 88 620 0 565 2 0 2 2 0 8 0 amappl1 80 8752 0 8218 13 0 13 13 0 8 1 amappl 88 3016 0 2853 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 503 0 474 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 503 0 474 1 0 1 1 0 8 0 vmmpekpl 168 5583 0 5556 2 0 2 2 0 8 0 vmmpepl 168 38468 0 36637 88 0 88 88 0 357 5 vmsppl 368 502 0 474 4 0 4 4 0 8 1 rwobjpl 40 15478 0 12584 30 0 30 30 0 8 0 pdppl 4096 1012 0 948 92 26 66 78 0 8 2 pvpl 32 244580 0 236391 97 0 97 97 0 265 17 pmappl 216 502 0 474 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 377 0 26 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800038159660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038159660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2c94e28e870, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800038159660) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038159660) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2c94e28e870, count: -3