uvm_fault(0xfffffd80665ff2f8, 0x11c0, 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 *311585 81725 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c9dd200) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9dd200) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x94a5f5232e0, 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(0xfffffd80665ff2f8, 0x11c0, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9dd200) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9dd200) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x94a5f5232e0, count: -3 ddb> show registers rdi 0x11c0 __ALIGN_SIZE+0x1c0 rsi 0xffff80003c9dcf70 rbp 0xffff80003c9dd130 rbx 0xa96c __ALIGN_SIZE+0x996c rdx 0xffff80003c9d8000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x7a669852fe87eb74 r11 0xffffffff825d99a0 copy_fault r12 0 r13 0x16 r14 0xffff80003c9dcf70 r15 0xffff80003c9dd200 rip 0xffffffff825d98c7 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c9dce80 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=311585 pid=81725 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=0xffff80002a7f5248,0xffff80003c97aa98 process=0xffff80003c9ae8a8 user=0xffff80003c9d8000, vmspace=0xfffffd80665ff2f8 estcpu=36, cpticks=6, pctcpu=0.0, user=0, sys=6, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 28356 156095 22006 0 2 0 syz-executor 28356 152039 22006 0 3 0x4000080 fsleep syz-executor 81725 398255 79591 0 3 0x80 nanoslp syz-executor *81725 311585 79591 0 7 0x4000000 syz-executor 81725 402548 79591 0 3 0x4000080 fsleep syz-executor 17619 508006 40628 0 2 0 syz-executor 17619 432110 40628 0 3 0x4000080 sbwait syz-executor 17619 428909 40628 0 3 0x4000080 fsleep syz-executor 67829 247227 36348 0 2 0xc80 syz-executor 67829 111193 36348 0 3 0x4000080 ttyopn syz-executor 67829 235715 36348 0 3 0x4000080 fsleep syz-executor 38108 449996 56388 0 2 0xc80 syz-executor 38108 77940 56388 0 3 0x4000080 ttyin syz-executor 38108 207885 56388 0 3 0x4000080 fsleep syz-executor 64004 221554 0 0 3 0x14200 acct acct 75405 137858 1 0 3 0x80 nanoslp init 99589 415033 0 0 3 0x14280 nfsidl nfsio 47398 373771 0 0 3 0x14280 nfsidl nfsio 45997 444733 0 0 3 0x14280 nfsidl nfsio 23878 417550 0 0 3 0x14280 nfsidl nfsio 8296 456858 0 0 3 0x14280 nfsidl nfsio 33535 204795 0 0 3 0x14280 nfsidl nfsio 64041 72414 0 0 3 0x14280 nfsidl nfsio 56442 116804 0 0 3 0x14280 nfsidl nfsio 92168 428428 0 0 3 0x14280 nfsidl nfsio 41643 4433 0 0 3 0x14280 nfsidl nfsio 25309 370181 0 0 3 0x14280 nfsidl nfsio 56516 470262 0 0 3 0x14280 nfsidl nfsio 10401 502256 0 0 3 0x14280 nfsidl nfsio 23691 396974 0 0 3 0x14280 nfsidl nfsio 83707 59830 0 0 3 0x14280 nfsidl nfsio 45783 302319 0 0 3 0x14280 nfsidl nfsio 21087 221844 0 0 3 0x14280 nfsidl nfsio 91228 293497 0 0 3 0x14280 nfsidl nfsio 55935 309947 0 0 3 0x14280 nfsidl nfsio 788 472598 0 0 3 0x14280 nfsidl nfsio 96947 6018 62678 0 3 0x82 sbwait sshd-session 72953 61270 0 0 3 0x14200 bored sosplice 79591 253601 73810 0 2 0xc82 syz-executor 36348 93579 73810 0 2 0xc82 syz-executor 22006 316775 73810 0 3 0x82 nanoslp syz-executor 56388 28456 73810 0 2 0xc82 syz-executor 98416 62016 73810 0 3 0x82 nanoslp syz-executor 40628 517748 73810 0 2 0xc82 syz-executor 86326 329290 73810 0 3 0x82 nanoslp syz-executor 79261 441305 73810 0 2 0x2 syz-executor 73810 32060 49951 0 3 0x82 kqread syz-executor 49951 181054 99165 0 3 0x10008a sigsusp ksh 99165 22495 14667 0 3 0x98 kqread sshd-session 14667 9282 62678 0 3 0x92 kqread sshd-session 62678 8907 1 0 3 0x88 kqread sshd 9078 361077 44608 73 3 0x1100090 kqread syslogd 44608 242213 1 0 3 0x100082 sbwait syslogd 38002 408974 1 0 3 0x100080 kqread resolvd 25244 37701 93390 77 3 0x100092 kqread dhcpleased 65258 220376 93390 77 3 0x100092 kqread dhcpleased 93390 64977 1 0 3 0x80 kqread dhcpleased 41975 118577 0 0 3 0x14200 bored smr 41926 463237 0 0 2 0x14200 zerothread 95798 265830 0 0 3 0x14200 aiodoned aiodoned 54776 5400 0 0 3 0x14200 syncer update 18975 203274 0 0 3 0x14200 cleaner cleaner 38197 166541 0 0 3 0x14200 reaper reaper 68155 448352 0 0 3 0x14200 pgdaemon pagedaemon 12898 67586 0 0 3 0x14200 bored viomb 92175 465752 0 0 3 0x40014200 acpi0 acpi0 83441 249883 0 0 3 0x14200 bored softnet7 98110 388012 0 0 3 0x14200 bored softnet6 16983 434344 0 0 3 0x14200 bored softnet5 950 352101 0 0 3 0x14200 bored softnet4 77847 90143 0 0 3 0x14200 bored softnet3 70586 68467 0 0 3 0x14200 bored softnet2 78421 60883 0 0 3 0x14200 bored softnet1 21906 374219 0 0 3 0x14200 bored softnet0 69520 93800 0 0 3 0x14200 bored systqmp 74197 46033 0 0 3 0x14200 bored systq 7106 510673 0 0 2 0x40014200 softclock 19762 72267 0 0 3 0x40014200 idle0 1 508359 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 10221 11080K 11403K 166960K 11911 0 pcb 17 16K 22K 166960K 384 0 rtable 210 8K 9K 166960K 374 0 pf 31 13K 20K 166960K 124 0 ifaddr 37 6K 8K 166960K 83 0 ifgroup 50 2K 2K 166960K 138 0 sysctl 4 1K 9K 166960K 19 0 counters 32 17K 18K 166960K 81 0 ioctlops 0 0K 4K 166960K 256 0 iov 0 0K 28K 166960K 47 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1369 86K 87K 166960K 1936 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 21 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 766 0 sigio 0 0K 0K 166960K 11 0 proc 51 50K 124K 166960K 568 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 75 0 in_multi 83 6K 7K 166960K 129 0 ether_multi 1 0K 0K 166960K 6 0 mrt 0 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 622 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 244 148K 179K 166960K 8302 0 UVM aobj 14 2K 2K 166960K 15 0 pinsyscall 39 78K 96K 166960K 1852 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 67 0 NDP 11 0K 2K 166960K 54 0 temp 75 8644K 8710K 166960K 40876 0 kqueue 15 22K 31K 166960K 162 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 124 0 121 1 0 1 1 0 8 0 rtentry 136 125 0 36 4 0 4 4 0 8 0 unpcb 144 683 0 664 7 3 4 4 0 8 3 syncache 336 17 0 17 2 1 1 1 0 8 1 tcpqe 32 6 0 6 2 1 1 1 0 8 1 tcpcb 736 428 0 417 15 8 7 10 0 8 5 arp 88 13 0 3 1 0 1 1 0 8 0 inpcb 328 1236 0 1222 18 8 10 10 0 8 8 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 104 25 0 8 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 38 0 38 1 0 1 1 0 8 1 pppxif 1384 7 0 7 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 2 1 1 0 1 0 8 0 pfstate 384 1 0 1 1 1 0 1 0 8 0 pfrule 1344 2 0 2 2 1 1 1 0 8 1 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 572 0 157 30 1 29 30 0 8 1 art_table 40 575 0 157 5 0 5 5 0 8 0 art_node 32 123 0 43 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0 semapl 112 18 0 8 1 0 1 1 0 8 0 shmpl 112 12 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2853 0 1356 95 0 95 95 0 8 0 ffsino 256 2853 0 1356 95 0 95 95 0 8 0 nchpl 144 3929 0 2245 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 1 0 1 0 8 0 uvmvnodes 80 3185 0 0 65 0 65 65 0 8 0 vnodes 216 3185 0 0 177 0 177 177 0 8 0 namei 1024 14398 0 14398 2 1 1 2 0 8 1 kstatmem 264 76 0 54 2 0 2 2 0 8 0 scsiplug 72 5 0 5 1 0 1 1 0 8 1 scxspl 216 16953 0 16953 10 7 3 8 1 8 3 plimitpl 152 371 0 355 1 0 1 1 0 8 0 sigapl 424 1085 0 1013 9 0 9 9 0 8 0 knotepl 120 268635 0 268582 18 8 10 10 0 8 8 kqueuepl 184 347 0 336 4 0 4 4 0 8 3 pipepl 304 254 0 227 8 5 3 8 0 8 0 fdescpl 448 1041 0 1011 5 1 4 5 0 8 0 filepl 120 7794 0 7563 15 3 12 12 0 8 3 lockfpl 104 272 0 268 1 0 1 1 0 8 0 lockfspl 48 122 0 118 1 0 1 1 0 8 0 sessionpl 144 34 0 26 1 0 1 1 0 8 0 pgrppl 48 49 0 33 1 0 1 1 0 8 0 ucredpl 104 1189 0 1177 1 0 1 1 0 8 0 zombiepl 144 1015 0 1013 1 0 1 1 0 8 0 processpl 1152 1085 0 1013 6 0 6 6 0 8 0 procpl 664 2062 0 1981 8 0 8 8 0 8 0 sosppl 168 4 0 4 2 1 1 1 0 8 1 sockpl 552 2133 0 2097 25 13 12 15 0 8 8 mcl64k 65536 63 0 63 2 1 1 1 0 8 1 mcl16k 16384 14 0 14 2 1 1 1 0 8 1 mcl12k 12288 2 0 2 2 1 1 1 0 8 1 mcl9k 9216 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 85 0 85 2 1 1 1 0 8 1 mcl4k 4096 3377 0 3326 15 7 8 14 0 8 1 mcl2k 2048 1104 0 1096 3 1 2 2 0 8 1 mtagpl 96 13 0 7 1 0 1 1 0 8 0 mbufpl 256 12111 0 11971 18 5 13 18 0 8 1 bufpl 280 7187 0 959 446 0 446 446 0 8 1 anonpl 24 195370 0 187447 109 26 83 109 0 187 0 amapchunkpl 152 28152 0 27560 41 5 36 36 0 158 12 amappl16 200 4353 0 4115 49 19 30 45 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 127 0 117 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 1 0 1 0 8 0 amappl12 168 1663 0 1634 3 1 2 3 0 8 0 amappl11 160 49 0 38 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 247 0 247 1 1 0 1 0 8 0 amappl8 136 23 0 21 1 0 1 1 0 8 0 amappl7 128 127 0 116 1 0 1 1 0 8 0 amappl6 120 185 0 181 1 0 1 1 0 8 0 amappl5 112 121 0 114 1 0 1 1 0 8 0 amappl4 104 313 0 298 1 0 1 1 0 8 0 amappl3 96 5432 0 5317 4 0 4 4 0 8 0 amappl2 88 709 0 646 2 0 2 2 0 8 0 amappl1 80 13344 0 12737 19 2 17 19 0 8 0 amappl 88 7481 0 7302 5 0 5 5 0 92 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 7 0 7 2 1 1 1 0 8 1 dma128 128 286 0 286 2 1 1 1 0 8 1 dma64 64 7 0 7 2 1 1 1 0 8 1 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 14 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1041 0 1011 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1041 0 1011 1 0 1 1 0 8 0 vmmpekpl 168 10709 0 10680 2 0 2 2 0 8 0 vmmpepl 168 75132 0 72940 125 19 106 125 0 357 1 vmsppl 368 1040 0 1011 4 0 4 4 0 8 0 rwobjpl 40 26390 0 22052 46 1 45 45 0 8 0 pdppl 4096 2088 0 2022 114 46 68 82 0 8 2 pvpl 32 489959 0 475976 192 35 157 192 0 265 3 pmappl 216 1040 0 1011 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 414 0 76 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9dd200) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9dd200) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x94a5f5232e0, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9dd200) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9dd200) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x94a5f5232e0, count: -3