uvm_fault(0xffffffff839d3278, 0xffff8000298a3400, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x52: repe stosq %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND memset() at memset+0x52 ffs_write(ffff80002a866c70) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd80705fbd98,ffff80002a866d08,23,fffffd8007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd80705fbd98,ffff80002a866e40,40,0,1,2d79f1669487c23c,2000,a,3e08) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:330 acct_process(ffff80002a736d00) at acct_process+0x7a2 sys/kern/kern_acct.c:245 exit1(ffff80002a736d00,43,0,1) at exit1+0x5c4 sys/kern/kern_exit.c:228 sys_exit(ffff80002a736d00,ffff80002a867070,ffff80002a866fc0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a867070) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a867070) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79a1ef0120a0, count: 6 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(0xffffffff839d3278, 0xffff8000298a3400, 0, 2) -> d ddb> trace memset() at memset+0x52 ffs_write(ffff80002a866c70) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd80705fbd98,ffff80002a866d08,23,fffffd8007ffd7b8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd80705fbd98,ffff80002a866e40,40,0,1,2d79f1669487c23c,2000,a,3e08) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:330 acct_process(ffff80002a736d00) at acct_process+0x7a2 sys/kern/kern_acct.c:245 exit1(ffff80002a736d00,43,0,1) at exit1+0x5c4 sys/kern/kern_exit.c:228 sys_exit(ffff80002a736d00,ffff80002a867070,ffff80002a866fc0) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002a867070) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a867070) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x79a1ef0120a0, count: -9 ddb> show registers rdi 0xffff8000298a3400 rsi 0 rbp 0xffff80002a866b90 rbx 0x5400 __ALIGN_SIZE+0x4400 rdx 0 rcx 0x80 rax 0 r8 0x400 r9 0xffff80002a866af0 r10 0xd794f72e98c5c86a r11 0xffff8000298a3400 r12 0x1400 __ALIGN_SIZE+0x400 r13 0x1800 __ALIGN_SIZE+0x800 r14 0xfffffd80705fbd98 r15 0x1 rip 0xffffffff81f43be2 memset+0x52 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a866988 ss 0x10 memset+0x52: repe stosq %es:(%rdi) ddb> show proc PROC (syz-executor) tid=137790 pid=85442 tcnt=0 stat=onproc flags process=a proc=2000 runpri=50, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a736008,0xffff80002a737240 process=0xffff80002a79df90 user=0xffff80002a862000, vmspace=0xfffffd8070bb2cf8 estcpu=36, cpticks=14, pctcpu=0.1, user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 17892 353428 26242 0 2 0 syz-executor 17892 273366 26242 0 2 0x4000000 syz-executor 859 195991 84942 0 2 0 syz-executor 859 424959 84942 0 3 0x4000080 kqread syz-executor 859 97125 84942 0 2 0x4000000 syz-executor 54125 245296 421 0 2 0 syz-executor 54125 480667 421 0 3 0x4000080 fsleep syz-executor 73 407790 18161 0 2 0 syz-executor 73 500624 18161 0 3 0x4000080 fsleep syz-executor 73 269210 18161 0 3 0x4000080 fsleep syz-executor 78107 99365 6314 0 2 0 syz-executor 78107 294081 6314 0 3 0x4000080 fsleep syz-executor 24705 373930 3012 0 2 0 syz-executor 24705 512079 3012 0 3 0x4000080 fsleep syz-executor 24705 455554 3012 0 3 0x4000080 fsleep syz-executor 54435 473761 0 0 3 0x14200 acct acct 37006 377340 0 0 3 0x14280 nfsidl nfsio 84432 238622 0 0 3 0x14280 nfsidl nfsio 31238 207443 0 0 3 0x14280 nfsidl nfsio 77571 27407 0 0 3 0x14280 nfsidl nfsio 58925 364372 0 0 3 0x14280 nfsidl nfsio 43192 271090 0 0 3 0x14280 nfsidl nfsio 61861 520628 0 0 3 0x14280 nfsidl nfsio 68007 139408 0 0 3 0x14280 nfsidl nfsio 97610 276246 0 0 3 0x14280 nfsidl nfsio 71694 473368 0 0 3 0x14280 nfsidl nfsio 31672 483184 0 0 3 0x14280 nfsidl nfsio 32823 96437 0 0 3 0x14280 nfsidl nfsio 65835 246477 0 0 3 0x14280 nfsidl nfsio 91516 107435 0 0 3 0x14280 nfsidl nfsio 32187 482667 0 0 3 0x14280 nfsidl nfsio 12797 24689 0 0 3 0x14280 nfsidl nfsio 19492 97336 0 0 3 0x14280 nfsidl nfsio 59321 351984 0 0 3 0x14280 nfsidl nfsio 81480 138859 0 0 3 0x14280 nfsidl nfsio 60951 254047 0 0 3 0x14280 nfsidl nfsio 3012 486564 20777 0 3 0x82 nanoslp syz-executor 25702 153348 1 0 3 0x80 ttyopn init 84942 330944 20777 0 2 0xc82 syz-executor 6314 232355 20777 0 3 0x82 nanoslp syz-executor 26242 90498 20777 0 2 0xc82 syz-executor 18161 320519 20777 0 3 0x82 nanoslp syz-executor 421 352307 20777 0 2 0xc82 syz-executor 20777 480116 1 0 3 0x82 wait syz-executor 63810 397531 0 0 2 0x14200 smr 84945 345709 0 0 2 0x14200 zerothread 90690 11293 0 0 3 0x14200 aiodoned aiodoned 73980 378808 0 0 3 0x14200 syncer update 64482 388992 0 0 3 0x14200 cleaner cleaner 31887 428269 0 0 3 0x14200 reaper reaper 90685 178325 0 0 3 0x14200 pgdaemon pagedaemon 62503 273364 0 0 3 0x14200 bored viomb 30018 452017 0 0 3 0x40014200 acpi0 acpi0 60563 506357 0 0 3 0x14200 bored softnet0 44335 133527 0 0 3 0x14200 smrbar systqmp 24732 505885 0 0 3 0x14200 bored systq 39676 506597 0 0 3 0x40014200 tmoslp softclock 77210 254022 0 0 3 0x40014200 idle0 1 374658 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 11026 12102K 12595K 166960K 13219 0 pcb 17 12K 12K 166960K 175 0 rtable 111 13K 17K 166960K 545 0 pf 30 13K 21K 166960K 227 0 ifaddr 21 3K 7K 166960K 104 0 ifgroup 34 1K 2K 166960K 161 0 sysctl 3 1K 9K 166960K 10 0 counters 29 17K 18K 166960K 90 0 ioctlops 0 0K 4K 166960K 176 0 iov 0 0K 12K 166960K 22 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1289 81K 82K 166960K 2086 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 20K 28K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 22 3K 3K 166960K 44 0 dirhash 12 2K 2K 166960K 60 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 14 53K 97K 166960K 1407 0 sigio 0 0K 0K 166960K 25 0 proc 11 17K 100K 166960K 609 0 subproc 63 3K 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 56 0 in_multi 34 2K 7K 166960K 182 0 ether_multi 1 0K 0K 166960K 21 0 mrt 0 0K 0K 166960K 44 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 437 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 121 78K 165K 166960K 13111 0 UVM aobj 6 2K 2K 166960K 6 0 pinsyscall 17 34K 96K 166960K 2574 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 54 0 NDP 7 0K 2K 166960K 71 0 temp 52 9106K 9180K 166960K 31570 0 kqueue 6 9K 30K 166960K 230 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 62 0 62 2 1 1 1 0 8 1 rtentry 136 160 0 124 4 0 4 4 0 8 0 unpcb 144 284 0 284 1 0 1 1 0 8 1 syncache 336 9 0 9 2 1 1 1 0 8 1 tcpcb 736 141 0 140 1 0 1 1 0 8 0 arp 96 24 0 17 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 3 0 0 1 0 1 1 0 8 0 inpcb 328 507 0 504 2 1 1 2 0 8 0 ip6q 72 1 0 0 1 0 1 1 0 8 0 ip6af 40 1 0 0 1 0 1 1 0 8 0 nd6 112 31 0 25 1 0 1 1 0 8 0 pkpcb 40 3 0 3 2 1 1 1 0 8 1 kcovpl 48 10 0 3 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1072 44 0 44 1 0 1 1 0 8 1 pppxif 1416 7 0 7 1 0 1 1 0 8 1 pfstscr 40 25 0 19 1 0 1 1 0 8 0 pfrktable 1344 13 0 12 1 0 1 1 0 8 0 pfsrclim 320 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 9 0 4 1 0 1 1 0 8 0 pftag 88 7 0 3 1 0 1 1 0 8 0 pfstitem 24 12 0 4 1 0 1 1 0 8 0 pfstkey 128 31 0 20 1 0 1 1 0 8 0 pfstate 384 16 0 11 1 0 1 1 0 8 0 pfrule 1360 32 0 31 1 0 1 1 0 8 0 rttmr 136 6 0 6 2 1 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 766 0 583 30 5 25 30 0 8 8 art_table 40 767 0 583 5 0 5 5 0 8 0 art_node 32 160 0 128 1 0 1 1 0 8 0 sysvmsgpl 40 9 0 1 1 0 1 1 0 8 0 semupl 112 5 0 5 2 1 1 1 0 8 1 semapl 72 37 0 17 1 0 1 1 0 8 0 shmpl 112 3 0 0 1 0 1 1 0 8 0 dirhash 1024 49 0 32 3 0 3 3 0 8 0 dino2pl 256 3662 0 2204 92 0 92 92 0 8 0 ffsino 256 3662 0 2204 92 0 92 92 0 8 0 nchpl 144 5275 0 3578 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 0 1 1 0 8 1 vnodes 216 4098 0 0 228 0 228 228 0 8 0 namei 1024 14641 0 14641 2 1 1 1 0 8 1 pfiaddrpl 120 3 0 3 1 0 1 1 0 8 1 kstatmem 264 99 0 84 2 0 2 2 0 8 0 scsiplug 72 12 0 12 2 1 1 1 0 8 1 scxspl 216 19848 0 19848 9 7 2 8 1 8 2 plimitpl 152 210 0 200 1 0 1 1 0 8 0 sigapl 424 1726 0 1674 8 1 7 7 0 8 0 knotepl 120 49944 0 49922 29 20 9 23 0 8 7 kqueuepl 184 244 0 240 1 0 1 1 0 8 0 pipepl 304 146 0 119 3 0 3 3 0 8 0 fdescpl 448 1690 0 1673 5 1 4 5 0 8 0 filepl 120 5504 0 5357 7 0 7 7 0 8 0 lockfpl 104 341 0 339 2 1 1 1 0 8 0 lockfspl 48 144 0 142 2 1 1 1 0 8 0 sessionpl 144 65 0 63 1 0 1 1 0 8 0 pgrppl 48 77 0 67 1 0 1 1 0 8 0 ucredpl 104 1347 0 1343 1 0 1 1 0 8 0 zombiepl 144 1676 0 1674 2 1 1 1 0 8 0 processpl 1152 1726 0 1674 4 0 4 4 0 8 0 procpl 664 3152 0 3091 8 2 6 6 0 8 0 sosppl 176 10 0 10 1 0 1 1 0 8 1 sockpl 552 865 0 862 3 0 3 3 0 8 2 mcl64k 65536 523 0 523 2 1 1 1 0