uvm_fault(0xfffffd806c09bb98, 0x1000, 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 *121645 53723 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c9cd2c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9cd2c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9094d505620, 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(0xfffffd806c09bb98, 0x1000, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9cd2c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9cd2c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9094d505620, count: -3 ddb> show registers rdi 0x1000 __ALIGN_SIZE rsi 0xffff80003c9ccf50 rbp 0xffff80003c9cd1f0 rbx 0x4000a97a rdx 0xffff80003c9c8000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x73ee00885ed21f3 r11 0xffffffff814979c0 copy_fault r12 0x7 r13 0x16 r14 0xffff80003c9ccf50 r15 0xffff80003c9cd2c0 rip 0xffffffff814978e7 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c9ccf40 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=121645 pid=53723 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7de550,0xffff80002a7de2c8 process=0xffff800035d4db60 user=0xffff80003c9c8000, vmspace=0xfffffd806c09bb98 estcpu=30, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 20666 357044 8118 0 3 0x80 fsleep syz-executor 20666 516069 8118 0 2 0x4000000 syz-executor 52385 430007 77503 0 3 0x80 fsleep syz-executor 52385 397922 77503 0 3 0x4000080 wsevent_read syz-executor 24123 287341 93990 0 3 0x80 fsleep syz-executor 24123 246212 93990 0 2 0x4000000 syz-executor 8643 188939 57327 0 3 0x80 fsleep syz-executor 8643 361861 57327 0 2 0x4000000 syz-executor 53723 103207 46851 0 2 0 syz-executor *53723 121645 46851 0 7 0x4000000 syz-executor 53723 417900 46851 0 3 0x4000080 fsleep syz-executor 93841 370453 84438 0 3 0x80 fsleep syz-executor 93841 296210 84438 0 3 0x4000000 biowait syz-executor 42184 68425 19580 0 3 0x2 biowait syz-executor 23363 493424 50254 0 3 0x80 fsleep syz-executor 23363 181105 50254 0 3 0x4000080 kqread syz-executor 24097 213730 0 0 3 0x14280 nfsidl nfsio 13283 167961 0 0 3 0x14280 nfsidl nfsio 77109 181896 0 0 3 0x14280 nfsidl nfsio 42525 232159 0 0 3 0x14280 nfsidl nfsio 19324 44965 0 0 3 0x14280 nfsidl nfsio 97397 201531 0 0 3 0x14280 nfsidl nfsio 62316 114709 0 0 3 0x14280 nfsidl nfsio 74411 27850 0 0 3 0x14280 nfsidl nfsio 15172 434765 0 0 3 0x14280 nfsidl nfsio 92044 371185 0 0 3 0x14280 nfsidl nfsio 81939 64084 0 0 3 0x14280 nfsidl nfsio 50900 12296 0 0 3 0x14280 nfsidl nfsio 17159 62408 0 0 3 0x14280 nfsidl nfsio 12066 180817 0 0 3 0x14280 nfsidl nfsio 5170 27832 0 0 3 0x14280 nfsidl nfsio 99636 263185 0 0 3 0x14280 nfsidl nfsio 34714 132333 0 0 3 0x14280 nfsidl nfsio 241 330525 0 0 3 0x14280 nfsidl nfsio 16829 325895 0 0 3 0x14280 nfsidl nfsio 46555 67374 0 0 3 0x14280 nfsidl nfsio 64304 21517 0 0 3 0x14200 bored sosplice 89096 303707 1 0 3 0x100083 ttyin getty 8118 469620 19580 0 3 0x82 nanoslp syz-executor 77503 323828 19580 0 3 0x82 nanoslp syz-executor 50254 54282 19580 0 3 0x82 nanoslp syz-executor 93990 49833 19580 0 2 0xc82 syz-executor 57327 57543 19580 0 2 0xc82 syz-executor 46851 364309 19580 0 2 0xc82 syz-executor 84438 414014 19580 0 2 0xc82 syz-executor 19580 487448 87697 0 3 0x82 kqread syz-executor 87697 229261 84474 0 3 0x10008a sigsusp ksh 84474 382982 50058 0 3 0x98 kqread sshd-session 50058 90893 90217 0 3 0x92 kqread sshd-session 90217 122994 1 0 3 0x88 kqread sshd 24092 21317 28047 73 3 0x1100090 kqread syslogd 28047 337487 1 0 3 0x100082 sbwait syslogd 5806 113556 1 0 3 0x100080 kqread resolvd 44285 315834 9532 77 3 0x100092 kqread dhcpleased 38686 166461 9532 77 3 0x100092 kqread dhcpleased 9532 347257 1 0 3 0x80 kqread dhcpleased 91929 223369 0 0 3 0x14200 bored smr 11162 372601 0 0 2 0x14200 zerothread 89197 476567 0 0 3 0x14200 aiodoned aiodoned 82378 296518 0 0 3 0x14200 syncer update 61835 113761 0 0 3 0x14200 cleaner cleaner 51312 349512 0 0 3 0x14200 reaper reaper 53813 414332 0 0 3 0x14200 pgdaemon pagedaemon 20851 189799 0 0 3 0x14200 bored viomb 57656 45294 0 0 3 0x40014200 acpi0 acpi0 18853 456236 0 0 3 0x14200 bored softnet7 77796 415700 0 0 3 0x14200 bored softnet6 52585 372309 0 0 3 0x14200 bored softnet5 47365 249941 0 0 3 0x14200 bored softnet4 68316 82216 0 0 3 0x14200 bored softnet3 5831 200183 0 0 3 0x14200 bored softnet2 93502 468662 0 0 3 0x14200 bored softnet1 15676 37125 0 0 3 0x14200 bored softnet0 80238 157609 0 0 3 0x14200 bored systqmp 61919 320346 0 0 3 0x14200 bored systq 33556 180254 0 0 2 0x40014200 softclock 20222 521923 0 0 3 0x40014200 idle0 1 291573 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 10191 11069K 11190K 166960K 11522 0 pcb 20 14K 16K 166960K 210 0 rtable 190 7K 7K 166960K 329 0 pf 33 13K 15K 166960K 73 0 ifaddr 39 6K 7K 166960K 68 0 ifgroup 50 2K 2K 166960K 116 0 sysctl 1 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 57 0 ioctlops 0 0K 4K 166960K 269 0 iov 1 0K 28K 166960K 30 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1403 88K 89K 166960K 1728 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 9 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 51 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 58K 85K 166960K 577 0 sigio 0 0K 0K 166960K 4 0 proc 61 59K 91K 166960K 668 0 subproc 63 3K 4K 166960K 162 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 37 0 in_multi 88 6K 7K 166960K 111 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 462 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 2 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 211 134K 161K 166960K 6313 0 UVM aobj 11 2K 2K 166960K 12 0 pinsyscall 38 76K 91K 166960K 1685 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 11 0K 2K 166960K 45 0 temp 72 8639K 8720K 166960K 21724 0 kqueue 15 22K 26K 166960K 90 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 61 0 58 1 0 1 1 0 8 0 rtentry 136 108 0 29 4 0 4 4 0 8 0 unpcb 144 381 0 364 4 0 4 4 0 8 3 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 204 0 200 4 0 4 4 0 8 3 arp 88 12 0 1 1 0 1 1 0 8 0 ipq 40 2 0 1 1 0 1 1 0 8 0 ipqe 40 3 0 2 1 0 1 1 0 8 0 inpcb 328 513 0 503 7 0 7 7 0 8 6 ip6q 72 3 0 0 1 0 1 1 0 8 0 ip6af 40 5 0 0 1 0 1 1 0 8 0 nd6 104 20 0 5 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 18 0 11 1 0 1 1 0 8 0 ppxss 1072 11 0 11 1 0 1 1 0 8 1 pppxif 1384 2 0 2 1 0 1 1 0 8 1 pfstscr 40 1 0 1 1 0 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 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 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 532 0 133 30 0 30 30 0 8 3 art_table 40 534 0 133 5 0 5 5 0 8 0 art_node 32 107 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semupl 112 4 0 4 1 0 1 1 0 8 1 semapl 112 47 0 37 1 0 1 1 0 8 0 shmpl 112 9 0 1 1 0 1 1 0 8 0 dirhash 1024 24 0 7 3 0 3 3 0 8 0 dino2pl 256 2311 0 795 95 0 95 95 0 8 0 ffsino 256 2311 0 795 95 0 95 95 0 8 0 nchpl 144 3025 0 1333 63 0 63 63 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 uvmvnodes 80 2621 0 0 54 0 54 54 0 8 0 vnodes 216 2621 0 0 146 0 146 146 0 8 0 namei 1024 10767 0 10762 2 0 2 2 0 8 1 kstatmem 264 58 0 36 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 12332 0 12330 8 0 8 8 1 8 7 plimitpl 152 124 0 107 1 0 1 1 0 8 0 sigapl 424 860 0 790 9 0 9 9 0 8 0 knotepl 120 18408 0 18357 10 0 10 10 0 8 8 kqueuepl 184 136 0 124 1 0 1 1 0 8 0 pipepl 304 228 0 200 8 0 8 8 0 8 5 fdescpl 448 819 0 790 4 0 4 4 0 8 0 filepl 120 4767 0 4553 11 0 11 11 0 8 4 lockfpl 104 138 0 136 1 0 1 1 0 8 0 lockfspl 48 63 0 61 1 0 1 1 0 8 0 sessionpl 144 32 0 24 1 0 1 1 0 8 0 pgrppl 48 54 0 38 1 0 1 1 0 8 0 ucredpl 104 684 0 673 1 0 1 1 0 8 0 zombiepl 144 790 0 790 1 0 1 1 0 8 1 processpl 1168 860 0 790 6 0 6 6 0 8 0 procpl 664 1433 0 1355 8 0 8 8 0 8 1 sockpl 552 1092 0 1062 8 0 8 8 0 8 5 mcl64k 65536 25 0 24 1 0 1 1 0 8 0 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 10 0 10 1 0 1 1 0 8 1 mcl4k 4096 2949 0 2897 14 0 14 14 0 8 6 mcl2k 2048 669 0 665 2 0 2 2 0 8 1 mtagpl 96 8 0 5 1 0 1 1 0 8 0 mbufpl 256 7696 0 7517 13 0 13 13 0 8 0 bufpl 280 4785 0 120 334 0 334 334 0 8 0 anonpl 24 146778 0 139592 44 0 44 44 0 187 0 amapchunkpl 152 20878 0 20422 37 0 37 37 0 158 19 amappl16 200 2799 0 2529 15 0 15 15 0 8 0 amappl15 192 5 0 5 1 0 1 1 0 8 1 amappl14 184 106 0 95 1 0 1 1 0 8 0 amappl13 176 10 0 10 1 0 1 1 0 8 1 amappl12 168 1476 0 1448 2 0 2 2 0 8 0 amappl11 160 66 0 55 1 0 1 1 0 8 0 amappl10 152 12 0 12 1 0 1 1 0 8 1 amappl9 144 248 0 248 1 0 1 1 0 8 1 amappl8 136 49 0 48 1 0 1 1 0 8 0 amappl7 128 114 0 104 1 0 1 1 0 8 0 amappl6 120 213 0 209 1 0 1 1 0 8 0 amappl5 112 151 0 144 1 0 1 1 0 8 0 amappl4 104 272 0 257 1 0 1 1 0 8 0 amappl3 96 3743 0 3642 3 0 3 3 0 8 0 amappl2 88 647 0 591 2 0 2 2 0 8 0 amappl1 80 9773 0 9223 13 0 13 13 0 8 1 amappl 88 5554 0 5404 5 0 5 5 0 92 1 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 254 0 254 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 11 0 1 1 0 1 1 0 8 0 uaddrrnd 24 819 0 790 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 819 0 790 1 0 1 1 0 8 0 vmmpekpl 168 7838 0 7801 3 0 3 3 0 8 0 vmmpepl 168 57185 0 55124 90 0 90 90 0 357 0 vmsppl 368 818 0 790 4 0 4 4 0 8 1 rwobjpl 40 19761 0 16062 38 0 38 38 0 8 0 pdppl 4096 1644 0 1580 104 40 64 76 0 8 0 pvpl 32 370295 0 356737 111 0 111 111 0 265 1 pmappl 216 818 0 790 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 386 0 40 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9cd2c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9cd2c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9094d505620, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9cd2c0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9cd2c0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x9094d505620, count: -3