uvm_fault(0xfffffd806ba512f0, 0x3e60, 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 * 75985 31564 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff800038961b80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038961b80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1dceb01e820, 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(0xfffffd806ba512f0, 0x3e60, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff800038961b80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038961b80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1dceb01e820, count: -3 ddb> show registers rdi 0x3e60 __ALIGN_SIZE+0x2e60 rsi 0xffff800038961870 rbp 0xffff800038961ab0 rbx 0xa806 __ALIGN_SIZE+0x9806 rdx 0xffff80003895c000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x4f02fb6f83849757 r11 0xffffffff82937f80 copy_fault r12 0x4 r13 0x16 r14 0xffff800038961870 r15 0xffff800038961b80 rip 0xffffffff82937ea7 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff800038961800 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=75985 pid=31564 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=83, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c984800,0xffff80003c984fd8 process=0xffff80002a8c1ff0 user=0xffff80003895c000, vmspace=0xfffffd806ba512f0 estcpu=33, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 68327 309856 39273 0 2 0 syz-executor 68327 327577 39273 0 3 0x4000080 fsleep syz-executor 78282 2303 51967 60928 2 0x10 syz-executor 78282 61040 51967 60928 3 0x4000090 fsleep syz-executor 21098 289933 98147 0 2 0x10 syz-executor 21098 104058 98147 0 3 0x4000090 fsleep syz-executor 21098 422194 98147 0 3 0x4000090 fsleep syz-executor 64333 440698 46721 0 3 0x80 nanoslp syz-executor 64333 515153 46721 0 2 0x4000000 syz-executor 31564 67240 7645 0 2 0 syz-executor *31564 75985 7645 0 7 0x4000000 syz-executor 94464 296491 5487 60928 2 0x10 syz-executor 94464 473794 5487 60928 3 0x4000090 fsleep syz-executor 99557 501127 58952 0 2 0 syz-executor 99557 112507 58952 0 2 0x4000000 syz-executor 15524 233342 88060 0 2 0 syz-executor 15524 292449 88060 0 3 0x4000080 fsleep syz-executor 59725 340591 1 0 3 0x100083 ttyin getty 13100 111855 0 0 3 0x14280 nfsidl nfsio 37209 149290 0 0 3 0x14280 nfsidl nfsio 26455 6148 0 0 3 0x14280 nfsidl nfsio 25223 201179 0 0 3 0x14280 nfsidl nfsio 26144 35742 0 0 3 0x14280 nfsidl nfsio 99892 367480 0 0 3 0x14280 nfsidl nfsio 45302 338182 0 0 3 0x14280 nfsidl nfsio 59210 433359 0 0 3 0x14280 nfsidl nfsio 82701 364016 0 0 3 0x14280 nfsidl nfsio 78240 374740 0 0 3 0x14280 nfsidl nfsio 54739 326258 0 0 3 0x14280 nfsidl nfsio 19831 284898 0 0 3 0x14280 nfsidl nfsio 14270 110984 0 0 3 0x14280 nfsidl nfsio 78365 148096 0 0 3 0x14280 nfsidl nfsio 81902 243901 0 0 3 0x14280 nfsidl nfsio 33787 357752 0 0 3 0x14280 nfsidl nfsio 47945 433410 0 0 3 0x14280 nfsidl nfsio 35747 123559 0 0 3 0x14280 nfsidl nfsio 90636 357750 0 0 3 0x14280 nfsidl nfsio 68091 177451 0 0 3 0x14280 nfsidl nfsio 32864 442587 0 0 3 0x14200 acct acct 5487 455698 44377 0 3 0x82 nanoslp syz-executor 65013 273104 0 0 3 0x14200 bored sosplice 51967 513621 44377 0 3 0x82 nanoslp syz-executor 58952 45301 44377 0 3 0x82 nanoslp syz-executor 39273 191233 44377 0 3 0x82 nanoslp syz-executor 88060 479124 44377 0 3 0x82 nanoslp syz-executor 7645 5110 44377 0 3 0x82 nanoslp syz-executor 46721 520453 44377 0 3 0x82 nanoslp syz-executor 98147 316414 44377 0 3 0x82 nanoslp syz-executor 44377 104896 10304 0 3 0x82 kqread syz-executor 10304 509250 96621 0 3 0x10008a sigsusp ksh 96621 179337 476 0 3 0x98 kqread sshd-session 476 274402 33647 0 3 0x92 kqread sshd-session 33647 38031 1 0 3 0x88 kqread sshd 49833 162967 84083 73 3 0x1100090 kqread syslogd 84083 264555 1 0 3 0x100082 sbwait syslogd 7055 476071 1 0 3 0x100080 kqread resolvd 75456 74221 62771 77 3 0x100092 kqread dhcpleased 43755 388806 62771 77 3 0x100092 kqread dhcpleased 62771 35682 1 0 3 0x80 kqread dhcpleased 34679 141542 0 0 3 0x14200 bored smr 46862 238930 0 0 2 0x14200 zerothread 56002 73719 0 0 3 0x14200 aiodoned aiodoned 12348 364172 0 0 3 0x14200 syncer update 97552 519953 0 0 3 0x14200 cleaner cleaner 99594 204974 0 0 3 0x14200 reaper reaper 9770 237945 0 0 3 0x14200 pgdaemon pagedaemon 1465 15922 0 0 3 0x14200 bored viomb 90155 136647 0 0 3 0x40014200 acpi0 acpi0 9824 320047 0 0 3 0x14200 bored softnet7 88845 313247 0 0 3 0x14200 bored softnet6 84453 66907 0 0 3 0x14200 bored softnet5 55209 309414 0 0 3 0x14200 bored softnet4 85113 486414 0 0 3 0x14200 bored softnet3 27508 407037 0 0 3 0x14200 bored softnet2 13614 293139 0 0 3 0x14200 bored softnet1 66149 409715 0 0 3 0x14200 bored softnet0 5054 286275 0 0 2 0x14200 systqmp 53072 155026 0 0 3 0x14200 bored systq 49467 400958 0 0 3 0x40014200 tmoslp softclock 90559 86664 0 0 3 0x40014200 idle0 1 447704 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 10233 11076K 12311K 166960K 13732 0 pcb 17 14K 15K 166960K 335 0 rtable 152 8K 8K 166960K 633 0 pf 39 15K 131084K 166960K 329 0 ifaddr 31 5K 8K 166960K 135 0 ifgroup 54 2K 2K 166960K 224 0 sysctl 4 1K 9K 166960K 21 0 counters 33 17K 18K 166960K 127 0 ioctlops 0 0K 4K 166960K 495 0 iov 0 0K 24K 166960K 125 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1554 98K 98K 166960K 3228 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 40 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 155 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 236K 166960K 1819 0 sigio 0 0K 0K 166960K 20 0 proc 64 67K 124K 166960K 708 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 279 0 in_multi 42 3K 7K 166960K 218 0 ether_multi 1 0K 0K 166960K 31 0 mrt 1 0K 0K 166960K 16 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 277 1235K 1235K 166960K 277 0 exec 0 0K 2K 166960K 528 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 5 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 223 151K 169K 166960K 16990 0 UVM aobj 50 6K 6K 166960K 58 0 pinsyscall 39 78K 96K 166960K 2894 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 138 0 NDP 12 0K 2K 166960K 94 0 temp 76 8644K 8756K 166960K 57928 0 kqueue 15 24K 35K 166960K 380 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 326 0 322 3 0 3 3 0 8 2 rtentry 136 171 0 121 4 0 4 4 0 8 0 unpcb 144 1606 0 1585 6 0 6 6 0 8 5 syncache 336 7 0 7 1 0 1 1 0 8 1 tcpqe 32 11 0 11 1 0 1 1 0 8 1 tcpcb 736 862 0 851 11 1 10 11 0 8 8 arp 88 23 0 11 1 0 1 1 0 8 0 ipq 40 4 0 2 1 0 1 1 0 8 0 ipqe 40 12 0 10 1 0 1 1 0 8 0 inpcb 328 2211 0 2195 13 3 10 13 0 8 8 ip6q 72 11 0 8 1 0 1 1 0 8 0 ip6af 40 25 0 22 1 0 1 1 0 8 0 nd6 104 32 0 27 1 0 1 1 0 8 0 pkpcb 40 17 0 17 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 76 0 76 1 0 1 1 0 8 1 pppxif 1384 7 0 7 1 0 1 1 0 8 1 pfstscr 40 3 0 3 1 0 1 1 0 8 1 pfrktable 1344 2 0 2 1 0 1 1 0 8 1 pfanchor 1288 3 0 1 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 10 0 0 1 0 1 1 0 8 0 pfstkey 128 16 0 7 1 0 1 1 0 8 0 pfstate 384 8 0 3 1 0 1 1 0 8 0 pfrule 1344 78 0 77 1 0 1 1 0 8 0 rttmr 136 3 0 3 1 0 1 1 0 8 1 art_heap8 4096 6 0 1 5 0 5 5 0 8 0 art_heap4 256 758 0 538 30 6 24 30 0 8 8 art_table 40 764 0 539 5 0 5 5 0 8 0 art_node 32 171 0 129 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 80 0 70 1 0 1 1 0 8 0 shmpl 112 55 0 8 2 0 2 2 0 8 0 dirhash 1024 36 0 19 3 0 3 3 0 8 0 dino2pl 256 4890 0 3391 95 0 95 95 0 8 0 ffsino 256 4890 0 3391 95 0 95 95 0 8 0 nchpl 144 7489 0 5797 63 0 63 63 0 8 0 rtmask 32 16 0 16 1 0 1 1 0 8 1 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 27099 0 27098 2 0 2 2 0 8 1 kstatmem 264 148 0 124 3 0 3 3 0 8 1 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 8 0 8 1 0 1 1 0 8 1 scxspl 216 28200 0 28200 8 0 8 8 1 8 8 plimitpl 152 438 0 419 1 0 1 1 0 8 0 sigapl 424 2111 0 2039 9 0 9 9 0 8 0 knotepl 120 68694 0 68636 23 12 11 17 0 8 7 kqueuepl 184 796 0 782 4 0 4 4 0 8 3 pipepl 304 250 0 223 3 0 3 3 0 8 0 fdescpl 448 2066 0 2036 5 0 5 5 0 8 1 filepl 120 15287 0 14988 12 0 12 12 0 8 2 lockfpl 104 1015 0 1012 2 0 2 2 0 8 1 lockfspl 48 343 0 340 1 0 1 1 0 8 0 sessionpl 144 26 0 18 1 0 1 1 0 8 0 pgrppl 48 118 0 102 1 0 1 1 0 8 0 ucredpl 104 3243 0 3228 1 0 1 1 0 8 0 zombiepl 144 2039 0 2039 1 0 1 1 0 8 1 processpl 1168 2111 0 2039 6 0 6 6 0 8 0 procpl 664 4625 0 4544 8 0 8 8 0 8 0 sosppl 168 4 0 4 1 0 1 1 0 8 1 sockpl 552 4319 0 4278 17 5 12 13 0 8 8 mcl64k 65536 122 0 122 2 0 2 2 0 8 2 mcl16k 16384 14 0 14 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 4 0 4 1 0 1 1 0 8 1 mcl8k 8192 21 0 20 1 0 1 1 0 8 0 mcl4k 4096 4697 0 4647 14 0 14 14 0 8 7 mcl2k2 2112 1 0 1 1 0 1 1 0 8 1 mcl2k 2048 2935 0 2930 7 0 7 7 0 8 5 mtagpl 96 59 0 26 2 0 2 2 0 8 1 mbufpl 256 23575 0 23455 20 0 20 20 0 8 6 bufpl 280 9693 0 3465 445 0 445 445 0 8 0 anonpl 24 275655 0 272336 79 0 79 79 0 187 46 amapchunkpl 152 58948 0 58474 28 0 28 28 0 158 8 amappl16 200 5174 0 5135 44 32 12 33 0 8 8 amappl15 192 1 0 1 1 0 1 1 0 8 1 amappl14 184 127 0 117 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 0 1 1 0 8 1 amappl12 168 2705 0 2675 3 0 3 3 0 8 1 amappl11 160 44 0 34 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 0 1 1 0 8 1 amappl9 144 286 0 284 1 0 1 1 0 8 0 amappl8 136 67 0 65 1 0 1 1 0 8 0 amappl7 128 151 0 141 1 0 1 1 0 8 0 amappl6 120 193 0 188 1 0 1 1 0 8 0 amappl5 112 122 0 114 1 0 1 1 0 8 0 amappl4 104 272 0 256 1 0 1 1 0 8 0 amappl3 96 12191 0 12080 4 0 4 4 0 8 0 amappl2 88 674 0 617 2 0 2 2 0 8 0 amappl1 80 15361 0 14803 14 0 14 14 0 8 1 amappl 88 16003 0 15845 5 0 5 5 0 92 0 dma65536 65536 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 dma512 512 1 0 1 1 0 1 1 0 8 1 dma256 256 8 0 8 1 0 1 1 0 8 1 dma128 128 256 0 256 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 57 0 8 1 0 1 1 0 8 0 uaddrrnd 24 2066 0 2036 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2066 0 2036 1 0 1 1 0 8 0 vmmpekpl 168 16502 0 16472 2 0 2 2 0 8 0 vmmpepl 168 130125 0 128184 110 0 110 110 0 357 23 vmsppl 368 2065 0 2036 4 0 4 4 0 8 1 rwobjpl 40 38197 0 31366 71 0 71 71 0 8 1 pdppl 4096 4139 0 4072 107 40 67 83 0 8 0 pvpl 32 872905 0 862738 177 0 177 177 0 265 83 pmappl 216 2065 0 2036 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 415 0 47 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800038961b80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038961b80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1dceb01e820, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff800038961b80) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff800038961b80) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1dceb01e820, count: -3