uvm_fault(0xffffffff82a8cae8, 0xffff80001a672f9d, 0, 2) -> d kernel: page fault trap, code=0 Stopped at memset+0x45: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *108947 54506 0 0x2 0x1 0 syz-executor.5 memset() at memset+0x45 ffs_write(ffff8000231bbbd0) at ffs_write+0x93c VOP_WRITE(fffffd807b37c378,ffff8000231bbc80,3,fffffd807f7d76e8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800029a242a8,fffffd807b37c378,fffffd807f7d76e8,ffff8000231bbd58,ffff8000231bbd20) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:660 ktrsyscall(ffff800029a242a8,b,20,ffff8000231bbe10) at ktrsyscall+0x2e3 ktrwrite sys/kern/kern_ktrace.c:603 [inline] ktrsyscall(ffff800029a242a8,b,20,ffff8000231bbe10) at ktrsyscall+0x2e3 sys/kern/kern_ktrace.c:183 syscall(ffff8000231bbee0) at syscall+0x326 mi_syscall sys/sys/syscall_mi.h:75 [inline] syscall(ffff8000231bbee0) at syscall+0x326 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe28e0, 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(0xffffffff82a8cae8, 0xffff80001a672f9d, 0, 2) -> d ddb> trace memset() at memset+0x45 ffs_write(ffff8000231bbbd0) at ffs_write+0x93c VOP_WRITE(fffffd807b37c378,ffff8000231bbc80,3,fffffd807f7d76e8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800029a242a8,fffffd807b37c378,fffffd807f7d76e8,ffff8000231bbd58,ffff8000231bbd20) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:660 ktrsyscall(ffff800029a242a8,b,20,ffff8000231bbe10) at ktrsyscall+0x2e3 ktrwrite sys/kern/kern_ktrace.c:603 [inline] ktrsyscall(ffff800029a242a8,b,20,ffff8000231bbe10) at ktrsyscall+0x2e3 sys/kern/kern_ktrace.c:183 syscall(ffff8000231bbee0) at syscall+0x326 mi_syscall sys/sys/syscall_mi.h:75 [inline] syscall(ffff8000231bbee0) at syscall+0x326 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe28e0, count: -7 ddb> show registers rdi 0xffff80001a672f9d rsi 0 rbp 0xffff8000231bbaf0 rbx 0x1 rdx 0x3 rcx 0x3 rax 0 r8 0x60 r9 0 r10 0x3c4f60c540e98688 r11 0xffff80001a672f9d r12 0x1ff9d acpi_pdirpa+0xbe05 r13 0xfffffd8071b85988 r14 0x4000 __ALIGN_SIZE+0x3000 r15 0xfffffd8071b85970 rip 0xffffffff824ea075 memset+0x45 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff8000231bb8f8 ss 0 memset+0x45: repe stosb %es:(%rdi) ddb> show proc PROC (syz-executor.5) pid=108947 stat=onproc flags process=2 proc=1 pri=17, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800029a25a48,0xffff800029a24d38 process=0xffff80002172db88 user=0xffff8000231b6000, vmspace=0xfffffd806d4eb9a0 estcpu=32, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 87807 220633 95507 0 2 0 syz-executor.3 87807 9015 95507 0 3 0x4000080 fsleep syz-executor.3 71049 384146 85582 0 2 0 syz-executor.1 71049 169647 85582 0 2 0x4000000 syz-executor.1 74643 412555 43585 0 2 0 syz-executor.0 74643 133314 43585 0 3 0x4000080 fsleep syz-executor.0 5031 449132 48028 0 2 0 syz-executor.6 5031 193587 48028 0 3 0x4000080 fsleep syz-executor.6 93869 259138 54506 0 2 0 syz-executor.5 93869 92584 54506 0 3 0x4000080 fsleep syz-executor.5 93869 48063 54506 0 3 0x4000080 fsleep syz-executor.5 54136 254126 99596 0 2 0 syz-executor.4 54136 173499 99596 0 3 0x4000080 fsleep syz-executor.4 31996 263628 41834 0 2 0 syz-executor.7 31996 22417 41834 0 2 0x4000000 syz-executor.7 8848 395614 35854 0 2 0x2 syz-executor.2 53860 8948 0 0 3 0x14200 acct acct 85582 425272 35854 0 3 0x82 nanoslp syz-executor.1 95507 340808 35854 0 3 0x82 nanoslp syz-executor.3 *54506 108947 35854 0 7 0x3 syz-executor.5 41834 144327 35854 0 3 0x82 nanoslp syz-executor.7 99596 463795 35854 0 3 0x82 nanoslp syz-executor.4 48028 415634 35854 0 3 0x82 nanoslp syz-executor.6 43585 224229 35854 0 3 0x82 nanoslp syz-executor.0 940 187896 0 0 3 0x14280 nfsidl nfsio 69824 255729 0 0 3 0x14280 nfsidl nfsio 32961 380863 0 0 3 0x14280 nfsidl nfsio 12731 345836 0 0 3 0x14280 nfsidl nfsio 99784 491970 0 0 3 0x14280 nfsidl nfsio 96316 244906 0 0 3 0x14280 nfsidl nfsio 24866 103073 0 0 3 0x14280 nfsidl nfsio 72893 98302 0 0 3 0x14280 nfsidl nfsio 58895 240047 0 0 3 0x14280 nfsidl nfsio 83262 131259 0 0 3 0x14280 nfsidl nfsio 49115 165800 0 0 3 0x14280 nfsidl nfsio 23860 211963 0 0 3 0x14280 nfsidl nfsio 67638 422133 0 0 3 0x14280 nfsidl nfsio 50293 221362 0 0 3 0x14280 nfsidl nfsio 30009 73202 0 0 3 0x14280 nfsidl nfsio 59969 155602 0 0 3 0x14280 nfsidl nfsio 51466 15371 0 0 3 0x14280 nfsidl nfsio 71506 320776 0 0 3 0x14280 nfsidl nfsio 33572 196659 0 0 3 0x14280 nfsidl nfsio 35682 378916 0 0 3 0x14280 nfsidl nfsio 28117 179004 0 0 3 0x14200 bored sosplice 35854 292876 42544 0 3 0x82 thrsleep syz-fuzzer 35854 360138 42544 0 3 0x4000082 thrsleep syz-fuzzer 35854 90169 42544 0 3 0x4000082 wait syz-fuzzer 35854 73747 42544 0 3 0x4000082 thrsleep syz-fuzzer 35854 498632 42544 0 3 0x4000082 kqread syz-fuzzer 35854 18167 42544 0 3 0x4000082 thrsleep syz-fuzzer 35854 2965 42544 0 3 0x4000082 wait syz-fuzzer 35854 92801 42544 0 3 0x4000082 thrsleep syz-fuzzer 35854 200241 42544 0 3 0x4000082 wait syz-fuzzer 35854 442762 42544 0 3 0x4000082 wait syz-fuzzer 35854 120527 42544 0 3 0x4000082 wait syz-fuzzer 35854 391151 42544 0 3 0x4000082 wait syz-fuzzer 35854 43768 42544 0 3 0x4000082 wait syz-fuzzer 35854 343308 42544 0 3 0x4000082 thrsleep syz-fuzzer 35854 338662 42544 0 3 0x4000082 wait syz-fuzzer 42544 349598 88119 0 3 0x10008a sigsusp ksh 88119 389285 27591 0 3 0x9a kqread sshd 76655 130289 1 0 3 0x100083 ttyopn getty 27591 371714 1 0 3 0x88 kqread sshd 53181 412771 56046 73 3 0x1100090 kqread syslogd 56046 398357 1 0 3 0x100082 netio syslogd 89242 298648 1 0 3 0x100080 kqread resolvd 32094 364108 76741 77 3 0x100092 kqread dhcpleased 68452 285061 76741 77 3 0x100092 kqread dhcpleased 76741 33959 1 0 3 0x80 kqread dhcpleased 22025 40078 0 0 3 0x14200 bored smr 62375 49032 0 0 2 0x14200 zerothread 77110 377781 0 0 3 0x14200 aiodoned aiodoned 66667 400841 0 0 3 0x14200 syncer update 79391 142252 0 0 3 0x14200 cleaner cleaner 70890 160321 0 0 3 0x14200 reaper reaper 67439 168214 0 0 3 0x14200 pgdaemon pagedaemon 27293 142737 0 0 3 0x14200 bored viomb 33536 181990 0 0 3 0x40014200 acpi0 acpi0 73964 333271 0 0 3 0x14200 bored softnet 66639 447659 0 0 3 0x14200 bored softnet 1813 413968 0 0 3 0x14200 bored softnet 99657 196666 0 0 3 0x14200 bored softnet 32026 298872 0 0 3 0x14200 bored systqmp 21115 452775 0 0 3 0x14200 bored systq 56129 275922 0 0 2 0x40014200 softclock 17850 487921 0 0 3 0x40014200 idle0 1 439725 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 10218 6508K 8209K 78643K 55934 0 pcb 13 16K 18K 78643K 1832 0 rtable 194 9K 18K 78643K 4030 0 ifaddr 131 31K 35K 78643K 1999 0 sysctl 2 0K 0K 78643K 4 0 counters 27 17K 17K 78643K 195 0 ioctlops 0 0K 4K 78643K 2135 0 iov 0 0K 16K 78643K 1656 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1461 91K 91K 78643K 12835 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 65 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 65 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 17 61K 73K 78643K 10047 0 sigio 0 0K 0K 78643K 309 0 proc 59 59K 83K 78643K 1984 0 subproc 104 6K 6K 78643K 667 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 433 0 in_multi 80 5K 6K 78643K 698 0 ether_multi 1 0K 0K 78643K 36 0 mrt 1 0K 0K 78643K 39 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 211 943K 943K 78643K 211 0 exec 0 0K 2K 78643K 3133 0 pfkey data 0 0K 0K 78643K 11 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 295 138K 151K 78643K 56887 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 513 0 NDP 13 0K 2K 78643K 269 0 temp 133 4726K 5750K 78643K 117215 0 kqueue 12 18K 26K 78643K 791 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 1444 0 1441 22 21 1 3 0 8 0 rtentry 112 710 0 628 4 1 3 4 0 8 0 unpcb 144 9610 0 9593 93 87 6 9 0 8 5 syncache 296 57 0 57 15 15 0 1 0 8 0 tcpqe 32 75 0 75 9 9 0 1 0 8 0 tcpcb 768 3151 0 3144 120 115 5 19 0 8 3 arp 88 112 0 98 1 0 1 1 0 8 0 ipq 40 9 0 9 4 4 0 1 0 8 0 ipqe 40 27 0 27 4 4 0 1 0 8 0 inpcb 336 8818 0 8809 164 160 4 15 0 8 3 nd6 48 164 0 144 1 0 1 1 0 8 0 pkpcb 40 20 0 20 6 6 0 1 0 8 0 kcovpl 48 51 0 43 1 0 1 1 0 8 0 ppxss 1160 61 0 61 11 10 1 1 0 8 1 pfstscr 40 166 0 145 1 0 1 1 0 8 0 pfosfp 40 3 0 2 1 0 1 1 0 8 0 pfosfpen 112 3 0 0 1 0 1 1 0 8 0 pfrktable 1344 829 0 829 8 6 2 2 0 8 2 pfanchor 1280 552 0 140 36 1 35 35 0 8 0 pftag 88 40 0 35 1 0 1 1 0 8 0 pfqueue 264 2 0 2 1 1 0 1 0 8 0 pfstitem 24 26 0 4 1 0 1 1 0 8 0 pfstkey 120 216 0 210 1 0 1 1 0 8 0 pfstate 336 110 0 99 2 0 2 2 0 8 1 pfrule 1360 637 0 637 10 6 4 4 0 8 4 rttmr 136 9 0 9 3 3 0 1 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 3087 0 2698 54 27 27 30 0 8 0 art_table 32 3089 0 2699 4 0 4 4 0 8 0 art_node 16 698 0 628 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 0 1 0 1 1 0 8 0 semupl 112 7 0 7 2 2 0 1 0 8 0 semapl 112 59 0 49 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 15499 0 14024 93 0 93 93 0 8 0 ffsino 240 15499 0 14024 87 0 87 87 0 8 0 nchpl 144 29110 0 28589 63 41 22 63 0 8 0 rtmask 32 11 0 11 4 4 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 111336 0 111335 4 3 1 2 0 8 0 vcpupl 2048 38 0 0 5 0 5 5 0 8 0 vmpool 536 38 0 0 3 0 3 3 0 8 0 pfiaddrpl 120 363 0 363 2 1 1 1 0 8 1 kstatmem 264 318 0 292 4 1 3 3 0 8 0 scsiplug 72 8 0 8 2 2 0 1 0 8 0 scxspl 216 85935 0 85935 25 23 2 8 0 8 2 plimitpl 152 1415 0 1400 1 0 1 1 0 8 0 sigapl 424 10271 0 10205 8 0 8 8 0 8 0 futexpl 64 105190 0 105184 3 2 1 1 0 8 0 knotepl 120 126190 0 126110 46 40 6 17 0 8 2 kqueuepl 184 2049 0 2040 27 26 1 4 0 8 0 pipepl 288 1840 0 1812 43 40 3 7 0 8 1 fdescpl 432 10231 0 10203 4 0 4 4 0 8 0 filepl 120 78321 0 78042 100 88 12 17 0 8 3 lockfpl 104 14690 0 14686 32 29 3 4 0 8 2 lockfspl 48 6497 0 6493 5 3 2 2 0 8 1 sessionpl 144 66 0 50 1 0 1 1 0 8 0 pgrppl 48 616 0 600 1 0 1 1 0 8 0 ucredpl 104 10066 0 10054 1 0 1 1 0 8 0 zombiepl 144 10205 0 10205 2 1 1 1 0 8 1 processpl 1000 10271 0 10205 11 2 9 9 0 8 0 procpl 672 26868 0 26780 22 14 8 9 0 8 0 sosppl 168 88 0 88 17 17 0 1 0 8 0 sockpl 456 19904 0 19872 420 407 13 30 0 8 8 mcl64k 65536 379 0 377 9 8 1 1 0 8 0 mcl16k 16384 116 0 116 28 27 1 1 0 8 1 mcl12k 12288 324 0 324 17 16 1 1 0 8 1 mcl9k 9216 116 0 116 26 25 1 1 0 8 1 mcl8k 8192 704 0 704 14 13 1 1 0 8 1 mcl4k 4096 1287 0 1287 10 9 1 1 0 8 1 mcl2k2 2112 74 0 74 24 23 1 1 0 8 1 mcl2k 2048 91043 0 90968 57 45 12 33 0 8 1 mtagpl 96 9707 0 9022 49 31 18 37 0 8 0 mbufpl 256 241044 0 240184 381 326 55 126 0 8 0 bufpl 288 19834 0 13420 459 0 459 459 0 8 0 anonpl 24 2014269 0 1995709 281 150 131 142 0 188 0 amapchunkpl 152 168162 0 167453 104 75 29 41 0 158 0 amappl16 200 31059 0 30356 188 149 39 50 0 8 1 amappl15 192 948 0 946 1 0 1 1 0 8 0 amappl14 184 777 0 772 1 0 1 1 0 8 0 amappl13 176 1116 0 1114 1 0 1 1 0 8 0 amappl12 168 2848 0 2841 1 0 1 1 0 8 0 amappl11 160 717 0 696 1 0 1 1 0 8 0 amappl10 152 2209 0 2201 1 0 1 1 0 8 0 amappl9 144 1222 0 1218 1 0 1 1 0 8 0 amappl8 136 2417 0 2326 6 2 4 4 0 8 0 amappl7 128 1339 0 1316 1 0 1 1 0 8 0 amappl6 120 1211 0 1193 2 1 1 2 0 8 0 amappl5 112 9891 0 9874 1 0 1 1 0 8 0 amappl4 104 3012 0 2982 2 1 1 2 0 8 0 amappl3 96 32415 0 32359 2 0 2 2 0 8 0 amappl2 88 2892 0 2841 3 1 2 2 0 8 0 amappl1 80 251245 0 250491 25 8 17 21 0 8 0 amappl 88 55123 0 54951 5 0 5 5 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 10269 0 10203 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 10269 0 10203 1 0 1 1 0 8 0 vmmpekpl 168 75298 0 75224 4 0 4 4 0 8 0 vmmpepl 168 1013487 0 1009478 367 185 182 202 0 357 0 vmsppl 272 10268 0 10203 7 2 5 5 0 8 0 rwobjpl 24 247759 0 239867 52 2 50 50 0 8 0 pdppl 4096 20544 0 20444 602 500 102 102 0 8 2 pvpl 32 3854851 0 3833424 489 300 189 259 0 265 0 pmappl 216 10268 0 10203 4 0 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2037 0 1169 27 0 27 27 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x45 ffs_write(ffff8000231bbbd0) at ffs_write+0x93c VOP_WRITE(fffffd807b37c378,ffff8000231bbc80,3,fffffd807f7d76e8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800029a242a8,fffffd807b37c378,fffffd807f7d76e8,ffff8000231bbd58,ffff8000231bbd20) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:660 ktrsyscall(ffff800029a242a8,b,20,ffff8000231bbe10) at ktrsyscall+0x2e3 ktrwrite sys/kern/kern_ktrace.c:603 [inline] ktrsyscall(ffff800029a242a8,b,20,ffff8000231bbe10) at ktrsyscall+0x2e3 sys/kern/kern_ktrace.c:183 syscall(ffff8000231bbee0) at syscall+0x326 mi_syscall sys/sys/syscall_mi.h:75 [inline] syscall(ffff8000231bbee0) at syscall+0x326 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe28e0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace memset() at memset+0x45 ffs_write(ffff8000231bbbd0) at ffs_write+0x93c VOP_WRITE(fffffd807b37c378,ffff8000231bbc80,3,fffffd807f7d76e8) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 ktrwriteraw(ffff800029a242a8,fffffd807b37c378,fffffd807f7d76e8,ffff8000231bbd58,ffff8000231bbd20) at ktrwriteraw+0x13d sys/kern/kern_ktrace.c:660 ktrsyscall(ffff800029a242a8,b,20,ffff8000231bbe10) at ktrsyscall+0x2e3 ktrwrite sys/kern/kern_ktrace.c:603 [inline] ktrsyscall(ffff800029a242a8,b,20,ffff8000231bbe10) at ktrsyscall+0x2e3 sys/kern/kern_ktrace.c:183 syscall(ffff8000231bbee0) at syscall+0x326 mi_syscall sys/sys/syscall_mi.h:75 [inline] syscall(ffff8000231bbee0) at syscall+0x326 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe28e0, count: -7