uvm_fault(0xfffffd8068dfd7b8, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at _copyin+0x57: repe movsq (%rsi),%es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *231418 42971 0 0 0x4000000 0 syz-executor 264540 64214 0 0x2 0 1 syz-executor _copyin() at _copyin+0x57 syscall(ffff8000333d8480) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000333d8480) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x16e4d0e43e0, 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(0xfffffd8068dfd7b8, 0x0, 0, 1) -> e ddb{0}> trace _copyin() at _copyin+0x57 syscall(ffff8000333d8480) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000333d8480) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x16e4d0e43e0, count: -3 ddb{0}> show registers rdi 0xffff8000333d82a0 rsi 0 rbp 0xffff8000333d83a0 rbx 0xffff8000333d8480 rdx 0x10 rcx 0x2 rax 0x10 r8 0x7f7fffffc000 r9 0 r10 0x5ab94d498e386a2d r11 0xffffffff812d8d00 copy_fault r12 0xffff8000333d82a0 r13 0x10 r14 0 r15 0xfffffd8069b0bbf8 rip 0xffffffff812d8cb7 _copyin+0x57 cs 0x8 rflags 0x50202 acpi_pdirpa+0x3c073 rsp 0xffff8000333d8290 ss 0x10 _copyin+0x57: repe movsq (%rsi),%es:(%rdi) ddb{0}> show proc PROC (syz-executor) tid=231418 pid=42971 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000fffe7210,0xffff8000fffe79d0 process=0xffff8000fffe3090 user=0xffff8000333d3000, vmspace=0xfffffd8068dfd7b8 estcpu=36, cpticks=3, pctcpu=0.0, user=0, sys=3, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 80176 357728 44133 0 2 0 syz-executor 80176 136867 44133 0 3 0x4000080 fsleep syz-executor 80176 245131 44133 0 3 0x4000080 fsleep syz-executor 98731 319888 26658 0 2 0 syz-executor 98731 156251 26658 0 3 0x4000080 fsleep syz-executor 84165 141208 59371 0 2 0 syz-executor 84165 315050 59371 0 3 0x4000080 fsleep syz-executor 42971 465589 46473 0 2 0 syz-executor *42971 231418 46473 0 7 0x4000000 syz-executor 14083 250481 3587 0 3 0x80 nanoslp syz-executor 14083 205421 3587 0 3 0x4000080 kqsel syz-executor 14083 373482 3587 0 3 0x4000080 fsleep syz-executor 28023 20291 80202 0 2 0 syz-executor 28023 8807 80202 0 3 0x4000080 fsleep syz-executor 6070 443100 99497 0 2 0 syz-executor 6070 28776 99497 0 3 0x4000080 fsleep syz-executor 64214 264540 27466 0 7 0x2 syz-executor 26658 186184 27466 0 2 0xc82 syz-executor 58012 77577 1 0 3 0x100083 ttyin getty 25091 250888 0 0 3 0x14200 bored sosplice 3587 237167 27466 0 3 0x82 nanoslp syz-executor 59371 134211 27466 0 3 0x82 nanoslp syz-executor 99497 405037 27466 0 3 0x82 nanoslp syz-executor 44133 99890 27466 0 2 0xc82 syz-executor 46473 212011 27466 0 2 0xc82 syz-executor 80202 321838 27466 0 3 0x82 nanoslp syz-executor 27466 172802 62397 0 3 0x82 kqread syz-executor 62397 518964 90491 0 3 0x10008a sigsusp ksh 90491 482514 1280 0 3 0x98 kqread sshd-session 1280 350605 98849 0 3 0x92 kqread sshd-session 98849 126386 1 0 3 0x88 kqread sshd 56192 43968 81107 74 3 0x1100092 bpf pflogd 81107 51019 1 0 3 0x80 sbwait pflogd 78768 366317 99097 73 3 0x1100090 kqread syslogd 99097 42769 1 0 3 0x100082 sbwait syslogd 82605 38556 1 0 3 0x100080 kqread resolvd 67850 347519 10821 77 3 0x100092 kqread dhcpleased 79957 367350 10821 77 3 0x100092 kqread dhcpleased 10821 349119 1 0 3 0x80 kqread dhcpleased 19692 443609 0 0 3 0x14200 bored smr 9617 498846 0 0 2 0x14200 zerothread 76310 448123 0 0 3 0x14200 aiodoned aiodoned 55503 74556 0 0 3 0x14200 syncer update 50530 163823 0 0 3 0x14200 cleaner cleaner 90777 265243 0 0 3 0x14200 reaper reaper 35858 519403 0 0 3 0x14200 pgdaemon pagedaemon 51553 293025 0 0 3 0x14200 bored viomb 60640 472222 0 0 3 0x40014200 acpi0 acpi0 2306 296852 0 0 3 0x40014200 idle1 27103 510348 0 0 3 0x14200 bored softnet3 33521 279160 0 0 3 0x14200 bored softnet2 22850 66022 0 0 3 0x14200 bored softnet1 45157 476772 0 0 2 0x14200 softnet0 91297 137045 0 0 3 0x14200 bored systqmp 66084 212663 0 0 3 0x14200 bored systq 95802 123582 0 0 3 0x14200 tmoslp softclockmp 14613 102455 0 0 2 0x40014200 softclock 42161 116944 0 0 3 0x40014200 idle0 1 8962 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 6070 (syz-executor) thread 0xffff80003c434560 (443100) Process 64214 (syz-executor) thread 0xffff8000ffff2ce0 (264540) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10274 11090K 11774K 166960K 13672 0 pcb 51 16K 17K 166960K 463 0 rtable 162 7K 8K 166960K 652 0 pf 35 17K 67485K 166960K 148 0 ifaddr 36 6K 8K 166960K 108 0 ifgroup 52 2K 2K 166960K 191 0 sysctl 4 1K 9K 166960K 21 0 counters 66 36K 37K 166960K 198 0 ioctlops 0 0K 4K 166960K 1631 0 iov 0 0K 16K 166960K 102 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1455 92K 92K 166960K 2851 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 5K 9K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 69 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 61K 93K 166960K 1329 0 sigio 0 0K 0K 166960K 26 0 proc 73 91K 128K 166960K 734 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 0 0K 0K 166960K 149 0 in_multi 76 5K 7K 166960K 160 0 ether_multi 1 0K 0K 166960K 4 0 mrt 0 0K 0K 166960K 9 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 552 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 252 168K 186K 166960K 14087 0 UVM aobj 61 4K 4K 166960K 61 0 pinsyscall 42 84K 104K 166960K 2509 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 48 0 NDP 11 0K 2K 166960K 78 0 temp 79 8684K 8760K 166960K 73174 0 kqueue 14 22K 30K 166960K 254 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 141 0 137 2 1 1 2 0 8 0 rtentry 176 196 0 131 5 0 5 5 0 8 0 unpcb 144 1011 0 991 5 4 1 4 0 8 0 syncache 336 7 0 7 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 736 515 0 510 16 9 7 7 0 8 6 arp 128 20 0 11 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 328 1640 0 1564 23 13 10 12 0 8 3 nd6 144 33 0 21 1 0 1 1 0 8 0 pkpcb 40 11 0 11 2 1 1 1 0 8 1 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 4 0 4 1 1 0 1 0 8 0 ppxss 1192 46 0 46 2 1 1 1 0 8 1 pppxif 1504 3 0 3 1 1 0 1 0 8 0 pffrag 232 7 0 2 1 0 1 1 0 482 0 pffrnode 88 6 0 1 1 0 1 1 0 8 0 pffrent 40 14 0 9 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 pfstitem 24 79 0 30 1 0 1 1 0 8 0 pfstkey 128 79 0 30 2 0 2 2 0 8 0 pfstate 384 78 0 30 6 0 6 6 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 rttmr 136 2 0 2 1 1 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 707 0 371 34 8 26 30 0 8 0 art_table 40 710 0 371 5 0 5 5 0 8 0 art_node 32 194 0 139 1 0 1 1 0 8 0 sysvmsgpl 40 1 0 0 1 0 1 1 0 8 0 semapl 112 67 0 57 1 0 1 1 0 8 0 shmpl 112 58 0 0 2 0 2 2 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3899 0 2388 95 0 95 95 0 8 0 ffsino 288 3899 0 2388 109 0 109 109 0 8 0 nchpl 144 5730 0 4022 64 0 64 64 0 8 0 rtmask 32 10 0 10 4 3 1 1 0 8 1 uvmvnodes 80 4919 0 0 101 0 101 101 0 8 0 vnodes 216 4919 0 0 274 0 274 274 0 8 0 namei 1024 20940 0 20940 2 1 1 2 0 8 1 percpumem 16 114 0 66 1 0 1 1 0 8 0 kstatmem 264 112 0 88 2 0 2 2 0 8 0 scsiplug 72 5 0 5 2 2 0 1 0 8 0 scxspl 216 29830 0 29830 10 8 2 7 1 8 2 plimitpl 152 339 0 321 1 0 1 1 0 8 0 sigapl 424 1649 0 1599 10 1 9 9 0 8 1 knotepl 120 509 0 0 16 0 16 16 0 8 0 kqueuepl 224 482 0 466 7 6 1 5 0 8 0 pipepl 336 373 0 346 15 12 3 13 0 8 0 fdescpl 520 1608 0 1577 3 0 3 3 0 8 0 filepl 160 11823 0 11495 29 14 15 22 0 8 1 lockfpl 104 1060 0 1023 4 2 2 2 0 8 0 lockfspl 48 452 0 415 1 0 1 1 0 8 0 sessionpl 144 30 0 21 1 0 1 1 0 8 0 pgrppl 48 157 0 140 1 0 1 1 0 8 0 ucredpl 104 1693 0 1680 1 0 1 1 0 8 0 zombiepl 144 2016 0 2016 1 0 1 1 0 8 1 processpl 1240 1649 0 1599 6 0 6 6 0 8 0 procpl 656 3742 0 3683 9 1 8 8 0 8 2 sosppl 168 7 0 7 4 3 1 1 0 8 1 sockpl 728 2834 0 2734 27 15 12 15 0 8 2 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 114 0 0 14 0 14 14 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 100 0 0 13 0 13 13 0 8 0 mtagpl 96 154 0 0 4 0 4 4 0 8 0 mbufpl 256 415 0 0 26 0 26 26 0 8 0 bufpl 280 13591 0 7449 440 1 439 440 0 8 0 anonpl 32 14949 0 0 122 1 121 121 0 246 0 amapchunkpl 152 47067 0 46479 41 12 29 32 0 158 2 amappl16 200 6108 0 6039 65 49 16 27 0 8 8 amappl15 192 8 0 8 3 3 0 1 0 8 0 amappl14 184 123 0 111 1 0 1 1 0 8 0 amappl13 176 8 0 8 2 2 0 1 0 8 0 amappl12 168 2301 0 2270 3 1 2 2 0 8 0 amappl11 160 65 0 51 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 252 0 251 1 0 1 1 0 8 0 amappl8 136 47 0 44 1 0 1 1 0 8 0 amappl7 128 117 0 105 1 0 1 1 0 8 0 amappl6 120 211 0 208 1 0 1 1 0 8 0 amappl5 112 149 0 139 1 0 1 1 0 8 0 amappl4 104 319 0 299 1 0 1 1 0 8 0 amappl3 96 9420 0 9305 5 1 4 4 0 8 0 amappl2 88 714 0 651 2 0 2 2 0 8 0 amappl1 80 14407 0 13797 15 0 15 15 0 8 0 amappl 88 13111 0 12936 5 0 5 5 0 92 0 dma8192 8192 1 0 1 1 1 0 1 0 8 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 2 0 1 0 8 0 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 60 0 0 2 0 2 2 0 8 0 uaddrrnd 24 1608 0 1577 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1608 0 1577 1 0 1 1 0 8 0 vmmpekpl 168 15304 0 15263 3 0 3 3 0 8 0 vmmpepl 168 107930 0 105886 126 19 107 112 0 357 5 vmsppl 480 1607 0 1577 8 3 5 5 0 8 0 rwobjpl 72 35597 0 29635 115 4 111 111 0 8 0 pdppl 4096 3224 0 3154 118 46 72 86 0 8 2 pvpl 32 21939 0 0 180 3 177 177 0 265 0 pmappl 256 1607 0 1577 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 462 0 83 12 0 12 12 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace _copyin() at _copyin+0x57 syscall(ffff8000333d8480) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000333d8480) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x16e4d0e43e0, count: -3 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299ddff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x44 sys/dev/kcov.c:159 __mp_acquire_count(ffffffff838f4ed8,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2da sys/kern/kern_synch.c:366 biowait(fffffd8062888230) at biowait+0xc1 sys/kern/vfs_bio.c:1242 bwrite(fffffd8062888230) at bwrite+0x2e5 sys/kern/vfs_bio.c:754 ffs_update(fffffd8074f5c000,1) at ffs_update+0x34f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd8074f5c000,0,4,fffffd80097fb888) at ffs_truncate+0xcb6 sys/ufs/ffs/ffs_inode.c:-1 ufs_rmdir(ffff80003c4f03d8) at ufs_rmdir+0x377 sys/ufs/ufs/ufs_vnops.c:1265 VOP_RMDIR(fffffd80615fbb58,fffffd80655e52d0,ffff80003c4f04b8) at VOP_RMDIR+0x19a sys/kern/vfs_vops.c:413 dounlinkat(ffff8000ffff2ce0,ffffff9c,7bda7a4cf3a0,8) at dounlinkat+0x2e0 sys/kern/vfs_syscalls.c:1897 syscall(ffff80003c4f0630) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4f0630) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 end trace frame: 0xffff80003c4f06b0, count: 0 ddb{1}> trace x86_ipi_db(ffff8000299ddff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x44 sys/dev/kcov.c:159 __mp_acquire_count(ffffffff838f4ed8,1) at __mp_acquire_count+0x58 sys/kern/kern_lock.c:-1 sleep_finish(ffffffffffffffff,1) at sleep_finish+0x2da sys/kern/kern_synch.c:366 biowait(fffffd8062888230) at biowait+0xc1 sys/kern/vfs_bio.c:1242 bwrite(fffffd8062888230) at bwrite+0x2e5 sys/kern/vfs_bio.c:754 ffs_update(fffffd8074f5c000,1) at ffs_update+0x34f sys/ufs/ffs/ffs_inode.c:111 ffs_truncate(fffffd8074f5c000,0,4,fffffd80097fb888) at ffs_truncate+0xcb6 sys/ufs/ffs/ffs_inode.c:-1 ufs_rmdir(ffff80003c4f03d8) at ufs_rmdir+0x377 sys/ufs/ufs/ufs_vnops.c:1265 VOP_RMDIR(fffffd80615fbb58,fffffd80655e52d0,ffff80003c4f04b8) at VOP_RMDIR+0x19a sys/kern/vfs_vops.c:413 dounlinkat(ffff8000ffff2ce0,ffffff9c,7bda7a4cf3a0,8) at dounlinkat+0x2e0 sys/kern/vfs_syscalls.c:1897 syscall(ffff80003c4f0630) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4f0630) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:748 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7bda7a4cf390, count: -15