uvm_fault(0xfffffd806bea4018, 0x93bb20, 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 * 86903 50433 0 0 0x4000000 0 syz-executor 210452 9623 0 0x14000 0x200 1 softclockmp copyout() at copyout+0x57 syscall(ffff80003c421c90) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c421c90) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x624b0c51340, 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(0xfffffd806bea4018, 0x93bb20, 0, 2) -> e ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80003c421c90) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c421c90) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x624b0c51340, count: -3 ddb{0}> show registers rdi 0x93bb20 acpi_pdirpa+0x927991 rsi 0xffff80003c421a20 rbp 0xffff80003c421bb0 rbx 0xfffb6226 rdx 0xffff80003c41c000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0xb87916bf0bb849ed r11 0xffffffff818d8890 copy_fault r12 0x6 r13 0x16 r14 0xffff80003c421c90 r15 0xffff80003c421a20 rip 0xffffffff818d87b7 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c4218f0 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor) tid=86903 pid=50433 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=75, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c43c030,0xffff80002a291228 process=0xffff80003b01a0b8 user=0xffff80003c41c000, vmspace=0xfffffd806bea4018 estcpu=25, cpticks=50, pctcpu=0.33, user=0, sys=80, intr=3 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 64089 453595 55000 0 2 0 syz-executor 64089 353167 55000 0 3 0x4000080 fsleep syz-executor 62582 161357 2693 0 2 0 syz-executor 62582 107047 2693 0 3 0x4000080 fsleep syz-executor 62582 510478 2693 0 3 0x4000080 fsleep syz-executor 62582 170416 2693 0 3 0x4000080 fsleep syz-executor 42101 208461 79097 0 3 0x80 nanoslp syz-executor 42101 488405 79097 0 3 0x4000080 kqsel syz-executor 42101 344073 79097 0 2 0x4000000 syz-executor 42101 278836 79097 0 2 0x4000000 syz-executor 42101 213031 79097 0 3 0x4000080 fsleep syz-executor 56222 395193 91614 0 3 0x3000 suspend syz-executor 56222 70256 91614 0 2 0x4081000 syz-executor 95747 424231 7369 0 4 0x82010 syz-executor 95747 132740 7369 0 2 0x4082010 syz-executor 95747 130421 7369 0 3 0x4002010 suspend syz-executor 43805 255661 38610 0 2 0 syz-executor 43805 6544 38610 0 3 0x4000080 fsleep syz-executor 43805 354512 38610 0 3 0x4000080 fsleep syz-executor 50433 316147 15820 0 2 0 syz-executor 50433 182297 15820 0 3 0x4000080 fsleep syz-executor *50433 86903 15820 0 7 0x4000000 syz-executor 55000 50620 50617 0 3 0x82 nanoslp syz-executor 7369 395905 50617 0 3 0x82 nanoslp syz-executor 38610 483166 50617 0 3 0x82 nanoslp syz-executor 91614 119267 50617 0 3 0x82 nanoslp syz-executor 2693 256411 50617 0 3 0x82 nanoslp syz-executor 15820 7049 50617 0 3 0x82 nanoslp syz-executor 79097 40695 50617 0 3 0x82 nanoslp syz-executor 16209 18030 50617 0 2 0x2 syz-executor 50617 213691 82117 0 3 0x82 kqread syz-executor 82117 426331 75990 0 3 0x10008a sigsusp ksh 75990 512921 94941 0 3 0x98 kqread sshd-session 94941 237737 19321 0 3 0x92 kqread sshd-session 26872 65376 1 0 3 0x100083 ttyin getty 19321 268605 1 0 3 0x88 kqread sshd 70727 508993 76905 74 3 0x1100092 bpf pflogd 76905 102786 1 0 3 0x80 sbwait pflogd 89902 17725 4352 73 3 0x1100090 kqread syslogd 4352 163331 1 0 3 0x100082 sbwait syslogd 34432 26755 1 0 3 0x100080 kqread resolvd 73177 357547 99399 77 3 0x100092 kqread dhcpleased 55350 123853 99399 77 3 0x100092 kqread dhcpleased 99399 241681 1 0 3 0x80 kqread dhcpleased 17899 288858 0 0 2 0x40014200 smr 76881 302069 0 0 3 0x14200 pgzero zerothread 64883 59394 0 0 3 0x14200 aiodoned aiodoned 54496 507811 0 0 3 0x14200 syncer update 15710 25514 0 0 3 0x14200 cleaner cleaner 75645 53828 0 0 3 0x14200 reaper reaper 88486 456704 0 0 3 0x14200 pgdaemon pagedaemon 13938 332189 0 0 3 0x14200 bored viomb 38859 22492 0 0 3 0x40014200 acpi0 acpi0 77520 287631 0 0 3 0x40014200 idle1 80848 303919 0 0 3 0x14200 bored softnet3 68027 303714 0 0 3 0x14200 bored softnet2 6901 232940 0 0 3 0x14200 bored softnet1 48586 396002 0 0 3 0x14200 bored softnet0 93211 373333 0 0 3 0x14200 bored systqmp 56552 108767 0 0 3 0x14200 bored systq 9623 210452 0 0 7 0x14200 softclockmp 14125 392117 0 0 2 0x40014200 softclock 99119 102647 0 0 3 0x40014200 idle0 1 311064 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 9623 (softclockmp) thread 0xffff8000ffffef60 (210452) shared rwlock timeout r = 0 (0xffffffff837dd8a8) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 timeout_run+0xf1 sys/kern/kern_timeout.c:658 #2 softclock_thread_mp+0xf3 sys/kern/kern_timeout.c:834 #3 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10208 11137K 11286K 166960K 11320 0 pcb 17 12K 12K 166960K 24 0 rtable 240 6K 7K 166960K 363 0 pf 34 17K 18K 166960K 45 0 ifaddr 44 7K 7K 166960K 46 0 ifgroup 55 2K 2K 166960K 55 0 sysctl 1 1K 1K 166960K 1 0 counters 64 36K 36K 166960K 64 0 ioctlops 0 0K 4K 166960K 1494 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1343 84K 84K 166960K 1396 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 180 0 sigio 2 0K 0K 166960K 3 0 proc 71 91K 128K 166960K 530 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 1 0K 0K 166960K 9 0 in_multi 99 7K 7K 166960K 101 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 61 281K 281K 166960K 61 0 exec 0 0K 1K 166960K 373 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 256 164K 170K 166960K 3355 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 43 86K 103K 166960K 1298 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 17 0K 1K 166960K 28 0 temp 36 8678K 8742K 166960K 4247 0 kqueue 14 22K 24K 166960K 32 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 41 0 36 1 0 1 1 0 8 0 rtentry 176 114 0 1 6 0 6 6 0 8 0 unpcb 144 55 0 34 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 808 15 0 9 1 0 1 1 0 8 0 arp 128 19 0 0 1 0 1 1 0 8 0 inpcb 384 100 0 85 2 0 2 2 0 8 0 nd6 144 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pffrent 40 1 0 1 1 0 1 1 0 8 1 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 18 0 0 1 0 1 1 0 8 0 pfstkey 128 18 0 0 1 0 1 1 0 8 0 pfstate 384 18 0 0 2 0 2 2 0 8 0 pfrule 1344 22 0 15 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 456 0 0 29 0 29 29 0 8 0 art_table 32 457 0 0 4 0 4 4 0 8 0 art_node 16 113 0 11 1 0 1 1 0 8 0 semapl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1644 0 128 95 0 95 95 0 8 0 ffsino 288 1644 0 128 109 0 109 109 0 8 0 nchpl 144 1888 0 190 63 0 63 63 0 8 0 uvmvnodes 80 1751 0 0 36 0 36 36 0 8 0 vnodes 216 1751 0 0 98 0 98 98 0 8 0 namei 1024 5786 0 5786 2 0 2 2 0 8 2 percpumem 16 47 0 0 1 0 1 1 0 8 0 kstatmem 264 24 0 0 2 0 2 2 0 8 0 scxspl 216 5995 0 5995 3 2 1 2 1 8 1 plimitpl 152 34 0 14 1 0 1 1 0 8 0 sigapl 424 490 0 440 8 1 7 7 0 8 1 futexpl 64 703 0 695 1 0 1 1 0 8 0 knotepl 120 64 0 0 2 0 2 2 0 8 0 kqueuepl 224 33 0 19 1 0 1 1 0 8 0 pipepl 336 110 0 82 3 0 3 3 0 8 0 fdescpl 520 472 0 440 3 0 3 3 0 8 0 filepl 160 1678 0 1438 11 0 11 11 0 8 0 lockfpl 104 11 0 8 1 0 1 1 0 8 0 lockfspl 48 7 0 4 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 13 1 0 1 1 0 8 0 ucredpl 104 109 0 95 1 0 1 1 0 8 0 zombiepl 144 442 0 440 1 0 1 1 0 8 0 processpl 1192 490 0 440 5 0 5 5 0 8 0 procpl 656 565 0 500 7 1 6 6 0 8 0 sockpl 728 196 0 155 5 0 5 5 0 8 0 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 126 0 0 16 0 16 16 0 8 0 mcl2k 2048 24 0 0 3 0 3 3 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 129 0 0 9 0 9 9 0 8 0 bufpl 280 2355 0 123 160 0 160 160 0 8 0 anonpl 32 5818 0 0 48 1 47 47 0 246 0 amapchunkpl 152 9554 0 9005 22 0 22 22 0 158 0 amappl16 200 2263 0 2091 11 1 10 10 0 8 0 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 115 0 103 1 0 1 1 0 8 0 amappl13 176 25 0 25 1 1 0 1 0 8 0 amappl12 168 1136 0 1104 4 1 3 3 0 8 1 amappl11 160 56 0 42 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 245 0 245 1 1 0 1 0 8 0 amappl8 136 28 0 25 1 0 1 1 0 8 0 amappl7 128 128 0 116 1 0 1 1 0 8 0 amappl6 120 187 0 184 1 0 1 1 0 8 0 amappl5 112 120 0 111 1 0 1 1 0 8 0 amappl4 104 321 0 303 1 0 1 1 0 8 0 amappl3 96 1575 0 1451 5 1 4 4 0 8 0 amappl2 88 644 0 581 2 0 2 2 0 8 0 amappl1 80 8452 0 7840 14 0 14 14 0 8 0 amappl 88 2650 0 2467 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 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 472 0 440 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 472 0 440 1 0 1 1 0 8 0 vmmpekpl 168 5553 0 5515 2 0 2 2 0 8 0 vmmpepl 168 37058 0 34870 96 0 96 96 0 357 0 vmsppl 480 471 0 440 5 0 5 5 0 8 0 rwobjpl 72 15063 0 12214 53 1 52 52 0 8 0 pdppl 4096 952 0 880 98 18 80 84 0 8 8 pvpl 32 12042 0 0 98 0 98 98 0 265 0 pmappl 256 471 0 440 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 380 0 20 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80003c421c90) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c421c90) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x624b0c51340, count: -3 ddb{0}> machine ddbcpu 1