uvm_fault(0xffffffff8353da28, 0xffff800028e15bf1, 0, 2) -> d kernel: page fault trap, code=2 Stopped at memset+0x49: repe stosb %es:(%rdi) TID PID UID PRFLAGS PFLAGS CPU COMMAND *519642 62620 73 0x1100010 0x1 0K syslogd memset() at memset+0x49 ffs_write(ffff80002a06a750) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd80686c6978,ffff80002a06a808,3,fffffd807f7d3618) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000ffffd6d8,fffffd80686c6978,fffffd807f7d3618,ffff80002a06a8d0,ffff80002a06a8b0) at ktrwriteraw+0x1bc sys/kern/kern_ktrace.c:682 ktrsyscall(ffff8000ffffd6d8,79,18,ffff80002a06aa60) at ktrsyscall+0x31d sys/kern/kern_ktrace.c:182 syscall(ffff80002a06aa60) at syscall+0x2eb mi_syscall sys/sys/syscall_mi.h:157 [inline] syscall(ffff80002a06aa60) at syscall+0x2eb sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70b0a3922250, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xffffffff8353da28, 0xffff800028e15bf1, 0, 2) -> d ddb{0}> trace memset() at memset+0x49 ffs_write(ffff80002a06a750) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd80686c6978,ffff80002a06a808,3,fffffd807f7d3618) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000ffffd6d8,fffffd80686c6978,fffffd807f7d3618,ffff80002a06a8d0,ffff80002a06a8b0) at ktrwriteraw+0x1bc sys/kern/kern_ktrace.c:682 ktrsyscall(ffff8000ffffd6d8,79,18,ffff80002a06aa60) at ktrsyscall+0x31d sys/kern/kern_ktrace.c:182 syscall(ffff80002a06aa60) at syscall+0x2eb mi_syscall sys/sys/syscall_mi.h:157 [inline] syscall(ffff80002a06aa60) at syscall+0x2eb sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70b0a3922250, count: -7 ddb{0}> show registers rdi 0xffff800028e15bf1 rsi 0 rbp 0xffff80002a06a670 rbx 0xa7bf1 acpi_pdirpa+0x93a62 rdx 0x7 rcx 0x7 rax 0 r8 0x408 r9 0xffff80002a06a5d0 r10 0x24092ff782255e62 r11 0xffff800028e15bf1 r12 0x4000 __ALIGN_SIZE+0x3000 r13 0x3bf1 __ALIGN_SIZE+0x2bf1 r14 0xfffffd80686c6978 r15 0x1 rip 0xffffffff82e89339 memset+0x49 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a06a468 ss 0x10 memset+0x49: repe stosb %es:(%rdi) ddb{0}> show proc PROC (syslogd) tid=519642 pid=62620 tcnt=1 stat=onproc flags process=1100010 proc=1 runpri=17, usrpri=53, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffffccb8,0xffff8000ffffc020 process=0xffff8000ffff9230 user=0xffff80002a065000, vmspace=0xfffffd806ed08a58 estcpu=3, cpticks=4, pctcpu=2.32, user=6, sys=1268, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 20732 65874 67294 0 2 0 syz-executor 20732 119288 67294 0 2 0x4000000 syz-executor 36676 341154 6205 0 2 0 syz-executor 36676 223317 6205 0 3 0x4000080 fsleep syz-executor 61652 342073 49474 0 2 0 syz-executor 61652 497906 49474 0 3 0x4000080 lockf syz-executor 27248 204220 56396 60928 2 0x490 syz-executor 27248 502445 56396 60928 3 0x4000090 kqpoll syz-executor 27248 162194 56396 60928 3 0x4000090 fsleep syz-executor 20237 422599 87351 0 2 0 syz-executor 20237 65628 87351 0 3 0x4000080 ttyout syz-executor 20237 103453 87351 0 3 0x4000080 ttyout syz-executor 92087 326306 94491 0 2 0 syz-executor 92087 385550 94491 0 3 0x4000080 bell syz-executor 92087 520562 94491 0 3 0x4000080 fsleep syz-executor 92087 119011 94491 0 3 0x4000080 pipewr syz-executor 16378 66723 0 0 3 0x14280 nfsidl nfsio 42603 274530 0 0 3 0x14280 nfsidl nfsio 73064 145239 0 0 3 0x14280 nfsidl nfsio 19962 46804 0 0 3 0x14280 nfsidl nfsio 97167 116351 0 0 3 0x14280 nfsidl nfsio 71431 495943 0 0 3 0x14280 nfsidl nfsio 33134 358766 0 0 3 0x14280 nfsidl nfsio 16584 362463 0 0 3 0x14280 nfsidl nfsio 42202 219000 0 0 3 0x14280 nfsidl nfsio 91169 157285 0 0 3 0x14280 nfsidl nfsio 33669 175230 0 0 3 0x14280 nfsidl nfsio 19326 186644 0 0 3 0x14280 nfsidl nfsio 73962 38920 0 0 3 0x14280 nfsidl nfsio 17105 484915 0 0 3 0x14280 nfsidl nfsio 17128 130482 0 0 3 0x14280 nfsidl nfsio 91003 91508 0 0 3 0x14280 nfsidl nfsio 10776 246012 0 0 3 0x14280 nfsidl nfsio 36395 148169 0 0 3 0x14280 nfsidl nfsio 91262 363948 0 0 3 0x14280 nfsidl nfsio 46810 498088 0 0 3 0x14280 nfsidl nfsio 49474 518993 92408 0 2 0x482 syz-executor 18149 53318 92408 0 2 0x482 syz-executor 86234 262985 92408 0 2 0x2 syz-executor 94491 40150 92408 0 2 0x482 syz-executor 67294 145559 92408 0 2 0x482 syz-executor 56396 150055 92408 0 2 0x482 syz-executor 6205 485257 92408 0 2 0x482 syz-executor 87351 258716 92408 0 2 0x482 syz-executor 53775 460403 1 0 3 0x100083 ttyin getty 78481 284920 0 0 3 0x14200 bored sosplice 92408 373800 47003 0 2 0x2 syz-executor 47003 27851 98513 0 3 0x10008a sigsusp ksh 98513 60320 49267 0 3 0x98 kqread sshd-session 49267 336419 48763 0 3 0x92 kqread sshd-session 48763 76864 1 0 3 0x88 kqread sshd 80183 375284 44707 74 3 0x1100092 bpf pflogd 44707 470704 1 0 3 0x80 sbwait pflogd *62620 519642 69410 73 7 0x1100011 syslogd 69410 520999 1 0 3 0x100082 sbwait syslogd 918 288229 1 0 3 0x100080 kqread resolvd 22660 236897 75263 77 3 0x100092 kqread dhcpleased 46474 210535 75263 77 3 0x100092 kqread dhcpleased 75263 194345 1 0 3 0x80 kqread dhcpleased 63214 434141 0 0 3 0x14200 bored smr 9573 9946 0 0 2 0x14200 zerothread 3710 337285 0 0 3 0x14200 aiodoned aiodoned 24727 186782 0 0 3 0x14200 syncer update 6766 361085 0 0 3 0x14200 cleaner cleaner 57957 166096 0 0 3 0x14200 reaper reaper 73294 163502 0 0 3 0x14200 pgdaemon pagedaemon 98095 483649 0 0 3 0x14200 bored viomb 9637 449466 0 0 3 0x40014200 acpi0 acpi0 48162 270903 0 0 7 0x40014200 idle1 92475 214869 0 0 3 0x14200 bored softnet3 9953 266466 0 0 3 0x14200 bored softnet2 6607 321722 0 0 3 0x14200 bored softnet1 21346 119397 0 0 3 0x14200 bored softnet0 19830 54862 0 0 3 0x14200 bored systqmp 52238 389697 0 0 3 0x14200 bored systq 19902 235038 0 0 3 0x14200 tmoslp softclockmp 18499 141668 0 0 3 0x40014200 tmoslp softclock 95426 123261 0 0 3 0x40014200 idle0 1 214786 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 62620 (syslogd) thread 0xffff8000ffffd6d8 (519642) exclusive rrwlock inode r = 0 (0xfffffd8073e1da28) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vget+0x2bd sys/kern/vfs_subr.c:676 #6 ktrwriteraw+0x172 sys/kern/kern_ktrace.c:679 #7 ktrsyscall+0x31d sys/kern/kern_ktrace.c:182 #8 syscall+0x2eb mi_syscall sys/sys/syscall_mi.h:157 [inline] #8 syscall+0x2eb sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83628520) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 syscall+0x2cc mi_syscall sys/sys/syscall_mi.h:156 [inline] #1 syscall+0x2cc sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10207 10170K 10555K 166960K 12536 0 pcb 17 18K 20K 166960K 292 0 rtable 224 7K 7K 166960K 1480 0 pf 38 18K 26K 166960K 182 0 ifaddr 44 8K 8K 166960K 198 0 ifgroup 55 2K 2K 166960K 226 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 36K 166960K 158 0 ioctlops 0 0K 4K 166960K 1595 0 iov 0 0K 16K 166960K 199 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1420 89K 90K 166960K 2496 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 12 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 156 0 dirhash 12 2K 2K 166960K 33 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 17 61K 97K 166960K 1517 0 sigio 0 0K 0K 166960K 21 0 proc 72 91K 140K 166960K 1538 0 subproc 104 6K 6K 166960K 534 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 148 0 in_multi 99 7K 7K 166960K 500 0 ether_multi 1 0K 0K 166960K 13 0 mrt 1 0K 0K 166960K 6 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 966 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 242 73K 105K 166960K 13664 0 UVM aobj 36 5K 5K 166960K 40 0 pinsyscall 42 84K 110K 166960K 3487 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 60 0 NDP 12 0K 2K 166960K 141 0 temp 76 6824K 6889K 166960K 74608 0 kqueue 14 22K 32K 166960K 154 0 SYN cache 2 9K 17K 166960K 3 0 ddb{0}> 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 172 0 169 1 0 1 1 0 8 0 rtentry 112 509 0 407 4 1 3 4 0 8 0 unpcb 144 866 0 848 6 5 1 4 0 8 0 syncache 336 11 0 11 4 3 1 1 0 8 1 tcpqe 32 5 0 5 2 1 1 1 0 8 1 tcpcb 808 451 0 442 15 10 5 8 0 8 3 arp 120 94 0 75 1 0 1 1 0 8 0 inpcb 336 1576 0 1560 20 16 4 12 0 8 2 nd6 136 127 0 103 1 0 1 1 0 8 0 pkpcb 40 4 0 4 4 4 0 1 0 8 0 kcovpl 48 41 0 33 1 0 1 1 0 8 0 ppxss 1168 10 0 10 2 2 0 1 0 8 0 pffrag 232 8 0 2 1 0 1 1 0 482 0 pffrnode 88 8 0 2 1 0 1 1 0 8 0 pffrent 40 76 0 70 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 pfrktable 1344 1 0 0 1 0 1 1 0 8 0 pfanchor 1288 5 0 0 1 0 1 1 0 8 0 pftag 88 3 0 1 1 0 1 1 0 8 0 pfstitem 24 139 0 74 1 0 1 1 0 8 0 pfstkey 128 139 0 74 3 0 3 3 0 8 0 pfstate 376 138 0 74 7 0 7 7 0 8 0 pfrule 1344 32 0 22 2 0 2 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 1986 0 1538 30 1 29 29 0 8 1 art_table 32 1988 0 1538 4 0 4 4 0 8 0 art_node 16 508 0 417 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semapl 112 154 0 144 1 0 1 1 0 8 0 shmpl 112 37 0 4 1 0 1 1 0 8 0 dirhash 1024 31 0 14 3 0 3 3 0 8 0 dino2pl 256 3246 0 1679 99 0 99 99 0 8 0 ffsino 272 3246 0 1679 105 0 105 105 0 8 0 nchpl 144 4746 0 3012 65 0 65 65 0 8 0 uvmvnodes 80 4182 0 0 86 0 86 86 0 8 0 vnodes 216 4182 0 0 233 0 233 233 0 8 0 namei 1024 20027 0 20027 3 2 1 2 0 8 1 percpumem 16 93 0 47 1 0 1 1 0 8 0 kstatmem 264 118 0 94 2 0 2 2 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 28352 0 28352 13 11 2 8 1 8 2 plimitpl 152 334 0 315 1 0 1 1 0 8 0 sigapl 424 1801 0 1730 14 5 9 9 0 8 0 futexpl 64 14523 0 14520 3 2 1 1 0 8 0 knotepl 120 793 0 0 25 1 24 25 0 8 0 kqueuepl 216 477 0 466 12 7 5 6 0 8 4 pipepl 320 442 0 414 11 8 3 8 0 8 0 fdescpl 496 1741 0 1710 8 3 5 6 0 8 0 filepl 152 10530 0 10266 32 18 14 20 0 8 3 lockfpl 104 307 0 303 1 0 1 1 0 8 0 lockfspl 48 133 0 130 1 0 1 1 0 8 0 sessionpl 144 62 0 53 1 0 1 1 0 8 0 pgrppl 48 121 0 104 1 0 1 1 0 8 0 ucredpl 104 1235 0 1221 1 0 1 1 0 8 0 zombiepl 144 1732 0 1730 1 0 1 1 0 8 0 processpl 1160 1801 0 1730 8 2 6 6 0 8 0 procpl 648 3316 0 3235 12 4 8 8 0 8 1 srpgc 96 5 0 5 3 3 0 1 0 8 0 sosppl 168 2 0 2 2 2 0 1 0 8 0 sockpl 664 2629 0 2592 23 17 6 15 0 8 2 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 7 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 239 0 0 30 0 30 30 0 8 0 mtagpl 96 129 0 0 2 0 2 2 0 8 0 mbufpl 256 347 0 0 20 0 20 20 0 8 0 bufpl 280 9504 0 3206 450 0 450 450 0 8 0 anonpl 24 286595 0 282192 60 4 56 56 0 185 12 amapchunkpl 152 43500 0 42949 47 10 37 42 0 158 12 amappl16 200 6345 0 6319 45 31 14 15 0 8 9 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 205 0 193 1 0 1 1 0 8 0 amappl13 176 7 0 7 1 1 0 1 0 8 0 amappl12 168 2918 0 2886 4 2 2 3 0 8 0 amappl11 160 83 0 69 1 0 1 1 0 8 0 amappl10 152 52 0 52 1 1 0 1 0 8 0 amappl9 144 167 0 167 1 1 0 1 0 8 0 amappl8 136 22 0 19 1 0 1 1 0 8 0 amappl7 128 197 0 184 1 0 1 1 0 8 0 amappl6 120 499 0 497 1 0 1 1 0 8 0 amappl5 112 272 0 260 1 0 1 1 0 8 0 amappl4 104 445 0 426 1 0 1 1 0 8 0 amappl3 96 8829 0 8715 4 0 4 4 0 8 0 amappl2 88 1212 0 1141 2 0 2 2 0 8 0 amappl1 80 14967 0 14407 16 2 14 15 0 8 1 amappl 88 12919 0 12738 5 0 5 5 0 92 0 dma8192 8192 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 39 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1741 0 1710 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1741 0 1710 1 0 1 1 0 8 0 vmmpekpl 168 15718 0 15671 4 1 3 3 0 8 0 vmmpepl 168 114566 0 112708 114 20 94 95 0 357 6 vmsppl 440 1740 0 1710 6 2 4 5 0 8 0 rwobjpl 56 38283 0 33130 78 2 76 76 0 8 2 pdppl 4096 3489 0 3420 153 80 73 87 0 8 4 pvpl 32 29772 0 0 242 2 240 240 0 265 0 pmappl 248 1740 0 1710 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 494 0 117 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace memset() at memset+0x49 ffs_write(ffff80002a06a750) at ffs_write+0xbab sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd80686c6978,ffff80002a06a808,3,fffffd807f7d3618) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff8000ffffd6d8,fffffd80686c6978,fffffd807f7d3618,ffff80002a06a8d0,ffff80002a06a8b0) at ktrwriteraw+0x1bc sys/kern/kern_ktrace.c:682 ktrsyscall(ffff8000ffffd6d8,79,18,ffff80002a06aa60) at ktrsyscall+0x31d sys/kern/kern_ktrace.c:182 syscall(ffff80002a06aa60) at syscall+0x2eb mi_syscall sys/sys/syscall_mi.h:157 [inline] syscall(ffff80002a06aa60) at syscall+0x2eb sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x70b0a3922250, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) 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 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu.c:1219 sched_idle(ffff800029b7bff0) at sched_idle+0x558 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) 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 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu.c:1219 sched_idle(ffff800029b7bff0) at sched_idle+0x558 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: -5