login: uvm_fault(0xfffffd805d2f8b98, 0x1460, 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 388255 23903 0 0 0x4000000 1K syz-executor *186727 23903 0 0 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80002a371400) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a371400) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x847bf5389b0, 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(0xfffffd805d2f8b98, 0x1460, 0, 2) -> e ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80002a371400) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a371400) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x847bf5389b0, count: -3 ddb{0}> show registers rdi 0x1460 __ALIGN_SIZE+0x460 rsi 0xffff80002a3711d0 rbp 0xffff80002a371320 rbx 0xffffff5c rdx 0xffff80002a36c000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0xb3586588317ad4f9 r11 0xffffffff82e1c350 copy_fault r12 0x4 r13 0x16 r14 0xffff80002a371400 r15 0xffff80002a3711d0 rip 0xffffffff82e1c277 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80002a371060 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor) tid=186727 pid=23903 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c46b750,0xffffffff8395c980 process=0xffff80002a35c510 user=0xffff80002a36c000, vmspace=0xfffffd805d2f8b98 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 23903 400811 67334 0 2 0 syz-executor 23903 388255 67334 0 7 0x4000000 syz-executor *23903 186727 67334 0 7 0x4000000 syz-executor 30015 68164 77631 0 3 0x80 nanoslp syz-executor 30015 11954 77631 0 3 0x4000080 sbwait syz-executor 30015 403395 77631 0 3 0x4000080 fsleep syz-executor 27677 143689 33872 0 2 0 syz-executor 27677 189062 33872 0 3 0x4000080 rest syz-executor 27677 450900 33872 0 2 0x4000000 syz-executor 64668 336125 76784 0 2 0xc80 syz-executor 64668 21429 76784 0 3 0x4000080 pipewr syz-executor 64668 389706 76784 0 3 0x4000080 fsleep syz-executor 60281 112563 69098 0 3 0x3000 suspend syz-executor 60281 372791 69098 0 2 0x4081000 syz-executor 60281 481987 69098 0 3 0x4081000 inode syz-executor 80982 240806 0 0 3 0x14200 acct acct 99048 441331 1 0 3 0x100083 ttyin getty 67334 87157 17479 0 3 0x82 nanoslp syz-executor 45883 518203 17479 0 2 0x2 syz-executor 15300 251711 17479 0 2 0xc82 syz-executor 9939 492030 17479 0 3 0x82 nanoslp syz-executor 33872 228 17479 0 2 0xc82 syz-executor 5537 80620 0 0 3 0x14200 bored sosplice 4270 410977 0 0 3 0x14280 nfsidl nfsio 33076 274364 0 0 3 0x14280 nfsidl nfsio 65223 429910 0 0 3 0x14280 nfsidl nfsio 79274 106027 0 0 3 0x14280 nfsidl nfsio 62181 34619 0 0 3 0x14280 nfsidl nfsio 815 384868 0 0 3 0x14280 nfsidl nfsio 70107 445855 0 0 3 0x14280 nfsidl nfsio 29164 123130 0 0 3 0x14280 nfsidl nfsio 24782 424091 0 0 3 0x14280 nfsidl nfsio 5075 492985 0 0 3 0x14280 nfsidl nfsio 90754 87703 0 0 3 0x14280 nfsidl nfsio 3157 35033 0 0 3 0x14280 nfsidl nfsio 80557 228810 0 0 3 0x14280 nfsidl nfsio 16965 483263 0 0 3 0x14280 nfsidl nfsio 48398 386094 0 0 3 0x14280 nfsidl nfsio 24460 422558 0 0 3 0x14280 nfsidl nfsio 22804 99432 0 0 3 0x14280 nfsidl nfsio 10684 285492 0 0 3 0x14280 nfsidl nfsio 50908 87938 0 0 3 0x14280 nfsidl nfsio 93044 492502 0 0 3 0x14280 nfsidl nfsio 76784 9545 17479 0 2 0xc82 syz-executor 77631 12572 17479 0 2 0xc82 syz-executor 69098 386147 17479 0 2 0xc82 syz-executor 17479 66027 98434 0 3 0x82 kqread syz-executor 98434 174060 18903 0 3 0x10008a sigsusp ksh 18903 477530 2184 0 3 0x98 kqread sshd-session 2184 232873 88199 0 3 0x92 kqread sshd-session 88199 35488 1 0 3 0x88 kqread sshd 83318 126231 72457 74 3 0x1100092 bpf pflogd 72457 67653 1 0 3 0x80 sbwait pflogd 74154 107628 55579 73 3 0x1100090 kqread syslogd 55579 213903 1 0 3 0x100082 sbwait syslogd 14755 202651 1 0 3 0x100080 kqread resolvd 70065 214776 5599 77 3 0x100092 kqread dhcpleased 93650 384765 5599 77 3 0x100092 kqread dhcpleased 5599 274779 1 0 3 0x80 kqread dhcpleased 71716 451385 0 0 3 0x14200 bored smr 87797 352681 0 0 2 0x14200 zerothread 65408 459932 0 0 3 0x14200 aiodoned aiodoned 97993 144518 0 0 3 0x14200 syncer update 10897 359424 0 0 3 0x14200 cleaner cleaner 19561 98518 0 0 3 0x14200 reaper reaper 81408 244185 0 0 3 0x14200 pgdaemon pagedaemon 41060 288986 0 0 3 0x14200 bored viomb 63696 322155 0 0 3 0x40014200 acpi0 acpi0 9120 101039 0 0 3 0x40014200 idle1 28022 7082 0 0 3 0x14200 bored softnet7 3523 209232 0 0 3 0x14200 bored softnet6 27528 410679 0 0 3 0x14200 bored softnet5 77969 461741 0 0 3 0x14200 bored softnet4 26506 329091 0 0 3 0x14200 bored softnet3 64547 455726 0 0 3 0x14200 bored softnet2 21317 468238 0 0 3 0x14200 bored softnet1 18705 455005 0 0 3 0x14200 bored softnet0 38019 136294 0 0 3 0x14200 bored systqmp 53055 383353 0 0 3 0x14200 bored systq 95914 74527 0 0 3 0x14200 tmoslp softclockmp 61966 118497 0 0 2 0x40014200 softclock 90046 222916 0 0 3 0x40014200 idle0 1 8176 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 23903 (syz-executor) thread 0xffff80003c490a70 (388255) Process 60281 (syz-executor) thread 0xffff80003c4bb748 (372791) Process 60281 (syz-executor) thread 0xffff80003c46afa0 (481987) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10251 11147K 12050K 166960K 13707 0 pcb 17 17K 19K 166960K 370 0 rtable 211 13K 13K 166960K 636 0 pf 40 18K 21K 166960K 205 0 ifaddr 40 7K 8K 166960K 161 0 ifgroup 59 2K 2K 166960K 247 0 sysctl 4 1K 9K 166960K 15 0 counters 70 37K 37K 166960K 342 0 ioctlops 0 0K 4K 166960K 1822 0 iov 1 4K 32K 166960K 172 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1619 102K 102K 166960K 2888 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 16K 20K 166960K 28 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 65 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 89K 166960K 1851 0 sigio 0 0K 0K 166960K 23 0 proc 72 115K 180K 166960K 890 0 subproc 72 4K 4K 166960K 138 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 228 0 in_multi 83 6K 7K 166960K 265 0 ether_multi 1 0K 0K 166960K 11 0 mrt 1 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 925 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 250 176K 190K 166960K 18497 0 UVM aobj 113 12K 12K 166960K 116 0 pinsyscall 42 84K 102K 166960K 3165 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 84 0 NDP 13 0K 1K 166960K 110 0 temp 79 8684K 8756K 166960K 99731 0 kqueue 16 24K 30K 166960K 369 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 278 0 274 3 2 1 3 0 8 0 rtentry 176 226 0 150 5 0 5 5 0 8 0 unpcb 144 1589 0 1571 12 7 5 6 0 8 4 syncache 336 7 0 7 2 2 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 736 728 0 722 18 11 7 10 0 8 6 arp 128 27 0 16 1 0 1 1 0 8 0 inpcb 328 2162 0 2153 15 8 7 10 0 8 5 nd6 144 41 0 25 1 0 1 1 0 8 0 pkpcb 40 16 0 16 2 1 1 1 0 8 1 kcovpl 48 15 0 7 1 0 1 1 0 8 0 mppekey 1024 3 0 3 2 1 1 1 0 8 1 ppxss 1192 113 0 113 2 1 1 1 0 8 1 pppxif 1504 11 0 11 2 1 1 1 0 8 1 pffrag 232 19 0 8 1 0 1 1 0 482 0 pffrnode 88 16 0 6 1 0 1 1 0 8 0 pffrent 40 35 0 23 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 7 0 3 1 0 1 1 0 8 0 pfanchor 1288 1 0 0 1 0 1 1 0 8 0 pfstitem 24 122 0 37 1 0 1 1 0 8 0 pfstkey 128 122 0 37 3 0 3 3 0 8 0 pfstate 384 122 0 37 10 0 10 10 0 8 0 pfrule 1344 27 0 19 2 1 1 2 0 8 0 rttmr 136 2 0 2 2 2 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 1106 0 730 31 5 26 28 0 8 0 art_table 40 1109 0 730 5 0 5 5 0 8 0 art_node 32 222 0 156 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 11 1 0 1 1 0 8 0 semupl 112 5 0 5 2 2 0 1 0 8 0 semapl 112 62 0 52 1 0 1 1 0 8 0 shmpl 112 113 0 3 4 0 4 4 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 4762 0 3240 96 0 96 96 0 8 0 ffsino 296 4762 0 3240 118 0 118 118 0 8 0 nchpl 144 7311 0 6696 64 38 26 64 0 8 0 rtmask 32 15 0 15 2 1 1 1 0 8 1 uvmvnodes 80 5675 0 0 116 0 116 116 0 8 0 vnodes 216 5675 0 0 316 0 316 316 0 8 0 namei 1024 26198 0 26197 2 1 1 2 0 8 0 percpumem 16 186 0 136 1 0 1 1 0 8 0 pfiaddrpl 120 3 0 0 1 0 1 1 0 8 0 kstatmem 264 162 0 132 3 0 3 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 8 0 8 4 3 1 1 0 8 1 scxspl 216 48404 0 48404 11 10 1 8 1 8 1 plimitpl 152 511 0 491 1 0 1 1 0 8 0 sigapl 424 2177 0 2102 9 0 9 9 0 8 0 knotepl 120 709 0 0 22 0 22 22 0 8 0 kqueuepl 224 865 0 851 11 10 1 5 0 8 0 pipepl 344 331 0 303 9 0 9 9 0 8 6 fdescpl 528 2131 0 2100 3 0 3 3 0 8 0 filepl 160 14790 0 14561 26 8 18 19 0 8 7 lockfpl 104 1067 0 1065 2 1 1 2 0 8 0 lockfspl 48 405 0 403 1 0 1 1 0 8 0 sessionpl 144 34 0 25 1 0 1 1 0 8 0 pgrppl 48 114 0 97 1 0 1 1 0 8 0 ucredpl 104 2074 0 2061 1 0 1 1 0 8 0 zombiepl 144 2105 0 2102 2 1 1 1 0 8 0 processpl 1248 2177 0 2102 7 0 7 7 0 8 0 procpl 656 5085 0 5000 9 0 9 9 0 8 0 sosppl 168 8 0 8 2 1 1 1 0 8 1 sockpl 752 4091 0 4060 38 25 13 20 0 8 8 mcl64k 65536 9 0 0 2 0 2 2 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 112 0 0 14 0 14 14 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 85 0 0 11 0 11 11 0 8 0 mtagpl 96 96 0 0 3 0 3 3 0 8 0 mbufpl 256 1502 0 0 94 0 94 94 0 8 0 bufpl 280 20567 0 14425 439 0 439 439 0 8 0 anonpl 32 12094 0 0 98 0 98 98 0 246 0 amapchunkpl 152 62170 0 61599 47 11 36 36 0 158 8 amappl16 200 8349 0 8018 48 30 18 24 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 151 0 139 1 0 1 1 0 8 0 amappl13 176 22 0 22 2 2 0 1 0 8 0 amappl12 168 2901 0 2870 4 2 2 3 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 9 0 9 2 2 0 1 0 8 0 amappl9 144 261 0 260 2 1 1 1 0 8 0 amappl8 136 44 0 41 1 0 1 1 0 8 0 amappl7 128 130 0 117 1 0 1 1 0 8 0 amappl6 120 260 0 257 1 0 1 1 0 8 0 amappl5 112 153 0 143 1 0 1 1 0 8 0 amappl4 104 338 0 317 1 0 1 1 0 8 0 amappl3 96 12568 0 12455 4 0 4 4 0 8 0 amappl2 88 781 0 718 2 0 2 2 0 8 0 amappl1 80 16774 0 16173 17 3 14 15 0 8 0 amappl 88 17349 0 17173 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 2 0 1 1 0 1 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 255 0 255 3 2 1 1 0 8 1 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 115 0 3 3 0 3 3 0 8 0 uaddrrnd 24 2131 0 2100 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2131 0 2100 1 0 1 1 0 8 0 vmmpekpl 168 16712 0 16646 4 0 4 4 0 8 0 vmmpepl 168 140615 0 138295 110 6 104 110 0 357 0 vmsppl 488 2130 0 2100 6 1 5 5 0 8 0 rwobjpl 80 44090 0 37056 145 1 144 144 0 8 0 pdppl 4096 4270 0 4200 116 44 72 86 0 8 2 pvpl 32 20640 0 0 168 1 167 167 0 265 0 pmappl 256 2130 0 2100 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 403 0 67 10 0 10 10 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80002a371400) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80002a371400) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x847bf5389b0, count: -3 ddb{0}> machine ddbcpu 1