uvm_fault(0xfffffd806bb77180, 0x1a40c0, 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 *523378 42394 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003c9c99f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9c99f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x244bdd74800, 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(0xfffffd806bb77180, 0x1a40c0, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9c99f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9c99f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x244bdd74800, count: -3 ddb> show registers rdi 0x1a40c0 acpi_pdirpa+0x18ff31 rsi 0xffff80003c9c9740 rbp 0xffff80003c9c9920 rbx 0x7ff35fa __kernel_phys_end+0x45f35fa rdx 0xffff80003c9c4000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0xc5734224f6ced68c r11 0xffffffff817d7800 copy_fault r12 0x1 r13 0x16 r14 0xffff80003c9c9740 r15 0xffff80003c9c99f0 rip 0xffffffff817d7727 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c9c9670 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=523378 pid=42394 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=77, usrpri=77, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7f8d18,0xffff80003c980568 process=0xffff80003c9844b0 user=0xffff80003c9c4000, vmspace=0xfffffd806bb77180 estcpu=27, cpticks=8, pctcpu=0.4, user=0, sys=8, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 55866 124671 24665 0 2 0 syz-executor 55866 21834 24665 0 3 0x4000080 fsleep syz-executor 96011 312564 25296 0 2 0 syz-executor 96011 424836 25296 0 3 0x4000080 fsleep syz-executor 81775 347631 94759 0 2 0 syz-executor 81775 370724 94759 0 3 0x4000080 fsleep syz-executor 83687 355845 89644 0 2 0 syz-executor 83687 240997 89644 0 3 0x4000080 fsleep syz-executor 67207 214980 33121 0 2 0 syz-executor 67207 58751 33121 0 3 0x4000080 fsleep syz-executor 67207 471568 33121 0 3 0x4000080 fsleep syz-executor 67207 419602 33121 0 3 0x4000080 fsleep syz-executor 21361 2991 78148 0 2 0xc80 syz-executor 21361 38939 78148 0 3 0x4000080 kqpoll syz-executor 21361 26156 78148 0 3 0x4000080 fsleep syz-executor 21361 184119 78148 0 3 0x4000080 fsleep syz-executor 21361 328574 78148 0 3 0x4000080 fsleep syz-executor 42394 28487 24421 0 2 0 syz-executor *42394 523378 24421 0 7 0x4000000 syz-executor 33593 515070 0 0 3 0x14200 bored sosplice 78148 361099 32605 0 2 0xc82 syz-executor 25296 113311 32605 0 2 0xc82 syz-executor 48290 138367 32605 0 2 0x2 syz-executor 24665 458890 32605 0 2 0xc82 syz-executor 33121 382862 32605 0 2 0xc82 syz-executor 94759 266474 32605 0 2 0xc82 syz-executor 24421 437174 32605 0 2 0xc82 syz-executor 89644 124292 32605 0 2 0xc82 syz-executor 32605 462527 29195 0 3 0x82 kqread syz-executor 29195 462810 45814 0 3 0x10008a sigsusp ksh 45814 362809 26551 0 3 0x98 kqread sshd-session 26551 301681 730 0 3 0x92 kqread sshd-session 31639 205496 1 0 3 0x100083 ttyin getty 730 481221 1 0 3 0x88 kqread sshd 8330 233374 58748 73 3 0x1100090 kqread syslogd 58748 197785 1 0 3 0x100082 sbwait syslogd 57713 455547 1 0 3 0x100080 kqread resolvd 58986 105586 38531 77 3 0x100092 kqread dhcpleased 16786 45591 38531 77 3 0x100092 kqread dhcpleased 38531 431175 1 0 3 0x80 kqread dhcpleased 61235 478024 0 0 3 0x14200 bored smr 15780 55430 0 0 2 0x14200 zerothread 70076 303065 0 0 3 0x14200 aiodoned aiodoned 88211 20741 0 0 3 0x14200 syncer update 2325 59329 0 0 3 0x14200 cleaner cleaner 47691 473269 0 0 3 0x14200 reaper reaper 90837 167678 0 0 3 0x14200 pgdaemon pagedaemon 40745 140970 0 0 3 0x14200 bored viomb 44253 57415 0 0 3 0x40014200 acpi0 acpi0 11737 50239 0 0 3 0x14200 bored softnet7 9917 104672 0 0 3 0x14200 bored softnet6 44615 448947 0 0 3 0x14200 bored softnet5 91375 269790 0 0 3 0x14200 bored softnet4 46090 58331 0 0 3 0x14200 bored softnet3 99159 270966 0 0 3 0x14200 bored softnet2 76396 522972 0 0 3 0x14200 bored softnet1 41843 215703 0 0 3 0x14200 bored softnet0 26254 363213 0 0 3 0x14200 bored systqmp 90293 419228 0 0 3 0x14200 bored systq 13209 168900 0 0 2 0x40014200 softclock 67148 201789 0 0 3 0x40014200 idle0 1 258133 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 10183 11061K 11322K 166960K 11410 0 pcb 17 12K 12K 166960K 43 0 rtable 177 5K 6K 166960K 289 0 pf 31 13K 131085K 166960K 47 0 ifaddr 38 6K 7K 166960K 53 0 ifgroup 50 2K 2K 166960K 67 0 sysctl 2 1K 9K 166960K 8 0 counters 32 17K 18K 166960K 39 0 ioctlops 0 0K 4K 166960K 44 0 iov 0 0K 12K 166960K 71 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1345 85K 85K 166960K 1439 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 5 0 VM map 2 1K 1K 166960K 2 0 sem 6 0K 0K 166960K 8 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 97K 166960K 226 0 sigio 0 0K 0K 166960K 3 0 proc 59 59K 124K 166960K 487 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 2 0 in_multi 85 6K 7K 166960K 100 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 354 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 226 159K 168K 166960K 3643 0 UVM aobj 7 2K 2K 166960K 7 0 pinsyscall 38 76K 96K 166960K 1263 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 2 0 NDP 11 0K 2K 166960K 33 0 temp 42 8631K 8695K 166960K 9420 0 kqueue 16 24K 28K 166960K 35 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 111 0 108 3 0 3 3 0 8 2 rtentry 136 98 0 22 4 0 4 4 0 8 0 unpcb 144 137 0 117 3 0 3 3 0 8 2 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 33 0 29 1 0 1 1 0 8 0 arp 88 10 0 1 1 0 1 1 0 8 0 inpcb 328 121 0 114 3 1 2 2 0 8 1 nd6 104 16 0 2 1 0 1 1 0 8 0 pkpcb 40 67 0 67 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 5 0 5 2 1 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 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 448 0 89 28 0 28 28 0 8 3 art_table 40 450 0 89 5 0 5 5 0 8 0 art_node 32 98 0 31 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 6 0 2 1 0 1 1 0 8 0 shmpl 112 4 0 0 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 1752 0 247 95 0 95 95 0 8 0 ffsino 256 1752 0 247 95 0 95 95 0 8 0 nchpl 144 2073 0 1570 63 26 37 63 0 8 16 uvmvnodes 80 1874 0 0 39 0 39 39 0 8 0 vnodes 216 1874 0 0 105 0 105 105 0 8 0 namei 1024 6281 0 6280 3 2 1 2 0 8 0 kstatmem 264 34 0 12 3 0 3 3 0 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 7104 0 7104 8 7 1 8 1 8 1 plimitpl 152 77 0 61 1 0 1 1 0 8 0 sigapl 424 512 0 462 7 1 6 7 0 8 0 knotepl 120 6242 0 6191 2 0 2 2 0 8 0 kqueuepl 184 44 0 31 1 0 1 1 0 8 0 pipepl 304 112 0 85 3 0 3 3 0 8 0 fdescpl 448 491 0 462 5 1 4 5 0 8 0 filepl 120 2009 0 1796 11 0 11 11 0 8 4 lockfpl 104 49 0 46 1 0 1 1 0 8 0 lockfspl 48 24 0 21 1 0 1 1 0 8 0 sessionpl 144 22 0 14 1 0 1 1 0 8 0 pgrppl 48 31 0 15 1 0 1 1 0 8 0 ucredpl 104 145 0 134 1 0 1 1 0 8 0 zombiepl 144 481 0 481 2 1 1 1 0 8 1 processpl 1168 512 0 462 5 1 4 5 0 8 0 procpl 664 656 0 594 6 0 6 6 0 8 0 sosppl 168 2 0 2 1 0 1 1 0 8 1 sockpl 552 439 0 409 13 2 11 12 0 8 8 mcl64k 65536 6 0 6 2 1 1 1 0 8 1 mcl8k 8192 5 0 5 1 1 0 1 0 8 0 mcl4k 4096 2550 0 2494 13 5 8 13 0 8 0 mcl2k 2048 298 0 297 4 1 3 3 0 8 2 mtagpl 96 6 0 6 2 1 1 1 0 8 1 mbufpl 256 7288 0 7118 28 7 21 27 0 8 8 bufpl 280 3028 0 117 208 0 208 208 0 8 0 anonpl 24 97310 0 93792 25 2 23 23 0 187 0 amapchunkpl 152 10521 0 10040 22 1 21 21 0 158 1 amappl16 200 1630 0 1578 5 2 3 5 0 8 0 amappl15 192 6 0 5 1 0 1 1 0 8 0 amappl14 184 106 0 96 1 0 1 1 0 8 0 amappl13 176 6 0 6 1 1 0 1 0 8 0 amappl12 168 1104 0 1075 3 1 2 3 0 8 0 amappl11 160 42 0 32 1 0 1 1 0 8 0 amappl10 152 44 0 44 1 1 0 1 0 8 0 amappl9 144 268 0 268 1 1 0 1 0 8 0 amappl8 136 19 0 18 1 0 1 1 0 8 0 amappl7 128 105 0 95 1 0 1 1 0 8 0 amappl6 120 172 0 169 1 0 1 1 0 8 0 amappl5 112 117 0 111 1 0 1 1 0 8 0 amappl4 104 268 0 252 1 0 1 1 0 8 0 amappl3 96 1757 0 1648 3 0 3 3 0 8 0 amappl2 88 621 0 568 2 0 2 2 0 8 0 amappl1 80 8386 0 7838 13 1 12 13 0 8 0 amappl 88 2986 0 2825 4 0 4 4 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 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 491 0 462 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 491 0 462 1 0 1 1 0 8 0 vmmpekpl 168 5397 0 5369 2 0 2 2 0 8 0 vmmpepl 168 37349 0 35483 88 0 88 88 0 357 3 vmsppl 368 490 0 462 4 1 3 4 0 8 0 rwobjpl 40 14565 0 11819 28 0 28 28 0 8 0 pdppl 4096 988 0 924 102 34 68 82 0 8 4 pvpl 32 232329 0 223649 90 5 85 85 0 265 4 pmappl 216 490 0 462 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 396 0 57 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9c99f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9c99f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x244bdd74800, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003c9c99f0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9c99f0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x244bdd74800, count: -3