uvm_fault(0xffffffff83a41c50, 0xffff8000240e268b, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x49: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *147174 75912 0 0x2 0x1 0 syz-executor memset() at memset+0x49 ffs_write(ffff80002a7d3490) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(ffffef00774c0a70,ffff80002a7d3540,3,ffffef0007ffd4e0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7782a8,ffffef00774c0a70,ffffef0007ffd4e0,ffff80002a7d3610,ffff80002a7d35f0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a7782a8,5b,0,ffff80002a7d36d0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a7782a8,5b,0,ffff80002a7d36d0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7d3780) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7d3780) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ccd83d714d0, 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(0xffffffff83a41c50, 0xffff8000240e268b, 0, 2) -> d ddb> trace memset() at memset+0x49 ffs_write(ffff80002a7d3490) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(ffffef00774c0a70,ffff80002a7d3540,3,ffffef0007ffd4e0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7782a8,ffffef00774c0a70,ffffef0007ffd4e0,ffff80002a7d3610,ffff80002a7d35f0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a7782a8,5b,0,ffff80002a7d36d0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a7782a8,5b,0,ffff80002a7d36d0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7d3780) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7d3780) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ccd83d714d0, count: -7 ddb> show registers rdi 0xffff8000240e268b rsi 0 rbp 0xffff80002a7d33b0 rbx 0xd468b acpi_pdirpa+0xc04fc rdx 0x5 rcx 0x5 rax 0 r8 0x3970 __ALIGN_SIZE+0x2970 r9 0xffff80002a7d3310 r10 0x13f8c7ef6ac55671 r11 0xffff8000240e268b r12 0x68b r13 0x4000 __ALIGN_SIZE+0x3000 r14 0xffffef00774c0a70 r15 0x1 rip 0xffffffff82060b09 memset+0x49 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a7d31a8 ss 0x10 memset+0x49: repe stosb %es:(%rdi) ddb> show proc PROC (syz-executor) tid=147174 pid=75912 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=73, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a778010,0xffff80002a778fb0 process=0xffff80002a79c490 user=0xffff80002a7ce000, vmspace=0xffffef007ec668a0 estcpu=36, cpticks=11, pctcpu=0.1, user=0, sys=11, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 60321 277625 17814 60929 2 0x10 syz-executor 60321 401899 17814 60929 3 0x4000090 fsleep syz-executor 34680 388842 97224 60929 2 0xc90 syz-executor 34680 368137 97224 60929 3 0x4000090 lockf syz-executor 34680 60752 97224 60929 3 0x4000090 fsleep syz-executor 57464 400033 6893 0 2 0 syz-executor 57464 256353 6893 0 2 0x4000000 syz-executor 57464 313517 6893 0 3 0x4000080 fsleep syz-executor 34708 266623 89724 0 2 0 syz-executor 34708 210774 89724 0 3 0x4000080 fsleep syz-executor 94674 155513 660 0 3 0x80 nanoslp syz-executor 94674 275910 660 0 3 0x4000080 ttyretype syz-executor 94674 129049 660 0 3 0x4000080 fsleep syz-executor 77087 32801 75912 0 3 0x80 nanoslp syz-executor 77087 320402 75912 0 3 0x4000080 lockf syz-executor 77087 78262 75912 0 3 0x4000080 fsleep syz-executor 66968 351303 7515 0 2 0xc80 syz-executor 66968 298647 7515 0 3 0x4000080 bell syz-executor 66968 36095 7515 0 3 0x4000080 fsleep syz-executor 41205 463384 1 0 3 0x80 nanoslp init 84776 418759 0 0 3 0x14280 nfsidl nfsio 68450 501339 0 0 3 0x14280 nfsidl nfsio 67520 74602 0 0 3 0x14280 nfsidl nfsio 30312 275955 0 0 3 0x14280 nfsidl nfsio 7186 387565 0 0 3 0x14280 nfsidl nfsio 68400 251580 0 0 3 0x14280 nfsidl nfsio 49885 259932 0 0 3 0x14280 nfsidl nfsio 52082 517886 0 0 3 0x14280 nfsidl nfsio 9771 342958 0 0 3 0x14280 nfsidl nfsio 17721 310984 0 0 3 0x14280 nfsidl nfsio 54216 269589 0 0 3 0x14280 nfsidl nfsio 26759 435697 0 0 3 0x14280 nfsidl nfsio 98797 108147 0 0 3 0x14280 nfsidl nfsio 41326 485174 0 0 3 0x14280 nfsidl nfsio 64 305409 0 0 3 0x14280 nfsidl nfsio 14239 58593 0 0 3 0x14280 nfsidl nfsio 66857 131474 0 0 3 0x14280 nfsidl nfsio 24462 188804 0 0 3 0x14280 nfsidl nfsio 33209 422127 0 0 3 0x14280 nfsidl nfsio 67334 245564 0 0 3 0x14280 nfsidl nfsio 89724 427864 48295 0 2 0xc82 syz-executor 660 83005 48295 0 2 0xc82 syz-executor 6893 496288 48295 0 2 0xc82 syz-executor 97224 120338 48295 0 2 0xc82 syz-executor 40136 200992 48295 0 3 0x82 wait syz-executor 17814 65844 48295 0 2 0xc82 syz-executor 7515 173676 48295 0 2 0xc82 syz-executor *75912 147174 48295 0 7 0x3 syz-executor 48295 241620 1 0 3 0x82 kqread syz-executor 46719 260179 0 0 3 0x14200 bored smr 48590 98277 0 0 2 0x14200 zerothread 98525 195202 0 0 3 0x14200 aiodoned aiodoned 56998 120499 0 0 3 0x14200 syncer update 38662 334860 0 0 3 0x14200 cleaner cleaner 79376 1635 0 0 3 0x14200 reaper reaper 52300 203392 0 0 3 0x14200 pgdaemon pagedaemon 94474 145210 0 0 3 0x14200 bored viomb 53144 49125 0 0 3 0x40014200 acpi0 acpi0 48825 456648 0 0 3 0x14200 bored softnet0 15027 158684 0 0 3 0x14200 bored systqmp 89554 249526 0 0 3 0x14200 bored systq 77793 449719 0 0 3 0x40014200 tmoslp softclock 89142 506761 0 0 3 0x40014200 idle0 1 69144 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 11069 12211K 12448K 166960K 13526 0 pcb 18 18K 19K 166960K 318 0 rtable 132 6K 9K 166960K 492 0 pf 34 14K 73K 166960K 135 0 ifaddr 24 3K 7K 166960K 73 0 ifgroup 47 2K 2K 166960K 114 0 sysctl 4 1K 9K 166960K 15 0 counters 32 17K 18K 166960K 60 0 ioctlops 0 0K 4K 166960K 360 0 iov 0 0K 16K 166960K 108 0 mount 1 1K 1K 166960K 1 0 log 2 0K 0K 166960K 6 0 vnodes 1417 89K 90K 166960K 2761 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 22 0 VM map 2 1K 1K 166960K 2 0 sem 21 3K 3K 166960K 71 0 dirhash 15 2K 2K 166960K 33 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 17 65K 93K 166960K 1186 0 sigio 0 0K 0K 166960K 12 0 proc 11 17K 116K 166960K 638 0 subproc 72 4K 4K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 128 0 in_multi 40 3K 7K 166960K 123 0 ether_multi 1 0K 0K 166960K 7 0 mrt 3 0K 0K 166960K 28 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 1K 166960K 546 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 153 79K 175K 166960K 12337 0 UVM aobj 72 3K 3K 166960K 75 0 pinsyscall 19 38K 94K 166960K 2309 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 10 0K 2K 166960K 49 0 temp 75 9116K 9185K 166960K 35064 0 kqueue 4 8K 30K 166960K 237 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 240 0 240 3 0 3 3 0 8 3 rtentry 136 140 0 95 4 0 4 4 0 8 0 unpcb 144 986 0 986 4 0 4 4 0 8 4 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 736 481 0 480 7 0 7 7 0 8 6 arp 96 18 0 12 1 0 1 1 0 8 0 ipq 40 8 0 0 1 0 1 1 0 8 0 ipqe 40 11 0 2 1 0 1 1 0 8 0 inpcb 328 1803 0 1799 12 3 9 12 0 8 8 ip6q 72 6 0 1 1 0 1 1 0 8 0 ip6af 40 8 0 2 1 0 1 1 0 8 0 nd6 112 41 0 30 1 0 1 1 0 8 0 pkpcb 40 8 0 8 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 21 0 21 1 0 1 1 0 8 1 pppxif 1416 2 0 2 1 0 1 1 0 8 1 pfstscr 40 27 0 12 1 0 1 1 0 8 0 pfsrclim 320 2 0 2 1 0 1 1 0 8 1 pfanchor 1288 4 0 2 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstitem 24 16 0 4 1 0 1 1 0 8 0 pfstkey 128 29 0 15 1 0 1 1 0 8 0 pfstate 384 16 0 7 2 0 2 2 0 8 1 pfrule 1360 13 0 12 1 0 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 647 0 437 31 2 29 31 0 8 8 art_table 40 650 0 437 5 0 5 5 0 8 0 art_node 32 135 0 95 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 14 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 72 58 0 39 1 0 1 1 0 8 0 shmpl 112 72 0 3 2 0 2 2 0 8 0 dirhash 1024 31 0 12 3 0 3 3 0 8 0 dino2pl 256 3696 0 2240 92 0 92 92 0 8 0 ffsino 256 3696 0 2240 92 0 92 92 0 8 0 nchpl 144 5400 0 3703 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 0 1 1 0 8 1 vnodes 216 4588 0 0 255 0 255 255 0 8 0 namei 1024 18944 0 18944 2 0 2 2 0 8 2 kstatmem 264 65 0 44 3 0 3 3 0 8 1 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 24377 0 24377 8 0 8 8 1 8 8 plimitpl 152 384 0 372 1 0 1 1 0 8 0 sigapl 424 1509 0 1456 8 0 8 8 0 8 0 knotepl 120 56494 0 56472 10 0 10 10 0 8 8 kqueuepl 184 520 0 516 4 0 4 4 0 8 3 pipepl 304 203 0 176 3 0 3 3 0 8 0 fdescpl 448 1475 0 1455 5 0 5 5 0 8 1 filepl 120 10632 0 10452 13 0 13 13 0 8 5 lockfpl 104 472 0 466 1 0 1 1 0 8 0 lockfspl 48 174 0 171 1 0 1 1 0 8 0 sessionpl 144 161 0 159 1 0 1 1 0 8 0 pgrppl 48 181 0 171 1 0 1 1 0 8 0 ucredpl 104 2300 0 2295 1 0 1 1 0 8 0 zombiepl 144 1457 0 1456 1 0 1 1 0 8 0 processpl 1152 1509 0 1456 5 0 5 5 0 8 0 procpl 664 3112 0 3047 7 0 7 7 0 8 0 sosppl 176 5 0 5 1 0 1 1 0 8 1 sockpl 552 3121 0 3117 19 9 10 17 0 8 8 mcl64k 65536 130 0 128 1 0 1 1 0 8 0 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 2 0 2 1 0 1 1 0 8 1 mcl9k128 9344 5 0 5 1 0 1 1 0 8 1 mcl8k 8192 46 0 46 1 0 1 1 0 8 1 mcl4k 4096 3987 0 3937 14 0 14 14 0 8 7 mcl2k 2048 1026 0 1021 4 0 4 4 0 8 1 mtagpl 96 11 0 8 1 0 1 1 0 8 0 mbufpl 256 17065 0 16923 21 0 21 21 0 8 7 bufpl 272 9613 0 3397 415 0 415 415 0 8 0 anonpl 24 219596 0 217872 66 0 66 66 0 186 37 amapchunkpl 152 42062 0 41635 36 0 36 36 0 158 19 amappl16 200 4004 0 3974 28 13 15 26 0 8 8 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 414 0 414 1 0 1 1 0 8 1 amappl13 176 119 0 119 1 0 1 1 0 8 1 amappl12 168 1725 0 1707 2 0 2 2 0 8 0 amappl11 160 13 0 13 1 0 1 1 0 8 1 amappl10 152 58 0 58 1 0 1 1 0 8 1 amappl9 144 291 0 291 1 0 1 1 0 8 1 amappl8 136 121 0 121 1 0 1 1 0 8 1 amappl7 128 150 0 147 1 0 1 1 0 8 0 amappl6 120 148 0 147 1 0 1 1 0 8 0 amappl5 112 94 0 93 1 0 1 1 0 8 0 amappl4 104 276 0 273 1 0 1 1 0 8 0 amappl3 96 8461 0 8367 4 0 4 4 0 8 1 amappl2 88 542 0 534 2 0 2 2 0 8 0 amappl1 80 14490 0 14394 13 0 13 13 0 8 7 amappl 88 11443 0 11301 5 0 5 5 0 92 1 uvmvnodes 80 129 0 0 3 0 3 3 0 8 0 dma4096 4096 1 0 1 1 0 1 1 0 8 1 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 9 0 9 1 0 1 1 0 8 1 dma128 128 254 0 254 1 0 1 1 0 8 1 dma64 64 7 0 7 1 0 1 1 0 8 1 dma32 32 7 0 7 1 0 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 74 0 3 2 0 2 2 0 8 0 uaddrrnd 24 1475 0 1455 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1475 0 1455 1 0 1 1 0 8 0 vmmpekpl 168 12688 0 12660 2 0 2 2 0 8 0 vmmpepl 168 97637 0 96737 99 0 99 99 0 357 58 vmsppl 368 1474 0 1455 4 0 4 4 0 8 1 rwobjpl 40 26992 0 26472 15 0 15 15 0 8 2 pdppl 4096 2956 0 2910 96 50 46 80 0 8 0 pvpl 32 639659 0 632828 144 0 144 144 0 265 84 pmappl 216 1474 0 1455 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 797 0 52 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace memset() at memset+0x49 ffs_write(ffff80002a7d3490) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(ffffef00774c0a70,ffff80002a7d3540,3,ffffef0007ffd4e0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a7782a8,ffffef00774c0a70,ffffef0007ffd4e0,ffff80002a7d3610,ffff80002a7d35f0) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a7782a8,5b,0,ffff80002a7d36d0) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a7782a8,5b,0,ffff80002a7d36d0) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a7d3780) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a7d3780) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7ccd83d714d0, count: -7 ddb>