uvm_fault(0xffffffff83aacff0, 0xffff8000215621ad, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x49: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND memset() at memset+0x49 ffs_write(ffff80002f0aee10) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffa807b9d3058,ffff80002f0aeea8,23,fffffa8007ffd820) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffa807b9d3058,ffff80002f0aefe0,40,0,1,401ec39247728bd1,0,1008,40) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:330 acct_process(ffff80002a766010) at acct_process+0x7a2 sys/kern/kern_acct.c:246 exit1(ffff80002a766010,b,0,1) at exit1+0x5e3 sys/kern/kern_exit.c:228 sys_exit(ffff80002a766010,ffff80002f0af210,ffff80002f0af160) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0af210) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0af210) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73cf9d4a4cf0, 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(0xffffffff83aacff0, 0xffff8000215621ad, 0, 2) -> d ddb> show kasan No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002f0aee10) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffa807b9d3058,ffff80002f0aeea8,23,fffffa8007ffd820) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffa807b9d3058,ffff80002f0aefe0,40,0,1,401ec39247728bd1,0,1008,40) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:330 acct_process(ffff80002a766010) at acct_process+0x7a2 sys/kern/kern_acct.c:246 exit1(ffff80002a766010,b,0,1) at exit1+0x5e3 sys/kern/kern_exit.c:228 sys_exit(ffff80002a766010,ffff80002f0af210,ffff80002f0af160) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0af210) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0af210) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73cf9d4a4cf0, count: -9 ddb> show registers rdi 0xffff8000215621ad rsi 0 rbp 0xffff80002f0aed30 rbx 0x81ad __ALIGN_SIZE+0x71ad rdx 0x3 rcx 0x3 rax 0 r8 0x650 r9 0xffff80002f0aec90 r10 0x2757fac79e3a2eaf r11 0xffff8000215621ad r12 0x1ad r13 0x800 r14 0xfffffa807b9d3058 r15 0x1 rip 0xffffffff82c0b559 memset+0x49 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80002f0aeb28 ss 0x10 memset+0x49: repe stosb %es:(%rdi) ddb> show proc PROC (syz-executor) tid=283659 pid=11858 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a766010 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000314b7cb0,0xffff80002f0b07f0 process=0xffff80002a744008 user=0xffff80002f0aa000, vmspace=0xfffffa800c9d3d08 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 13676 500083 21064 0 2 0 0 syz-executor 13676 380796 21064 0 2 0 0x4000000 syz-executor 38787 467926 35298 0 2 0 0xc80 syz-executor 38787 17348 35298 0 3 0 0x4000080 kqread syz-executor 38787 107111 35298 0 3 0 0x4000080 fsleep syz-executor 75487 152098 13565 0 2 0 0xc80 syz-executor 75487 5731 13565 0 3 0 0x4000080 fifor syz-executor 75487 347445 13565 0 3 0 0x4000080 fifor syz-executor 75487 45333 13565 0 3 0 0x4000080 fifor syz-executor 75487 67143 13565 0 3 0 0x4000080 fsleep syz-executor 59442 100175 87506 0 3 0x10 0x80 nanoslp syz-executor 59442 221479 87506 0 3 0x10 0x4000080 kqsel syz-executor 59442 21833 87506 0 3 0x10 0x4000080 fsleep syz-executor 59442 381034 87506 0 3 0x10 0x4000080 fsleep syz-executor 28436 63701 0 0 3 0x14000 0x280 nfsidl nfsio 66042 339392 0 0 3 0x14000 0x280 nfsidl nfsio 75287 515347 0 0 3 0x14000 0x280 nfsidl nfsio 32766 350959 0 0 3 0x14000 0x280 nfsidl nfsio 99177 142244 0 0 3 0x14000 0x280 nfsidl nfsio 94665 407413 0 0 3 0x14000 0x280 nfsidl nfsio 13598 359931 0 0 3 0x14000 0x280 nfsidl nfsio 88142 201163 0 0 3 0x14000 0x280 nfsidl nfsio 73004 307252 0 0 3 0x14000 0x280 nfsidl nfsio 3032 238932 0 0 3 0x14000 0x280 nfsidl nfsio 14720 397431 0 0 3 0x14000 0x280 nfsidl nfsio 38436 262858 0 0 3 0x14000 0x280 nfsidl nfsio 66602 26910 0 0 3 0x14000 0x280 nfsidl nfsio 62491 265129 0 0 3 0x14000 0x280 nfsidl nfsio 596 435409 0 0 3 0x14000 0x280 nfsidl nfsio 42702 497506 0 0 3 0x14000 0x280 nfsidl nfsio 64901 174591 0 0 3 0x14000 0x280 nfsidl nfsio 92878 219277 0 0 3 0x14000 0x280 nfsidl nfsio 20929 223476 0 0 3 0x14000 0x280 nfsidl nfsio 95443 509445 0 0 3 0x14000 0x280 nfsidl nfsio 44111 367507 1 0 3 0 0x80 nanoslp init 95184 474829 0 0 3 0x14000 0x200 acct acct 13565 81956 81008 0 3 0x2 0x80 nanoslp syz-executor 87506 14918 81008 0 3 0x2 0x80 nanoslp syz-executor 35298 416292 81008 0 2 0x2 0xc80 syz-executor 21079 297967 81008 0 3 0x2 0x80 wait syz-executor 82418 183038 81008 0 2 0x2 0xc80 syz-executor 99611 13712 81008 0 3 0x2 0x80 wait syz-executor 21064 193459 81008 0 2 0x2 0xc80 syz-executor 3790 262255 81008 0 2 0x2 0xc80 syz-executor 81008 94877 1 0 3 0x2 0x80 kqread syz-executor 73526 27232 0 0 3 0x14000 0x200 bored smr 44023 324909 0 0 2 0x14000 0x200 zerothread 11153 379581 0 0 3 0x14000 0x200 aiodoned aiodoned 85611 89568 0 0 3 0x14000 0x200 syncer update 13518 261315 0 0 3 0x14000 0x200 cleaner cleaner 5652 457955 0 0 3 0x14000 0x200 reaper reaper 27666 253527 0 0 3 0x14000 0x200 pgdaemon pagedaemon 84520 377352 0 0 3 0x14000 0x200 bored viomb 86115 112169 0 0 3 0x14000 0x40000200 acpi0 acpi0 32413 268595 0 0 3 0x14000 0x200 bored softnet0 51103 128615 0 0 3 0x14000 0x200 smrbar systqmp 21990 49868 0 0 3 0x14000 0x200 bored systq 12868 394674 0 0 3 0x14000 0x40000200 tmoslp softclock 30351 470947 0 0 3 0x14000 0x40000200 idle0 1 383532 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11082 12328K 12671K 166960K 13182 0 pcb 19 14K 15K 166960K 141 0 rtable 262 9K 10K 166960K 436 0 pf 32 13K 17K 166960K 57 0 ifaddr 42 7K 8K 166960K 57 0 ifgroup 50 2K 2K 166960K 70 0 sysctl 4 1K 9K 166960K 12 0 counters 33 17K 18K 166960K 49 0 ioctlops 0 0K 4K 166960K 333 0 iov 0 0K 16K 166960K 84 0 mount 1 1K 1K 166960K 1 0 log 2 0K 8K 166960K 7 0 vnodes 1396 88K 88K 166960K 1990 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 14 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 52 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 61K 236K 166960K 725 0 sigio 0 0K 0K 166960K 7 0 proc 11 17K 108K 166960K 594 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 58 0 in_multi 99 6K 7K 166960K 125 0 ether_multi 1 0K 0K 166960K 8 0 mrt 1 0K 0K 166960K 20 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 417 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 149 78K 164K 166960K 7773 0 UVM aobj 48 2K 2K 166960K 50 0 pinsyscall 19 38K 92K 166960K 1817 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 20 0 NDP 11 0K 1K 166960K 37 0 temp 49 9113K 9176K 166960K 20947 0 kqueue 5 8K 34K 166960K 188 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 144 0 144 2 0 2 2 0 8 2 rtentry 136 119 0 9 4 0 4 4 0 8 0 unpcb 144 338 0 335 4 0 4 4 0 8 3 syncache 336 11 0 11 2 1 1 1 0 8 1 tcpqe 32 3 0 3 1 0 1 1 0 8 1 tcpcb 736 207 0 202 7 0 7 7 0 8 5 arp 96 18 0 0 1 0 1 1 0 8 0 ipq 40 6 0 2 1 0 1 1 0 8 0 ipqe 40 9 0 5 1 0 1 1 0 8 0 inpcb 328 773 0 765 17 10 7 12 0 8 5 ip6q 72 3 0 1 1 0 1 1 0 8 0 ip6af 40 4 0 2 1 0 1 1 0 8 0 nd6 112 27 0 3 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 16 0 16 2 1 1 1 0 8 1 pfstscr 40 2 0 0 1 0 1 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 0 1 0 1 1 0 8 0 pfstate 384 2 0 0 1 0 1 1 0 8 0 pfrule 1360 1 0 1 1 1 0 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 475 0 18 30 0 30 30 0 8 0 art_table 40 477 0 18 5 0 5 5 0 8 0 art_node 32 117 0 12 1 0 1 1 0 8 0 sysvmsgpl 40 7 0 3 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 72 46 0 36 1 0 1 1 0 8 0 shmpl 112 47 0 2 2 0 2 2 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2715 0 1254 92 0 92 92 0 8 0 ffsino 256 2715 0 1254 92 0 92 92 0 8 0 nchpl 144 3770 0 2069 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 3150 0 0 175 0 175 175 0 8 0 namei 1024 13109 0 13109 2 1 1 1 0 8 1 kstatmem 264 43 0 20 2 0 2 2 0 8 0 scsiplug 72 3 0 3 2 1 1 1 0 8 1 scxspl 216 18630 0 18630 10 2 8 8 1 8 8 plimitpl 152 302 0 291 1 0 1 1 0 8 0 sigapl 424 1030 0 976 8 1 7 7 0 8 0 knotepl 120 28547 0 28325 22 12 10 17 0 8 3 kqueuepl 184 247 0 239 2 0 2 2 0 8 1 pipepl 304 156 0 129 3 0 3 3 0 8 0 fdescpl 448 996 0 977 5 1 4 5 0 8 0 filepl 120 6750 0 6571 15 4 11 13 0 8 3 lockfpl 104 333 0 333 2 0 2 2 0 8 2 lockfspl 48 83 0 83 1 0 1 1 0 8 1 sessionpl 144 79 0 77 1 0 1 1 0 8 0 pgrppl 48 88 0 78 1 0 1 1 0 8 0 ucredpl 104 1069 0 1063 1 0 1 1 0 8 0 zombiepl 144 980 0 976 1 0 1 1 0 8 0 processpl 1152 1030 0 976 4 0 4 4 0 8 0 procpl 664 1929 0 1865 6 0 6 6 0 8 0 sosppl 176 4 0 4 2 1 1 1 0 8 1 sockpl 552 1293 0 1282 17 9 8 12 0 8 5 mcl64k 65536 173 0 173 1 0 1 1 0 8 1 mcl16k 16384 6 0 6 2 1 1 1 0 8 1 mcl12k 12288 3 0 3 1 1 0 1 0 8 0 mcl8k 8192 12 0 12 2 1 1 1 0 8 1 mcl4k 4096 3314 0 3263 14 6 8 13 0 8 1 mcl2k 2048 556 0 550 2 0 2 2 0 8 1 mextrefs 64 274 0 273 2 1 1 1 0 8 0 mtagpl 96 9 0 6 1 0 1 1 0 8 0 mbufpl 256 10597 0 10398 24 5 19 19 0 8 5 bufpl 272 6967 0 751 415 0 415 415 0 8 0 anonpl 24 157045 0 155068 81 17 64 64 0 187 24 amapchunkpl 152 26924 0 26507 37 6 31 31 0 158 13 amappl16 200 2825 0 2780 40 25 15 26 0 8 8 amappl15 192 5 0 5 1 1 0 1 0 8 0 amappl14 184 407 0 407 1 0 1 1 0 8 1 amappl13 176 115 0 115 1 0 1 1 0 8 1 amappl12 168 1232 0 1214 2 0 2 2 0 8 0 amappl11 160 43 0 43 1 1 0 1 0 8 0 amappl10 152 57 0 57 1 0 1 1 0 8 1 amappl9 144 270 0 270 1 0 1 1 0 8 1 amappl8 136 97 0 96 1 0 1 1 0 8 0 amappl7 128 143 0 141 1 0 1 1 0 8 0 amappl6 120 165 0 165 1 0 1 1 0 8 1 amappl5 112 89 0 88 1 0 1 1 0 8 0 amappl4 104 265 0 262 1 0 1 1 0 8 0 amappl3 96 5189 0 5100 4 0 4 4 0 8 1 amappl2 88 532 0 522 2 0 2 2 0 8 0 amappl1 80 12681 0 12585 13 1 12 13 0 8 6 amappl 88 6997 0 6858 5 0 5 5 0 92 1 uvmvnodes 80 118 0 0 3 0 3 3 0 8 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 8 0 8 1 1 0 1 0 8 0 dma128 128 255 0 255 2 1 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 49 0 2 1 0 1 1 0 8 0 uaddrrnd 24 996 0 976 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 996 0 976 1 0 1 1 0 8 0 vmmpekpl 168 9491 0 9457 3 0 3 3 0 8 0 vmmpepl 168 69949 0 69030 101 12 89 93 0 357 38 vmsppl 368 995 0 976 4 1 3 4 0 8 0 rwobjpl 40 20908 0 20412 14 1 13 14 0 8 0 pdppl 4096 1998 0 1952 94 48 46 78 0 8 0 pvpl 32 433633 0 427999 150 32 118 129 0 265 27 pmappl 216 995 0 976 2 0 2 2 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 797 0 68 21 0 21 21 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002f0aee10) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffa807b9d3058,ffff80002f0aeea8,23,fffffa8007ffd820) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffa807b9d3058,ffff80002f0aefe0,40,0,1,401ec39247728bd1,0,1008,40) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:330 acct_process(ffff80002a766010) at acct_process+0x7a2 sys/kern/kern_acct.c:246 exit1(ffff80002a766010,b,0,1) at exit1+0x5e3 sys/kern/kern_exit.c:228 sys_exit(ffff80002a766010,ffff80002f0af210,ffff80002f0af160) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80002f0af210) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002f0af210) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x73cf9d4a4cf0, count: -9 ddb> machine ddbcpu 1 No such command ddb>