uvm_fault(0xfffffd806bb9e8b8, 0x2a80, 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 * 21077 34246 60928 0x10 0x4000000 0 syz-executor copyout() at copyout+0x57 syscall(ffff80003454d0a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003454d0a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ae92542700, 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(0xfffffd806bb9e8b8, 0x2a80, 0, 2) -> e ddb> trace copyout() at copyout+0x57 syscall(ffff80003454d0a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003454d0a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ae92542700, count: -3 ddb> show registers rdi 0x2a80 __ALIGN_SIZE+0x1a80 rsi 0xffff80003454cdb0 rbp 0xffff80003454cfd0 rbx 0xa8a6 __ALIGN_SIZE+0x98a6 rdx 0xffff800034548000 rcx 0x4 rax 0x20 r8 0x7f7fffffc000 r9 0 r10 0xe901c952e5473a08 r11 0xffffffff817d7800 copy_fault r12 0x3 r13 0x16 r14 0xffff80003454cdb0 r15 0xffff80003454d0a0 rip 0xffffffff817d7727 copyout+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff80003454cd20 ss 0x10 copyout+0x57: repe movsq (%rsi),%es:(%rdi) ddb> show proc PROC (syz-executor) tid=21077 pid=34246 tcnt=2 stat=onproc flags process=10 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003815e558,0xffff80003815e038 process=0xffff80003815a020 user=0xffff800034548000, vmspace=0xfffffd806bb9e8b8 estcpu=0, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 37524 166402 45506 0 2 0 syz-executor 37524 208230 45506 0 2 0x4000000 syz-executor 37524 276270 45506 0 3 0x4000080 fsleep syz-executor 72971 383435 67980 0 2 0 syz-executor 72971 461854 67980 0 3 0x4000080 kqread syz-executor 34246 172861 91535 60928 2 0x10 syz-executor *34246 21077 91535 60928 7 0x4000010 syz-executor 89571 510604 10227 0 2 0 syz-executor 89571 305622 10227 0 3 0x4000080 ttyin syz-executor 89571 27087 10227 0 3 0x4000080 ttyin syz-executor 99761 47250 96904 0 2 0 syz-executor 99761 192607 96904 0 3 0x4000080 fsleep syz-executor 52638 156226 26640 0 2 0 syz-executor 52638 313677 26640 0 3 0x4000080 fsleep syz-executor 96904 280804 20406 0 3 0x82 nanoslp syz-executor 10227 122524 20406 0 3 0x82 nanoslp syz-executor 45506 420393 20406 0 2 0xc82 syz-executor 46388 419608 20406 0 2 0x2 syz-executor 67980 66835 20406 0 2 0xc82 syz-executor 57176 126113 20406 0 2 0x2 syz-executor 26640 125577 20406 0 3 0x82 nanoslp syz-executor 91535 42001 20406 0 3 0x82 nanoslp syz-executor 20406 117211 75535 0 3 0x82 kqread syz-executor 75535 7413 24021 0 3 0x10008a sigsusp ksh 24021 632 62862 0 3 0x98 kqread sshd-session 62862 506349 69718 0 3 0x92 kqread sshd-session 22664 336539 1 0 3 0x100083 ttyin getty 69718 460008 1 0 3 0x88 kqread sshd 46256 325486 86622 73 3 0x1100090 kqread syslogd 86622 359344 1 0 3 0x100082 sbwait syslogd 45135 135079 1 0 3 0x100080 kqread resolvd 57678 273144 55410 77 3 0x100092 kqread dhcpleased 38371 220161 55410 77 3 0x100092 kqread dhcpleased 55410 455963 1 0 3 0x80 kqread dhcpleased 33154 150534 0 0 3 0x14200 bored smr 23663 7909 0 0 2 0x14200 zerothread 58155 177604 0 0 3 0x14200 aiodoned aiodoned 29879 498859 0 0 3 0x14200 syncer update 91504 365668 0 0 3 0x14200 cleaner cleaner 30398 347355 0 0 3 0x14200 reaper reaper 63402 351401 0 0 3 0x14200 pgdaemon pagedaemon 93246 356993 0 0 3 0x14200 bored viomb 75037 15741 0 0 3 0x40014200 acpi0 acpi0 294 278964 0 0 3 0x14200 bored softnet7 74556 338707 0 0 3 0x14200 bored softnet6 49854 171398 0 0 3 0x14200 bored softnet5 11532 289473 0 0 3 0x14200 bored softnet4 14381 229706 0 0 3 0x14200 bored softnet3 13779 358427 0 0 3 0x14200 bored softnet2 70076 491469 0 0 3 0x14200 bored softnet1 26951 462847 0 0 3 0x14200 bored softnet0 970 185249 0 0 3 0x14200 smrbar systqmp 32496 175866 0 0 3 0x14200 bored systq 76234 266654 0 0 3 0x40014200 tmoslp softclock 42147 253785 0 0 3 0x40014200 idle0 1 25104 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 10187 11138K 11138K 166960K 11267 0 pcb 20 12K 12K 166960K 24 0 rtable 218 7K 7K 166960K 282 0 pf 32 13K 17K 166960K 40 0 ifaddr 42 7K 7K 166960K 44 0 ifgroup 50 2K 2K 166960K 50 0 sysctl 1 1K 9K 166960K 5 0 counters 32 17K 17K 166960K 32 0 ioctlops 0 0K 4K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1339 84K 84K 166960K 1362 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 3 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 93K 166960K 145 0 sigio 0 0K 0K 166960K 1 0 proc 58 59K 91K 166960K 473 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 1 0 in_multi 99 7K 7K 166960K 99 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 345 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 207 158K 168K 166960K 2821 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 37 74K 94K 166960K 1167 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 27 2K 2K 166960K 27 0 temp 37 8630K 8694K 166960K 3707 0 kqueue 14 20K 22K 166960K 24 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 37 0 34 1 0 1 1 0 8 0 rtentry 136 96 0 1 4 0 4 4 0 8 0 unpcb 144 41 0 26 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 8 0 4 1 0 1 1 0 8 0 arp 88 10 0 0 1 0 1 1 0 8 0 inpcb 328 63 0 53 1 0 1 1 0 8 0 nd6 104 16 0 0 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pfrktable 1344 3 0 1 1 0 1 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 1 0 0 1 0 1 1 0 8 0 pfrule 1344 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 437 0 0 28 0 28 28 0 8 0 art_table 40 439 0 0 5 0 5 5 0 8 0 art_node 32 96 0 10 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1561 0 58 95 0 95 95 0 8 0 ffsino 256 1562 0 58 95 0 95 95 0 8 0 nchpl 144 1754 0 77 63 0 63 63 0 8 0 uvmvnodes 80 1649 0 0 34 0 34 34 0 8 0 vnodes 216 1649 0 0 92 0 92 92 0 8 0 namei 1024 5141 0 5139 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 6209 0 6209 8 0 8 8 1 8 8 plimitpl 152 29 0 11 1 0 1 1 0 8 0 sigapl 424 426 0 378 7 0 7 7 0 8 1 knotepl 120 3076 0 3028 5 0 5 5 0 8 3 kqueuepl 184 26 0 14 1 0 1 1 0 8 0 pipepl 304 100 0 71 3 0 3 3 0 8 0 fdescpl 448 406 0 378 5 0 5 5 0 8 1 filepl 120 1351 0 1132 8 0 8 8 0 8 0 lockfpl 104 8 0 6 1 0 1 1 0 8 0 lockfspl 48 5 0 3 1 0 1 1 0 8 0 sessionpl 144 21 0 13 1 0 1 1 0 8 0 pgrppl 48 29 0 13 1 0 1 1 0 8 0 ucredpl 104 95 0 83 1 0 1 1 0 8 0 zombiepl 144 378 0 378 1 0 1 1 0 8 1 processpl 1168 426 0 378 5 0 5 5 0 8 1 procpl 664 447 0 391 6 0 6 6 0 8 0 sockpl 552 142 0 114 3 0 3 3 0 8 0 mcl64k 65536 3 0 3 1 0 1 1 0 8 1 mcl16k 16384 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 6 0 6 1 0 1 1 0 8 1 mcl4k 4096 2461 0 2411 13 0 13 13 0 8 4 mcl2k 2048 156 0 154 1 0 1 1 0 8 0 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 3883 0 3750 11 0 11 11 0 8 1 bufpl 280 2829 0 117 194 0 194 194 0 8 0 anonpl 24 83763 0 80828 23 0 23 23 0 187 4 amapchunkpl 152 7920 0 7492 19 0 19 19 0 158 0 amappl16 200 1263 0 1245 4 0 4 4 0 8 3 amappl15 192 12 0 12 1 0 1 1 0 8 1 amappl14 184 106 0 96 1 0 1 1 0 8 0 amappl13 176 5 0 5 1 0 1 1 0 8 1 amappl12 168 1014 0 986 2 0 2 2 0 8 0 amappl11 160 41 0 31 1 0 1 1 0 8 0 amappl10 152 5 0 5 1 0 1 1 0 8 1 amappl9 144 261 0 261 1 0 1 1 0 8 1 amappl8 136 32 0 30 1 0 1 1 0 8 0 amappl7 128 109 0 99 1 0 1 1 0 8 0 amappl6 120 167 0 164 1 0 1 1 0 8 0 amappl5 112 138 0 132 1 0 1 1 0 8 0 amappl4 104 258 0 243 1 0 1 1 0 8 0 amappl3 96 1217 0 1121 3 0 3 3 0 8 0 amappl2 88 599 0 544 2 0 2 2 0 8 0 amappl1 80 7867 0 7324 13 0 13 13 0 8 1 amappl 88 2197 0 2054 4 0 4 4 0 92 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 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 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 406 0 378 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 406 0 378 1 0 1 1 0 8 0 vmmpekpl 168 4696 0 4671 2 0 2 2 0 8 0 vmmpepl 168 31967 0 30222 81 0 81 81 0 357 1 vmsppl 368 405 0 378 4 0 4 4 0 8 1 rwobjpl 40 12938 0 10482 26 0 26 26 0 8 0 pdppl 4096 818 0 756 94 14 80 80 0 8 18 pvpl 32 194652 0 186857 69 0 69 69 0 265 1 pmappl 216 405 0 378 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 365 0 14 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003454d0a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003454d0a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ae92542700, count: -3 ddb> machine ddbcpu 1 No such command ddb> trace copyout() at copyout+0x57 syscall(ffff80003454d0a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003454d0a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x5ae92542700, count: -3