login: uvm_fault(0xfffffd8065ab8d88, 0x2ee0, 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 *140178 43252 0 0 0x4000000 0 syz-executor 83474 50186 0 0x2 0x1 1 syz-executor copyout() at copyout+0x57 syscall(ffff80003c543bd0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c543bd0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5cd86b4ba50, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xfffffd8065ab8d88, 0x2ee0, 0, 2) -> e ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80003c543bd0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c543bd0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5cd86b4ba50, count: -3 ddb{0}> show registers rdi 0x2ee0 __ALIGN_SIZE+0x1ee0 rsi 0xffff80003c543930 rbp 0xffff80003c543af0 rbx 0x8000689 __kernel_phys_end+0x4600689 rdx 0xffff80003c53e000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0xc9b86bfdc7b276f6 r11 0xffffffff81314e30 copy_fault r12 0 r13 0x16 r14 0xffff80003c543930 r15 0xffff80003c543bd0 rip 0xffffffff81314d57 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c543840 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor) tid=140178 pid=43252 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=86, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800037831780,0xffff800037830d30 process=0xffff800036826b70 user=0xffff80003c53e000, vmspace=0xfffffd8065ab8d88 estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=3, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 64464 184249 94092 0 2 0 syz-executor 64464 28263 94092 0 2 0x4000080 syz-executor 80833 108823 71918 0 2 0x40 syz-executor 71918 22774 21005 0 3 0x82 ppwait syz-executor 41170 6057 39412 0 2 0 syz-executor 41170 494433 39412 0 3 0x4000080 fsleep syz-executor 43252 13423 86466 0 2 0xc80 syz-executor 43252 486900 86466 0 3 0x4000080 fsleep syz-executor *43252 140178 86466 0 7 0x4000000 syz-executor 4077 301866 56292 0 2 0 syz-executor 4077 419891 56292 0 3 0x4000080 sbwait syz-executor 4077 169504 56292 0 3 0x4000000 sbufrcv syz-executor 4077 280111 56292 0 3 0x4000080 fsleep syz-executor 4077 225600 56292 0 2 0x4000000 syz-executor 15016 288272 0 0 3 0x14200 acct acct 39412 138549 21005 0 2 0x3 syz-executor 42925 49358 1 0 3 0x100083 ttyopn getty 73825 163714 0 0 3 0x14200 bored sosplice 89456 235860 0 0 3 0x14280 nfsidl nfsio 90400 502569 0 0 3 0x14280 nfsidl nfsio 19614 8380 0 0 3 0x14280 nfsidl nfsio 57433 92323 0 0 3 0x14280 nfsidl nfsio 38054 462378 0 0 3 0x14280 nfsidl nfsio 14527 193895 0 0 3 0x14280 nfsidl nfsio 22743 414676 0 0 3 0x14280 nfsidl nfsio 17370 263004 0 0 3 0x14280 nfsidl nfsio 29418 458892 0 0 3 0x14280 nfsidl nfsio 14047 168864 0 0 3 0x14280 nfsidl nfsio 8189 242694 0 0 3 0x14280 nfsidl nfsio 14555 357337 0 0 3 0x14280 nfsidl nfsio 60122 305579 0 0 3 0x14280 nfsidl nfsio 11423 14821 0 0 3 0x14280 nfsidl nfsio 25042 402528 0 0 3 0x14280 nfsidl nfsio 74008 40907 0 0 3 0x14280 nfsidl nfsio 37020 328447 0 0 3 0x14280 nfsidl nfsio 24659 60386 0 0 3 0x14280 nfsidl nfsio 56832 101222 0 0 3 0x14280 nfsidl nfsio 91748 165743 0 0 3 0x14280 nfsidl nfsio 42894 370796 21005 0 2 0x3 syz-executor 50186 83474 21005 0 7 0x3 syz-executor 94092 102124 21005 0 3 0x82 nanoslp syz-executor 86466 469579 21005 0 2 0xc82 syz-executor 56292 334900 21005 0 2 0xc82 syz-executor 35665 377840 21005 0 3 0x82 piperd syz-executor 21005 153643 79771 0 2 0x2 syz-executor 79771 490872 5318 0 3 0x10008a sigsusp ksh 5318 261682 87241 0 3 0x98 kqread sshd-session 87241 235448 46995 0 3 0x92 kqread sshd-session 46995 83983 1 0 3 0x88 kqread sshd 97437 70693 42089 74 3 0x1100092 bpf pflogd 42089 286937 1 0 3 0x80 sbwait pflogd 53548 170778 6558 73 3 0x1100090 kqread syslogd 6558 437940 1 0 3 0x100082 sbwait syslogd 46077 422804 1 0 3 0x100080 kqread resolvd 7121 296738 9638 77 3 0x100092 kqread dhcpleased 83430 94062 9638 77 3 0x100092 kqread dhcpleased 9638 343824 1 0 3 0x80 kqread dhcpleased 79753 293466 0 0 3 0x14200 bored smr 32935 183875 0 0 2 0x14200 zerothread 45799 153 0 0 3 0x14200 aiodoned aiodoned 64982 289100 0 0 3 0x14200 syncer update 60031 230864 0 0 3 0x14200 cleaner cleaner 27946 237142 0 0 3 0x14200 reaper reaper 9129 372665 0 0 3 0x14200 pgdaemon pagedaemon 95330 39563 0 0 3 0x14200 bored viomb 63141 98388 0 0 3 0x40014200 acpi0 acpi0 31511 297853 0 0 3 0x40014200 idle1 7386 237224 0 0 3 0x14200 bored softnet7 64941 436337 0 0 3 0x14200 bored softnet6 17856 124552 0 0 3 0x14200 bored softnet5 97104 30105 0 0 3 0x14200 bored softnet4 44235 21662 0 0 3 0x14200 bored softnet3 27536 497275 0 0 3 0x14200 bored softnet2 73884 265751 0 0 3 0x14200 bored softnet1 13233 362741 0 0 3 0x14200 bored softnet0 55570 222941 0 0 2 0x14200 systqmp 87074 210486 0 0 3 0x14200 bored systq 21180 361197 0 0 3 0x14200 tmoslp softclockmp 84579 441432 0 0 2 0x40014200 softclock 911 259304 0 0 3 0x40014200 idle0 1 239053 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 4077 (syz-executor) thread 0xffff800033409778 (419891) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10223 11129K 12433K 166960K 12517 0 pcb 17 16K 24K 166960K 367 0 rtable 153 9K 10K 166960K 477 0 pf 33 17K 81K 166960K 171 0 ifaddr 30 5K 7K 166960K 103 0 ifgroup 47 2K 2K 166960K 170 0 sysctl 4 1K 9K 166960K 15 0 counters 64 36K 37K 166960K 168 0 ioctlops 0 0K 4K 166960K 1647 0 iov 1 4K 36K 166960K 137 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1523 96K 96K 166960K 2274 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 5K 166960K 16 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 69 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 240K 166960K 1068 0 sigio 0 0K 0K 166960K 18 0 proc 73 115K 196K 166960K 732 0 subproc 72 4K 4K 166960K 108 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 127 0 in_multi 54 3K 7K 166960K 171 0 ether_multi 1 0K 0K 166960K 9 0 mrt 1 0K 0K 166960K 7 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 151 678K 678K 166960K 151 0 exec 0 0K 1K 166960K 600 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 222 167K 177K 166960K 11022 0 UVM aobj 15 2K 2K 166960K 21 0 pinsyscall 40 80K 100K 166960K 2206 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 94 0 NDP 10 0K 2K 166960K 71 0 temp 82 8652K 8724K 166960K 44377 0 kqueue 16 22K 30K 166960K 203 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 102 0 97 1 0 1 1 0 8 0 rtentry 176 148 0 94 5 0 5 5 0 8 0 unpcb 144 753 0 733 7 2 5 5 0 8 4 syncache 336 3 0 3 1 1 0 1 0 8 0 tcpcb 736 388 0 383 7 0 7 7 0 8 6 arp 128 16 0 8 1 0 1 1 0 8 0 inpcb 328 1623 0 1615 19 12 7 12 0 8 6 nd6 144 27 0 16 1 0 1 1 0 8 0 pkpcb 40 8 0 8 2 1 1 1 0 8 1 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1192 34 0 34 2 1 1 1 0 8 1 pppxif 1504 2 0 2 2 1 1 1 0 8 1 pffrag 232 4 0 2 1 0 1 1 0 482 0 pffrnode 88 4 0 2 1 0 1 1 0 8 0 pffrent 40 7 0 5 1 0 1 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 9 0 9 1 1 0 1 0 8 0 pfanchor 1288 4 0 1 2 1 1 1 0 8 0 pfstitem 24 79 0 23 1 0 1 1 0 8 0 pfstkey 128 80 0 23 2 0 2 2 0 8 0 pfstate 384 77 0 23 6 0 6 6 0 8 0 pfrule 1344 28 0 23 2 1 1 2 0 8 0 rttmr 136 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 725 0 475 28 9 19 28 0 8 2 art_table 40 727 0 475 5 0 5 5 0 8 0 art_node 32 147 0 102 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 2 2 1 1 1 0 8 0 semapl 112 67 0 57 1 0 1 1 0 8 0 shmpl 112 18 0 6 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3302 0 1790 95 0 95 95 0 8 0 ffsino 296 3302 0 1790 117 0 117 117 0 8 0 nchpl 144 4703 0 3006 66 2 64 64 0 8 0 rtmask 32 9 0 9 3 3 0 1 0 8 0 uvmvnodes 80 3919 0 0 80 0 80 80 0 8 0 vnodes 216 3919 0 0 218 0 218 218 0 8 0 namei 1024 16581 0 16581 3 2 1 2 0 8 1 percpumem 16 99 0 52 1 0 1 1 0 8 0 pfiaddrpl 120 3 0 3 1 1 0 1 0 8 0 kstatmem 264 102 0 78 3 0 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 25864 0 25864 10 8 2 8 1 8 2 plimitpl 152 331 0 314 1 0 1 1 0 8 0 sigapl 424 1362 0 1289 9 0 9 9 0 8 0 knotepl 120 787 0 0 24 0 24 24 0 8 0 kqueuepl 224 403 0 393 7 6 1 5 0 8 0 pipepl 344 252 0 225 3 0 3 3 0 8 0 fdescpl 528 1316 0 1287 3 0 3 3 0 8 0 filepl 160 8699 0 8483 22 7 15 17 0 8 4 lockfpl 104 400 0 398 1 0 1 1 0 8 0 lockfspl 48 133 0 131 1 0 1 1 0 8 0 sessionpl 144 28 0 19 1 0 1 1 0 8 0 pgrppl 48 55 0 38 1 0 1 1 0 8 0 ucredpl 104 1051 0 1037 1 0 1 1 0 8 0 zombiepl 144 1581 0 1581 2 1 1 1 0 8 1 processpl 1232 1362 0 1289 6 0 6 6 0 8 0 procpl 664 2870 0 2789 8 0 8 8 0 8 0 sosppl 168 8 0 8 2 1 1 1 0 8 1 sockpl 752 2541 0 2508 33 22 11 18 0 8 6 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 113 0 0 15 0 15 15 0 8 0 mcl2k 2048 35 0 0 4 0 4 4 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 201 0 0 13 0 13 13 0 8 0 bufpl 280 12358 0 6215 440 0 440 440 0 8 0 anonpl 32 12471 0 0 101 0 101 101 0 246 0 amapchunkpl 152 36429 0 35949 40 9 31 31 0 158 5 amappl16 200 5072 0 4969 41 20 21 25 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 120 0 108 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 1 0 1 0 8 0 amappl12 168 2008 0 1980 3 1 2 2 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 25 0 25 1 1 0 1 0 8 0 amappl9 144 280 0 279 1 0 1 1 0 8 0 amappl8 136 19 0 16 1 0 1 1 0 8 0 amappl7 128 114 0 102 1 0 1 1 0 8 0 amappl6 120 219 0 216 1 0 1 1 0 8 0 amappl5 112 141 0 131 1 0 1 1 0 8 0 amappl4 104 306 0 286 1 0 1 1 0 8 0 amappl3 96 7311 0 7219 4 0 4 4 0 8 0 amappl2 88 685 0 621 2 0 2 2 0 8 0 amappl1 80 11973 0 11386 14 1 13 14 0 8 0 amappl 88 10166 0 10017 5 0 5 5 0 92 0 dma65536 65536 1 0 1 1 1 0 1 0 8 0 dma16384 16384 1 0 1 1 1 0 1 0 8 0 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 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 20 0 6 1 0 1 1 0 8 0 uaddrrnd 24 1316 0 1287 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1316 0 1287 1 0 1 1 0 8 0 vmmpekpl 168 12075 0 12030 4 1 3 3 0 8 0 vmmpepl 168 88076 0 86141 121 14 107 108 0 357 5 vmsppl 488 1315 0 1287 7 2 5 5 0 8 0 rwobjpl 80 29158 0 24239 107 1 106 106 0 8 0 pdppl 4096 2640 0 2574 98 26 72 82 0 8 6 pvpl 32 20941 0 0 169 0 169 169 0 265 0 pmappl 256 1315 0 1287 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 282 0 42 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80003c543bd0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c543bd0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5cd86b4ba50, count: -3 ddb{0}> machine ddbcpu 1