uvm_fault(0xfffffd806b6405e0, 0x17a860, 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 *157248 3673 0 0 0x4000000 0 syz-executor 138525 98241 0 0x2 0x1 1 syz-executor copyout() at copyout+0x57 syscall(ffff80003c48fec0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c48fec0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa876edfd230, 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(0xfffffd806b6405e0, 0x17a860, 0, 2) -> e ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80003c48fec0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c48fec0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa876edfd230, count: -3 ddb{0}> show registers rdi 0x17a860 acpi_pdirpa+0x1666d1 rsi 0xffff80003c48fba0 rbp 0xffff80003c48fde0 rbx 0x208a __ALIGN_SIZE+0x108a rdx 0xffff80003c48a000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0x6b90235bbb695a21 r11 0xffffffff82ae2e40 copy_fault r12 0x4 r13 0x16 r14 0xffff80003c48fba0 r15 0xffff80003c48fec0 rip 0xffffffff82ae2d67 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003c48fb30 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor) tid=157248 pid=3673 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=86, usrpri=86, slppri=36, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a314570,0xffff80002a315510 process=0xffff80003b026b70 user=0xffff80003c48a000, vmspace=0xfffffd806b6405e0 estcpu=36, cpticks=24, pctcpu=0.0, user=0, sys=24, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65667 376000 60377 0 2 0 syz-executor 65667 69717 60377 0 3 0x4000080 fsleep syz-executor 65667 506622 60377 0 3 0x4000080 fsleep syz-executor 28780 59706 8342 0 2 0 syz-executor 28780 384385 8342 0 2 0x4000000 syz-executor 12104 148108 98172 0 2 0xc80 syz-executor 12104 137053 98172 0 3 0x4000080 fsleep syz-executor 12104 130726 98172 0 3 0x4000080 fsleep syz-executor 12104 157310 98172 0 3 0x4000080 fsleep syz-executor 3673 200846 98241 0 2 0 syz-executor * 3673 157248 98241 0 7 0x4000000 syz-executor 3673 77253 98241 0 2 0x4000000 syz-executor 47584 191448 68136 0 2 0x3 syz-executor 5152 444524 68136 0 2 0xc82 syz-executor 19666 67974 0 0 3 0x14280 nfsidl nfsio 3084 470516 0 0 3 0x14280 nfsidl nfsio 22215 268905 0 0 3 0x14280 nfsidl nfsio 32020 516137 0 0 3 0x14280 nfsidl nfsio 59384 111637 0 0 3 0x14280 nfsidl nfsio 54112 199810 0 0 3 0x14280 nfsidl nfsio 82950 190402 0 0 3 0x14280 nfsidl nfsio 91410 460221 0 0 3 0x14280 nfsidl nfsio 75238 107586 0 0 3 0x14280 nfsidl nfsio 57188 462057 0 0 3 0x14280 nfsidl nfsio 42226 507633 0 0 3 0x14280 nfsidl nfsio 95440 482751 0 0 3 0x14280 nfsidl nfsio 21194 38462 0 0 3 0x14280 nfsidl nfsio 55706 88650 0 0 3 0x14280 nfsidl nfsio 97817 183370 0 0 3 0x14280 nfsidl nfsio 83213 408094 0 0 3 0x14280 nfsidl nfsio 4389 416818 0 0 3 0x14280 nfsidl nfsio 30882 369622 0 0 3 0x14280 nfsidl nfsio 19484 82491 0 0 3 0x14280 nfsidl nfsio 20223 351471 0 0 3 0x14280 nfsidl nfsio 58239 365356 0 0 3 0x14200 bored sosplice 81259 265242 68136 0 2 0x2 syz-executor 98172 320488 68136 0 3 0x82 nanoslp syz-executor 2510 57953 68136 0 3 0x82 wait syz-executor 98241 138525 68136 0 7 0x3 syz-executor 60377 344197 68136 0 3 0x82 nanoslp syz-executor 8342 273110 68136 0 3 0x82 nanoslp syz-executor 68136 242354 79827 0 3 0x82 kqread syz-executor 79827 209976 48886 0 3 0x10008a sigsusp ksh 48886 334042 52651 0 3 0x98 kqread sshd-session 52651 467626 68840 0 3 0x92 kqread sshd-session 23492 365434 1 0 3 0x100083 ttyin getty 68840 517346 1 0 3 0x88 kqread sshd 22381 470732 88509 74 3 0x1100092 bpf pflogd 88509 433046 1 0 3 0x80 sbwait pflogd 84077 81292 39523 73 3 0x1100090 kqread syslogd 39523 247768 1 0 3 0x100082 sbwait syslogd 95871 209852 1 0 3 0x100080 kqread resolvd 97544 177336 80567 77 3 0x100092 kqread dhcpleased 89522 173393 80567 77 3 0x100092 kqread dhcpleased 80567 153044 1 0 3 0x80 kqread dhcpleased 44071 336452 0 0 3 0x14200 bored smr 18787 37834 0 0 2 0x14200 zerothread 80845 300127 0 0 3 0x14200 aiodoned aiodoned 50273 322314 0 0 3 0x14200 syncer update 2639 391510 0 0 3 0x14200 cleaner cleaner 33743 404565 0 0 3 0x14200 reaper reaper 81449 350863 0 0 3 0x14200 pgdaemon pagedaemon 42029 281564 0 0 3 0x14200 bored viomb 13398 309870 0 0 3 0x40014200 acpi0 acpi0 23077 176429 0 0 3 0x40014200 idle1 76929 88946 0 0 3 0x14200 bored softnet7 85207 161718 0 0 3 0x14200 bored softnet6 47401 90429 0 0 3 0x14200 bored softnet5 27067 103325 0 0 3 0x14200 bored softnet4 10277 233398 0 0 3 0x14200 bored softnet3 92177 219856 0 0 3 0x14200 bored softnet2 42507 35542 0 0 3 0x14200 bored softnet1 44932 158817 0 0 3 0x14200 bored softnet0 16876 359267 0 0 3 0x14200 smrbar systqmp 29846 360042 0 0 3 0x14200 bored systq 86491 268361 0 0 3 0x14200 tmoslp softclockmp 10520 245970 0 0 2 0x40014200 softclock 12404 238717 0 0 3 0x40014200 idle0 1 386764 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 28780 (syz-executor) thread 0xffff80002a314fd0 (384385) Process 81259 (syz-executor) thread 0xffff8000ffff34d0 (265242) Process 98241 (syz-executor) thread 0xffff8000ffff3c98 (138525) Process 16876 (systqmp) thread 0xffff8000ffffe530 (359267) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10243 11077K 12273K 166960K 12892 0 pcb 17 16K 18K 166960K 496 0 rtable 234 14K 14K 166960K 537 0 pf 44 19K 67486K 166960K 243 0 ifaddr 46 8K 8K 166960K 160 0 ifgroup 72 3K 3K 166960K 269 0 sysctl 3 1K 9K 166960K 23 0 counters 76 37K 38K 166960K 410 0 ioctlops 0 0K 4K 166960K 1823 0 iov 0 0K 16K 166960K 183 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1517 95K 96K 166960K 2881 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 18 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 87 0 dirhash 12 2K 2K 166960K 39 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 240K 166960K 1614 0 sigio 0 0K 0K 166960K 119 0 proc 75 131K 180K 166960K 814 0 subproc 72 4K 4K 166960K 99 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 4 0K 0K 166960K 241 0 in_multi 84 6K 7K 166960K 228 0 ether_multi 1 0K 0K 166960K 12 0 mrt 1 0K 0K 166960K 14 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 127 572K 572K 166960K 127 0 exec 0 0K 1K 166960K 620 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 240 169K 185K 166960K 16459 0 UVM aobj 131 68K 68K 166960K 131 0 pinsyscall 42 84K 102K 166960K 2762 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 1 0K 0K 166960K 112 0 NDP 18 0K 2K 166960K 120 0 temp 78 8652K 8780K 166960K 92371 0 kqueue 13 20K 32K 166960K 355 0 SYN cache 2 8K 16K 166960K 3 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 215 0 212 3 2 1 3 0 8 0 rtentry 176 183 0 98 5 0 5 5 0 8 0 unpcb 144 1844 0 1824 16 12 4 6 0 8 3 syncache 336 11 0 11 2 2 0 1 0 8 0 tcpqe 32 5 0 5 2 2 0 1 0 8 0 tcpcb 736 739 0 729 13 6 7 7 0 8 6 arp 128 19 0 8 1 0 1 1 0 8 0 inpcb 328 2352 0 2336 19 12 7 10 0 8 5 nd6 144 37 0 16 1 0 1 1 0 8 0 pkpcb 40 15 0 15 4 3 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 4 0 4 2 2 0 1 0 8 0 ppxss 1192 153 0 152 1 0 1 1 0 8 0 pppxif 1504 10 0 10 4 3 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 38 0 34 1 0 1 1 0 482 0 pffrnode 88 38 0 34 1 0 1 1 0 8 0 pffrent 40 76 0 72 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 1 0 1 1 1 0 1 0 8 0 pfstitem 24 113 0 51 1 0 1 1 0 8 0 pfstkey 128 115 0 53 3 0 3 3 0 8 0 pfstate 384 114 0 52 7 0 7 7 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 3 0 3 2 2 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 931 0 554 36 10 26 30 0 8 1 art_table 40 933 0 555 5 0 5 5 0 8 0 art_node 32 179 0 107 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semupl 112 2 0 2 2 2 0 1 0 8 0 semapl 112 81 0 71 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 35 0 18 3 0 3 3 0 8 0 dino2pl 256 4587 0 3079 96 1 95 96 0 8 0 ffsino 296 4587 0 3079 118 1 117 118 0 8 0 nchpl 144 6838 0 6293 65 32 33 64 0 8 8 rtmask 32 29 0 29 3 2 1 1 0 8 1 uvmvnodes 80 5389 0 0 110 0 110 110 0 8 0 vnodes 216 5389 0 0 300 0 300 300 0 8 0 namei 1024 26112 0 26112 3 2 1 2 0 8 1 percpumem 16 220 0 167 1 0 1 1 0 8 0 kstatmem 264 196 0 158 4 1 3 3 0 8 0 scsiplug 72 9 0 9 2 1 1 1 0 8 1 scxspl 216 35869 0 35869 13 11 2 8 1 8 2 plimitpl 152 420 0 403 1 0 1 1 0 8 0 sigapl 424 1907 0 1833 9 0 9 9 0 8 0 knotepl 120 730 0 0 22 0 22 22 0 8 0 kqueuepl 224 668 0 658 8 6 2 5 0 8 1 pipepl 344 392 0 365 15 12 3 12 0 8 0 fdescpl 528 1861 0 1830 3 0 3 3 0 8 0 filepl 160 14985 0 14695 34 19 15 19 0 8 2 lockfpl 104 607 0 604 2 1 1 2 0 8 0 lockfspl 48 249 0 246 1 0 1 1 0 8 0 sessionpl 144 31 0 22 1 0 1 1 0 8 0 pgrppl 48 62 0 45 1 0 1 1 0 8 0 ucredpl 104 2173 0 2159 1 0 1 1 0 8 0 zombiepl 144 2480 0 2478 1 0 1 1 0 8 0 processpl 1232 1907 0 1833 6 0 6 6 0 8 0 procpl 664 4428 0 4346 9 0 9 9 0 8 0 sosppl 168 8 0 8 2 2 0 1 0 8 0 sockpl 752 4454 0 4415 53 42 11 21 0 8 6 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 126 0 0 16 1 15 16 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 60 0 0 6 0 6 6 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 301 0 0 17 0 17 17 0 8 0 bufpl 280 14800 0 8657 441 1 440 440 0 8 0 anonpl 32 14614 0 0 118 0 118 118 0 246 0 amapchunkpl 152 55976 0 55438 50 19 31 37 0 158 7 amappl16 200 5983 0 5900 59 42 17 26 0 8 7 amappl15 192 8 0 7 1 0 1 1 0 8 0 amappl14 184 125 0 113 1 0 1 1 0 8 0 amappl13 176 9 0 9 3 3 0 1 0 8 0 amappl12 168 2559 0 2529 4 1 3 3 0 8 0 amappl11 160 56 0 41 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 267 0 267 1 1 0 1 0 8 0 amappl8 136 30 0 27 1 0 1 1 0 8 0 amappl7 128 126 0 113 1 0 1 1 0 8 0 amappl6 120 211 0 207 1 0 1 1 0 8 0 amappl5 112 136 0 126 1 0 1 1 0 8 0 amappl4 104 327 0 306 1 0 1 1 0 8 0 amappl3 96 9743 0 9651 4 1 3 3 0 8 0 amappl2 88 2136 0 2058 2 0 2 2 0 8 0 amappl1 80 15530 0 14935 16 1 15 15 0 8 0 amappl 88 15442 0 15277 5 0 5 5 0 92 0 dma4096 4096 2 0 2 2 2 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma512 512 1 0 1 1 1 0 1 0 8 0 dma256 256 7 0 7 2 2 0 1 0 8 0 dma128 128 256 0 256 4 3 1 1 0 8 1 dma64 64 8 0 8 2 2 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 1861 0 1830 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1861 0 1830 1 0 1 1 0 8 0 vmmpekpl 168 16964 0 16926 4 1 3 3 0 8 0 vmmpepl 168 122815 0 120784 124 13 111 112 0 357 9 vmsppl 488 1860 0 1830 6 1 5 5 0 8 0 rwobjpl 80 39058 0 32551 133 0 133 133 0 8 0 pdppl 4096 3730 0 3660 116 42 74 86 0 8 4 pvpl 32 24390 0 0 197 0 197 197 0 265 0 pmappl 256 1860 0 1830 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 324 0 72 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace copyout() at copyout+0x57 syscall(ffff80003c48fec0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c48fec0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa876edfd230, count: -3 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299edff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff838fa878) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff838fa878) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrsyscall(ffff8000ffff3c98,b,20,ffff80002a37d120) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff8000ffff3c98,b,20,ffff80002a37d120) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a37d120) at syscall+0x304 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a37d120) at syscall+0x304 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7d6607f55d70, count: 8 ddb{1}> rteac