uvm_fault(0xffffffff82a04be0, 0xffff800009e50999, 0, 2) -> d kernel: page fault trap, code=0 Stopped at memset+0x45: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *516401 76724 0 0 0x4000001 0 syz-executor.0 memset() at memset+0x45 ffs_write(ffff80002b481560) at ffs_write+0x93c VOP_WRITE(fffffd8067b3c290,ffff80002b481610,3,fffffd807f7d75b0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800029a5d7b0,fffffd8067b3c290,fffffd807f7d75b0,ffff80002b4816e8,ffff80002b4816b0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:660 ktrsysret(ffff800029a5d7b0,141,0,ffff80002b4817f0) at ktrsysret+0x18b ktrwrite2 sys/kern/kern_ktrace.c:625 [inline] ktrsysret(ffff800029a5d7b0,141,0,ffff80002b4817f0) at ktrsysret+0x18b sys/kern/kern_ktrace.c:207 syscall(ffff80002b481860) at syscall+0x553 mi_syscall_return sys/sys/syscall_mi.h:130 [inline] syscall(ffff80002b481860) at syscall+0x553 sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8dbed2c5b0, count: 8 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(0xffffffff82a04be0, 0xffff800009e50999, 0, 2) -> d ddb> trace memset() at memset+0x45 ffs_write(ffff80002b481560) at ffs_write+0x93c VOP_WRITE(fffffd8067b3c290,ffff80002b481610,3,fffffd807f7d75b0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800029a5d7b0,fffffd8067b3c290,fffffd807f7d75b0,ffff80002b4816e8,ffff80002b4816b0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:660 ktrsysret(ffff800029a5d7b0,141,0,ffff80002b4817f0) at ktrsysret+0x18b ktrwrite2 sys/kern/kern_ktrace.c:625 [inline] ktrsysret(ffff800029a5d7b0,141,0,ffff80002b4817f0) at ktrsysret+0x18b sys/kern/kern_ktrace.c:207 syscall(ffff80002b481860) at syscall+0x553 mi_syscall_return sys/sys/syscall_mi.h:130 [inline] syscall(ffff80002b481860) at syscall+0x553 sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8dbed2c5b0, count: -7 ddb> show registers rdi 0xffff800009e50999 rsi 0 rbp 0xffff80002b481480 rbx 0x1 rdx 0x7 rcx 0x7 rax 0 r8 0x660 r9 0xffff80002b4813d8 r10 0xec322f199b0d2166 r11 0xffff800009e50999 r12 0xd999 __ALIGN_SIZE+0xc999 r13 0xfffffd805f4c74d8 r14 0x2000 __ALIGN_SIZE+0x1000 r15 0xfffffd805f4c74c0 rip 0xffffffff8230e325 memset+0x45 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff80002b481288 ss 0x10 memset+0x45: repe stosb %es:(%rdi) ddb> show proc PROC (syz-executor.0) pid=516401 stat=onproc flags process=0 proc=4000001 pri=84, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800029a5cfd0,0xffff800029a5c2c0 process=0xffff80002e8fd7b8 user=0xffff80002b47c000, vmspace=0xfffffd806b8eb670 estcpu=36, cpticks=10, pctcpu=0.0 user=0, sys=9, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 33671 292776 17999 0 2 0 syz-executor.2 10476 294876 68253 0 2 0 syz-executor.3 99391 82087 22669 0 2 0 syz-executor.6 99391 75941 22669 0 3 0x4000080 fsleep syz-executor.6 76724 13042 19600 0 2 0 syz-executor.0 76724 378496 19600 0 3 0x4000080 fsleep syz-executor.0 *76724 516401 19600 0 7 0x4000001 syz-executor.0 76724 397055 19600 0 2 0x4000000 syz-executor.0 88743 237010 6363 0 2 0 syz-executor.4 88743 483185 6363 0 3 0x4000080 fsleep syz-executor.4 81181 440932 18688 0 2 0 syz-executor.1 81181 404362 18688 0 3 0x4000080 fsleep syz-executor.1 89430 450589 0 0 3 0x14280 nfsidl nfsio 51538 488326 0 0 3 0x14280 nfsidl nfsio 11280 505785 0 0 3 0x14280 nfsidl nfsio 73576 320562 0 0 3 0x14280 nfsidl nfsio 74916 218996 0 0 3 0x14280 nfsidl nfsio 43700 245850 0 0 3 0x14280 nfsidl nfsio 27375 116525 0 0 3 0x14280 nfsidl nfsio 52170 37448 0 0 3 0x14280 nfsidl nfsio 78409 308493 0 0 3 0x14280 nfsidl nfsio 11296 519648 0 0 3 0x14280 nfsidl nfsio 41784 313378 0 0 3 0x14280 nfsidl nfsio 86391 160090 0 0 3 0x14280 nfsidl nfsio 32859 480301 0 0 3 0x14280 nfsidl nfsio 56487 461998 0 0 3 0x14280 nfsidl nfsio 53789 157826 0 0 3 0x14280 nfsidl nfsio 96960 520070 0 0 3 0x14280 nfsidl nfsio 39484 11401 0 0 3 0x14280 nfsidl nfsio 83333 129529 0 0 3 0x14280 nfsidl nfsio 1799 428522 0 0 3 0x14280 nfsidl nfsio 82454 143822 0 0 3 0x14280 nfsidl nfsio 22669 364027 83792 0 2 0x482 syz-executor.6 35075 112082 83792 0 2 0x2 syz-executor.7 6363 359307 83792 0 2 0x482 syz-executor.4 68253 35737 83792 0 2 0x2 syz-executor.3 17999 492057 83792 0 2 0x482 syz-executor.2 18688 49301 83792 0 2 0x482 syz-executor.1 81592 113603 83792 0 2 0x2 syz-executor.5 19600 205850 83792 0 2 0x482 syz-executor.0 83792 476386 43140 0 3 0x82 wait syz-fuzzer 83792 24859 43140 0 2 0x4000482 syz-fuzzer 83792 95958 43140 0 3 0x4000082 wait syz-fuzzer 83792 435655 43140 0 3 0x4000082 wait syz-fuzzer 83792 258111 43140 0 3 0x4000082 wait syz-fuzzer 83792 173758 43140 0 3 0x4000082 thrsleep syz-fuzzer 83792 506030 43140 0 3 0x4000082 thrsleep syz-fuzzer 83792 397487 43140 0 3 0x4000082 wait syz-fuzzer 83792 435723 43140 0 3 0x4000082 thrsleep syz-fuzzer 83792 234344 43140 0 3 0x4000082 wait syz-fuzzer 83792 305068 43140 0 3 0x4000082 wait syz-fuzzer 83792 199252 43140 0 3 0x4000082 wait syz-fuzzer 83792 4600 43140 0 2 0x4000482 syz-fuzzer 83792 69991 43140 0 3 0x4000082 thrsleep syz-fuzzer 43140 102714 84413 0 3 0x10008a sigsusp ksh 84413 285373 21253 0 3 0x9a kqread sshd 51827 158007 1 0 3 0x100083 ttyin getty 21253 434238 1 0 3 0x88 kqread sshd 6090 227170 14921 73 2 0x1100090 syslogd 14921 433985 1 0 3 0x100082 netio syslogd 32565 37161 1 0 3 0x100080 kqread resolvd 53731 221832 36722 77 3 0x100092 kqread dhcpleased 99778 9900 36722 77 3 0x100092 kqread dhcpleased 36722 231074 1 0 3 0x80 kqread dhcpleased 53938 107740 0 0 3 0x14200 bored smr 34262 467827 0 0 2 0x14200 zerothread 65834 512332 0 0 3 0x14200 aiodoned aiodoned 64940 402947 0 0 3 0x14200 syncer update 81351 238701 0 0 3 0x14200 cleaner cleaner 40274 330568 0 0 3 0x14200 reaper reaper 64566 160328 0 0 3 0x14200 pgdaemon pagedaemon 63743 468824 0 0 3 0x14200 bored viomb 93547 416957 0 0 3 0x40014200 acpi0 acpi0 86255 285579 0 0 3 0x14200 bored softnet 75441 414218 0 0 3 0x14200 bored softnet 86101 156693 0 0 3 0x14200 bored softnet 48914 142882 0 0 3 0x14200 bored softnet 33663 377380 0 0 3 0x14200 bored systqmp 47151 327258 0 0 3 0x14200 bored systq 14247 296596 0 0 2 0x40014200 softclock 84929 364254 0 0 3 0x40014200 idle0 1 246896 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 10177 6418K 6450K 78643K 16558 0 pcb 13 14K 16K 78643K 345 0 rtable 236 6K 6K 78643K 351 0 ifaddr 82 16K 16K 78643K 84 0 sysctl 2 0K 0K 78643K 2 0 counters 27 17K 17K 78643K 27 0 ioctlops 0 0K 2K 78643K 4378 0 iov 0 0K 4K 78643K 1593 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1324 83K 84K 78643K 17672 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 13K 78643K 352 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 1169 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 69K 78643K 51449 0 sigio 0 0K 0K 78643K 32 0 proc 55 58K 83K 78643K 450 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 6K 6K 78643K 99 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 2K 78643K 618 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 260 80K 81K 78643K 254239 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 11 0K 1K 78643K 27 0 temp 123 4722K 4786K 78643K 371665 0 kqueue 12 18K 18K 78643K 22 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 36 0 33 1 0 1 1 0 8 0 rtentry 112 112 0 1 4 0 4 4 0 8 0 unpcb 144 17026 0 17013 89 88 1 8 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpcb 768 1088 0 1084 30 29 1 11 0 8 0 arp 88 18 0 0 1 0 1 1 0 8 0 ipq 40 10 0 10 2 2 0 1 0 8 0 ipqe 40 199 0 199 2 2 0 1 0 8 0 inpcb 336 2879 0 2872 52 51 1 10 0 8 0 nd6 48 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 455 0 0 29 0 29 29 0 8 0 art_table 32 456 0 0 4 0 4 4 0 8 0 art_node 16 111 0 10 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 16 1 0 1 1 0 8 0 semapl 112 1167 0 1157 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 73512 0 71793 108 0 108 108 0 8 0 ffsino 240 73512 0 71793 102 0 102 102 0 8 0 nchpl 144 146998 0 145324 63 0 63 63 0 8 0 uvmvnodes 80 6585 0 0 135 0 135 135 0 8 0 vnodes 216 6585 0 0 366 0 366 366 0 8 0 namei 1024 416113 0 416113 18 17 1 2 0 8 1 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 347864 0 347864 13 12 1 8 0 8 1 plimitpl 152 23 0 8 1 0 1 1 0 8 0 sigapl 424 51756 0 51693 13 5 8 8 0 8 0 futexpl 64 301220 0 301216 1 0 1 1 0 8 0 knotepl 120 387070 0 386990 3 0 3 3 0 8 0 kqueuepl 184 926 0 918 15 14 1 4 0 8 0 pipepl 288 23949 0 23919 279 274 5 11 0 8 2 fdescpl 432 51720 0 51693 5 1 4 4 0 8 0 filepl 120 217874 0 217634 290 279 11 15 0 8 3 lockfpl 104 3719 0 3717 4 3 1 2 0 8 0 lockfspl 48 1212 0 1210 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 23 0 7 1 0 1 1 0 8 0 ucredpl 104 6359 0 6325 1 0 1 1 0 8 0 zombiepl 144 51693 0 51693 2 1 1 1 0 8 1 processpl 1000 51756 0 51693 10 1 9 9 0 8 0 procpl 672 114526 0 114444 23 15 8 9 0 8 0 sockpl 456 19941 0 19918 382 376 6 28 0 8 3 mcl64k 65536 1555 0 1555 76 76 0 1 0 8 0 mcl16k 16384 303 0 303 61 61 0 1 0 8 0 mcl12k 12288 985 0 985 74 73 1 1 0 8 1 mcl9k 9216 1234 0 1234 65 64 1 1 0 8 1 mcl8k 8192 2347 0 2347 81 80 1 1 0 8 1 mcl4k 4096 2758 0 2758 82 81 1 1 0 8 1 mcl2k2 2112 449 0 449 67 67 0 1 0 8 0 mcl2k 2048 96014 0 95958 58 50 8 15 0 8 0 mtagpl 96 36 0 36 2 2 0 1 0 8 0 mbufpl 256 392709 0 392566 76 63 13 26 0 8 0 bufpl 288 59699 0 53105 472 0 472 472 0 8 0 anonpl 24 8138242 0 8130320 89 35 54 54 0 188 0 amapchunkpl 152 735682 0 735195 81 59 22 22 0 158 1 amappl16 200 99705 0 99515 14 3 11 11 0 8 0 amappl15 192 12722 0 12711 1 0 1 1 0 8 0 amappl14 184 12732 0 12727 2 1 1 1 0 8 0 amappl13 176 13169 0 13159 1 0 1 1 0 8 0 amappl12 168 6 0 3 1 0 1 1 0 8 0 amappl11 160 39 0 28 1 0 1 1 0 8 0 amappl10 152 6287 0 6285 1 0 1 1 0 8 0 amappl9 144 7513 0 7503 1 0 1 1 0 8 0 amappl8 136 7730 0 7624 6 2 4 4 0 8 0 amappl7 128 6614 0 6598 1 0 1 1 0 8 0 amappl6 120 7110 0 7095 2 1 1 2 0 8 0 amappl5 112 39233 0 39223 1 0 1 1 0 8 0 amappl4 104 7361 0 7338 2 1 1 2 0 8 0 amappl3 96 154313 0 154261 2 0 2 2 0 8 0 amappl2 88 66438 0 66373 3 1 2 3 0 8 0 amappl1 80 1166183 0 1165486 22 6 16 21 0 8 0 amappl 88 253732 0 253597 4 0 4 4 0 92 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 6 0 6 1 1 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 51720 0 51693 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 51720 0 51693 1 0 1 1 0 8 0 vmmpekpl 168 355696 0 355643 3 0 3 3 0 8 0 vmmpepl 168 4708522 0 4706219 415 304 111 111 0 357 5 vmsppl 272 51719 0 51693 3 1 2 2 0 8 0 rwobjpl 24 1052996 0 1045003 49 0 49 49 0 8 0 pdppl 4096 103446 0 103386 1768 1704 64 66 0 8 4 pvpl 32 15716737 0 15703594 371 256 115 268 0 265 0 pmappl 216 51719 0 51693 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 3272 0 2460 24 0 24 24 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x45 ffs_write(ffff80002b481560) at ffs_write+0x93c VOP_WRITE(fffffd8067b3c290,ffff80002b481610,3,fffffd807f7d75b0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800029a5d7b0,fffffd8067b3c290,fffffd807f7d75b0,ffff80002b4816e8,ffff80002b4816b0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:660 ktrsysret(ffff800029a5d7b0,141,0,ffff80002b4817f0) at ktrsysret+0x18b ktrwrite2 sys/kern/kern_ktrace.c:625 [inline] ktrsysret(ffff800029a5d7b0,141,0,ffff80002b4817f0) at ktrsysret+0x18b sys/kern/kern_ktrace.c:207 syscall(ffff80002b481860) at syscall+0x553 mi_syscall_return sys/sys/syscall_mi.h:130 [inline] syscall(ffff80002b481860) at syscall+0x553 sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8dbed2c5b0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x45 ffs_write(ffff80002b481560) at ffs_write+0x93c VOP_WRITE(fffffd8067b3c290,ffff80002b481610,3,fffffd807f7d75b0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800029a5d7b0,fffffd8067b3c290,fffffd807f7d75b0,ffff80002b4816e8,ffff80002b4816b0) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:660 ktrsysret(ffff800029a5d7b0,141,0,ffff80002b4817f0) at ktrsysret+0x18b ktrwrite2 sys/kern/kern_ktrace.c:625 [inline] ktrsysret(ffff800029a5d7b0,141,0,ffff80002b4817f0) at ktrsysret+0x18b sys/kern/kern_ktrace.c:207 syscall(ffff80002b481860) at syscall+0x553 mi_syscall_return sys/sys/syscall_mi.h:130 [inline] syscall(ffff80002b481860) at syscall+0x553 sys/arch/amd64/amd64/trap.c:607 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8dbed2c5b0, count: -7