uvm_fault(0xffffffff8355a950, 0xffff800026282100, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x52: repe stosq %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND 35713 56356 0 0 0x4000000 0 syz-executor memset() at memset+0x52 ffs_write(ffff8000331bdd80) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd8079ffbe80,ffff8000331bde18,23,fffffd807f7d3680) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd8079ffbe80,ffff8000331bdf30,40,0,1,9bd92b49c09bd9d2,0,1008,0) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 acct_process(ffff80002a143988) at acct_process+0x7bb sys/kern/kern_acct.c:245 exit1(ffff80002a143988,0,0,1) at exit1+0x790 sys/kern/kern_exit.c:237 sys_exit(ffff80002a143988,ffff8000331be180,ffff8000331be0d0) at sys_exit+0x1a syscall(ffff8000331be180) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000331be180) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7984ca0cec90, 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xffffffff8355a950, 0xffff800026282100, 0, 2) -> d ddb{1}> trace memset() at memset+0x52 ffs_write(ffff8000331bdd80) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd8079ffbe80,ffff8000331bde18,23,fffffd807f7d3680) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd8079ffbe80,ffff8000331bdf30,40,0,1,9bd92b49c09bd9d2,0,1008,0) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 acct_process(ffff80002a143988) at acct_process+0x7bb sys/kern/kern_acct.c:245 exit1(ffff80002a143988,0,0,1) at exit1+0x790 sys/kern/kern_exit.c:237 sys_exit(ffff80002a143988,ffff8000331be180,ffff8000331be0d0) at sys_exit+0x1a syscall(ffff8000331be180) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000331be180) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7984ca0cec90, count: -9 ddb{1}> show registers rdi 0xffff800026282100 rsi 0 rbp 0xffff8000331bdca0 rbx 0x8100 __ALIGN_SIZE+0x7100 rdx 0 rcx 0xe0 rax 0 r8 0x700 r9 0xffff8000331bdc00 r10 0xb66c77f69970d552 r11 0xffff800026282100 r12 0x800 r13 0x100 r14 0xfffffd8079ffbe80 r15 0x1 rip 0xffffffff818ff4b2 memset+0x52 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff8000331bda98 ss 0 memset+0x52: repe stosq %es:(%rdi) ddb{1}> show proc PROC (syz-executor) tid=275193 pid=17396 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=16, usrpri=86, slppri=16, nice=20 wchan=0x0, wmesg=, ps_single=0xffff80002a143988 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff8000ffff27b8,0xffff80002a142cf0 process=0xffff800036b9c020 user=0xffff8000331b9000, vmspace=0xfffffd806bfafdc0 estcpu=36, cpticks=2, pctcpu=0.1, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 14205 151147 83076 0 2 0 syz-executor 14205 157985 83076 0 2 0x4000000 syz-executor 66106 118446 87955 0 2 0x100000 sh 56356 281093 77210 0 2 0 syz-executor 56356 35713 77210 0 7 0x4000000 syz-executor 56356 512503 77210 0 3 0x4000080 fsleep syz-executor 56356 46333 77210 0 3 0x4000080 fsleep syz-executor 87955 220213 24057 0 3 0x10008a sigsusp sh 83868 219299 66370 0 2 0x1000000 syz-executor 83868 39400 66370 0 3 0x5000080 fsleep syz-executor 83868 153485 66370 0 3 0x5000080 fsleep syz-executor 83076 331826 48284 0 2 0x2 syz-executor 24057 334799 48284 0 3 0x82 wait syz-executor 77210 255189 48284 0 3 0x82 nanoslp syz-executor 65671 3428 48284 0 2 0x482 syz-executor 66370 79795 48284 0 2 0x482 syz-executor 54384 446812 0 0 3 0x14280 nfsidl nfsio 11770 203430 0 0 3 0x14280 nfsidl nfsio 97594 371282 0 0 3 0x14280 nfsidl nfsio 50967 398737 0 0 3 0x14280 nfsidl nfsio 83436 368514 0 0 3 0x14280 nfsidl nfsio 82072 356649 0 0 3 0x14280 nfsidl nfsio 60607 245477 0 0 3 0x14280 nfsidl nfsio 3441 226542 0 0 3 0x14280 nfsidl nfsio 11152 445901 0 0 3 0x14280 nfsidl nfsio 31276 358809 0 0 3 0x14280 nfsidl nfsio 62134 42376 0 0 3 0x14280 nfsidl nfsio 43252 53389 0 0 3 0x14280 nfsidl nfsio 17305 493314 0 0 3 0x14280 nfsidl nfsio 72631 240016 0 0 3 0x14280 nfsidl nfsio 18292 69315 0 0 3 0x14280 nfsidl nfsio 89523 312209 0 0 3 0x14280 nfsidl nfsio 56268 438609 0 0 3 0x14280 nfsidl nfsio 49328 304016 0 0 3 0x14280 nfsidl nfsio 67583 431213 0 0 3 0x14280 nfsidl nfsio 46262 178636 0 0 3 0x14280 nfsidl nfsio 9854 319084 0 0 3 0x14200 bored sosplice 29669 450323 0 0 3 0x14200 acct acct 48284 75559 97134 0 3 0x82 wait syz-executor 97134 125218 94055 0 3 0x10008a sigsusp ksh 94055 210099 84348 0 3 0x98 kqread sshd-session 84348 462204 88284 0 3 0x92 kqread sshd-session 3282 223895 1 0 3 0x100083 ttyin getty 88284 398216 1 0 3 0x88 kqread sshd 53462 429266 49849 74 3 0x1100092 bpf pflogd 49849 313884 1 0 3 0x80 sbwait pflogd 24949 421914 13267 73 3 0x1100090 kqread syslogd 13267 364262 1 0 3 0x100082 sbwait syslogd 12505 330835 1 0 3 0x100080 kqread resolvd 26373 144234 54515 77 3 0x100092 kqread dhcpleased 91724 301106 54515 77 3 0x100092 kqread dhcpleased 54515 30380 1 0 3 0x80 kqread dhcpleased 29619 227178 0 0 3 0x14200 pause smr 45057 311861 0 0 3 0x14200 pgzero zerothread 51427 517440 0 0 3 0x14200 aiodoned aiodoned 97599 285320 0 0 3 0x14200 syncer update 74356 423780 0 0 3 0x14200 cleaner cleaner 44636 488588 0 0 3 0x14200 reaper reaper 10658 408581 0 0 3 0x14200 pgdaemon pagedaemon 90299 159776 0 0 3 0x14200 bored viomb 25514 287799 0 0 3 0x40014200 acpi0 acpi0 71289 459232 0 0 3 0x40014200 idle1 47135 85122 0 0 3 0x14200 bored softnet3 46703 171763 0 0 3 0x14200 bored softnet2 60274 134164 0 0 3 0x14200 bored softnet1 76157 517077 0 0 2 0x14200 softnet0 34540 472905 0 0 3 0x14200 bored systqmp 55721 43943 0 0 3 0x14200 bored systq 94486 485721 0 0 3 0x14200 tmoslp softclockmp 94981 517124 0 0 2 0x40014200 softclock 47905 64735 0 0 3 0x40014200 idle0 1 284941 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10219 10290K 10420K 166960K 11721 0 pcb 17 14K 15K 166960K 107 0 rtable 218 7K 8K 166960K 1124 0 pf 38 18K 21K 166960K 121 0 ifaddr 42 7K 8K 166960K 149 0 ifgroup 59 2K 2K 166960K 166 0 sysctl 2 0K 0K 166960K 2 0 counters 66 36K 36K 166960K 120 0 ioctlops 0 0K 4K 166960K 1547 0 iov 0 0K 28K 166960K 30 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1367 86K 87K 166960K 1939 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 8 0 VM map 2 1K 1K 166960K 2 0 sem 9 5K 5K 166960K 12 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 15 53K 89K 166960K 883 0 sigio 0 0K 0K 166960K 2 0 proc 72 91K 128K 166960K 1232 0 subproc 104 6K 6K 166960K 416 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 338 0 in_multi 89 6K 7K 166960K 371 0 ether_multi 1 0K 0K 166960K 3 0 mrt 1 0K 0K 166960K 1 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 733 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 216 72K 91K 166960K 8389 0 UVM aobj 9 2K 2K 166960K 10 0 pinsyscall 41 82K 102K 166960K 2579 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 13 0K 2K 166960K 103 0 temp 45 6816K 6884K 166960K 21853 0 kqueue 15 24K 30K 166960K 106 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 24 0 0 1 0 1 1 0 8 0 rtpcb 120 122 0 119 1 0 1 1 0 8 0 rtentry 112 383 0 284 4 1 3 4 0 8 0 unpcb 144 455 0 435 9 7 2 5 0 8 1 syncache 336 5 0 5 2 2 0 1 0 8 0 tcpqe 32 2 0 2 1 1 0 1 0 8 0 tcpcb 808 149 0 143 4 2 2 2 0 8 1 arp 120 68 0 49 1 0 1 1 0 8 0 inpcb 336 846 0 835 17 10 7 7 0 8 5 nd6 136 99 0 75 1 0 1 1 0 8 0 pkpcb 40 4 0 4 3 3 0 1 0 8 0 kcovpl 48 32 0 24 1 0 1 1 0 8 0 ppxss 1168 1 0 1 1 1 0 1 0 8 0 pfstscr 40 2 0 2 2 2 0 1 0 8 0 pffrag 232 2 0 1 1 0 1 1 0 482 0 pffrnode 88 2 0 1 1 0 1 1 0 8 0 pffrent 40 3 0 2 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 pfanchor 1288 1 0 1 1 1 0 1 0 8 0 pfstitem 24 81 0 38 1 0 1 1 0 8 0 pfstkey 128 85 0 42 2 0 2 2 0 8 0 pfstate 376 82 0 40 5 0 5 5 0 8 0 pfrule 1344 32 0 26 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1516 0 1105 35 7 28 29 0 8 2 art_table 32 1517 0 1105 4 0 4 4 0 8 0 art_node 16 381 0 294 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 8 0 1 1 0 1 1 0 8 0 shmpl 112 7 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2272 0 721 98 0 98 98 0 8 0 ffsino 272 2272 0 721 104 0 104 104 0 8 0 nchpl 144 3033 0 1317 64 0 64 64 0 8 0 uvmvnodes 80 2843 0 0 59 0 59 59 0 8 0 vnodes 216 2843 0 0 158 0 158 158 0 8 0 namei 1024 11653 0 11653 5 4 1 2 0 8 1 percpumem 16 74 0 27 1 0 1 1 0 8 0 kstatmem 264 80 0 54 2 0 2 2 0 8 0 scxspl 216 20969 0 20969 10 9 1 8 1 8 1 plimitpl 152 281 0 264 1 0 1 1 0 8 0 sigapl 424 1159 0 1089 10 1 9 9 0 8 0 futexpl 64 6393 0 6389 3 2 1 1 0 8 0 knotepl 120 574 0 0 18 0 18 18 0 8 0 kqueuepl 216 132 0 119 1 0 1 1 0 8 0 pipepl 320 215 0 188 3 0 3 3 0 8 0 fdescpl 496 1118 0 1089 6 1 5 5 0 8 0 filepl 152 5161 0 4917 17 5 12 14 0 8 2 lockfpl 104 114 0 112 1 0 1 1 0 8 0 lockfspl 48 54 0 52 1 0 1 1 0 8 0 sessionpl 144 46 0 37 1 0 1 1 0 8 0 pgrppl 48 82 0 65 1 0 1 1 0 8 0 ucredpl 104 573 0 560 1 0 1 1 0 8 0 zombiepl 144 1093 0 1089 1 0 1 1 0 8 0 processpl 1160 1159 0 1089 7 1 6 6 0 8 0 procpl 648 1846 0 1770 8 0 8 8 0 8 0 srpgc 96 8 0 8 1 1 0 1 0 8 0 sosppl 168 2 0 2 2 2 0 1 0 8 0 sockpl 664 1436 0 1404 19 11 8 11 0 8 4 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 246 0 0 31 0 31 31 0 8 0 mtagpl 96 10 0 0 1 0 1 1 0 8 0 mbufpl 256 449 0 0 28 0 28 28 0 8 0 bufpl 280 7403 0 1229 442 0 442 442 0 8 0 anonpl 24 215319 0 211931 65 14 51 60 0 185 12 amapchunkpl 152 26368 0 25932 38 6 32 32 0 158 13 amappl16 200 4860 0 4790 41 27 14 16 0 8 10 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 166 0 152 1 0 1 1 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 2149 0 2117 3 1 2 2 0 8 0 amappl11 160 59 0 45 1 0 1 1 0 8 0 amappl10 152 4 0 4 1 1 0 1 0 8 0 amappl9 144 125 0 125 1 1 0 1 0 8 0 amappl8 136 18 0 16 1 0 1 1 0 8 0 amappl7 128 154 0 142 1 0 1 1 0 8 0 amappl6 120 407 0 405 1 0 1 1 0 8 0 amappl5 112 228 0 217 1 0 1 1 0 8 0 amappl4 104 379 0 360 1 0 1 1 0 8 0 amappl3 96 5181 0 5081 4 0 4 4 0 8 0 amappl2 88 997 0 928 2 0 2 2 0 8 0 amappl1 80 11218 0 10653 14 1 13 14 0 8 0 amappl 88 7817 0 7663 5 0 5 5 0 92 0 dma65536 65536 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 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 9 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1118 0 1088 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1118 0 1088 1 0 1 1 0 8 0 vmmpekpl 168 10530 0 10474 4 0 4 4 0 8 0 vmmpepl 168 75329 0 73537 115 21 94 95 0 357 10 vmsppl 440 1117 0 1088 6 2 4 5 0 8 0 rwobjpl 56 27402 0 23585 59 2 57 57 0 8 2 pdppl 4096 2243 0 2176 123 48 75 83 0 8 8 pvpl 32 28429 0 0 230 0 230 230 0 265 0 pmappl 248 1117 0 1088 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 460 0 77 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83464ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835138c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835138c0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x68 copyout() at copyout+0x57 syscall(ffff8000331e2890) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000331e2890) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc67e73ee260, count: 5 ddb{0}> trace x86_ipi_db(ffffffff83464ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff835138c0) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff835138c0) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x68 copyout() at copyout+0x57 syscall(ffff8000331e2890) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000331e2890) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc67e73ee260, count: -10 ddb{0}> machine ddbcpu 1 Stopped at memset+0x52: repe stosq %es:(%rdi) memset() at memset+0x52 ffs_write(ffff8000331bdd80) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd8079ffbe80,ffff8000331bde18,23,fffffd807f7d3680) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd8079ffbe80,ffff8000331bdf30,40,0,1,9bd92b49c09bd9d2,0,1008,0) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 acct_process(ffff80002a143988) at acct_process+0x7bb sys/kern/kern_acct.c:245 exit1(ffff80002a143988,0,0,1) at exit1+0x790 sys/kern/kern_exit.c:237 sys_exit(ffff80002a143988,ffff8000331be180,ffff8000331be0d0) at sys_exit+0x1a syscall(ffff8000331be180) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000331be180) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7984ca0cec90, count: 6 ddb{1}> trace memset() at memset+0x52 ffs_write(ffff8000331bdd80) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd8079ffbe80,ffff8000331bde18,23,fffffd807f7d3680) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 vn_rdwr(1,fffffd8079ffbe80,ffff8000331bdf30,40,0,1,9bd92b49c09bd9d2,0,1008,0) at vn_rdwr+0x12d sys/kern/vfs_vnops.c:324 acct_process(ffff80002a143988) at acct_process+0x7bb sys/kern/kern_acct.c:245 exit1(ffff80002a143988,0,0,1) at exit1+0x790 sys/kern/kern_exit.c:237 sys_exit(ffff80002a143988,ffff8000331be180,ffff8000331be0d0) at sys_exit+0x1a syscall(ffff8000331be180) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000331be180) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7984ca0cec90, count: -9