login: uvm_fault(0xffffffff83a99b28, 0xffff8000289a2000, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND * 94393 77202 0 0x2 0x1 0 syz-executor ffs2_balloc(ffffef806d441e00,33b75,60,ffffef8007ffd6e8,1,ffff80002a795478) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a795500) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(ffffef807a18fcd8,ffff80002a7955b0,3,ffffef8007ffd6e8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766fa0,ffffef807a18fcd8,ffffef8007ffd6e8,ffff80002a795680,ffff80002a795660) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a766fa0,4,18,ffff80002a795800) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a766fa0,4,18,ffff80002a795800) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a795800) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a795800) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e69b2df62f0, 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(0xffffffff83a99b28, 0xffff8000289a2000, 0, 1) -> d ddb> show kasan No such command ddb> trace ffs2_balloc(ffffef806d441e00,33b75,60,ffffef8007ffd6e8,1,ffff80002a795478) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a795500) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(ffffef807a18fcd8,ffff80002a7955b0,3,ffffef8007ffd6e8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766fa0,ffffef807a18fcd8,ffffef8007ffd6e8,ffff80002a795680,ffff80002a795660) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a766fa0,4,18,ffff80002a795800) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a766fa0,4,18,ffff80002a795800) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a795800) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a795800) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e69b2df62f0, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a795420 rbx 0xffffef806d441e00 rdx 0 rcx 0xffff8000289a2000 rax 0 r8 0xffffffffffffffff r9 0xffff80002a795478 r10 0x914589ec95eba8dc r11 0xa8ae1c16b7f1f7a0 r12 0x1 r13 0xffff800000c48800 r14 0xffff80002a7952c0 r15 0xffffef80609c5bb0 rip 0xffffffff82b352ca ffs2_balloc+0xa0a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a7952b0 ss 0x10 ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 ddb> show proc PROC (syz-executor) tid=94393 pid=77202 tcnt=1 stat=onproc flags process=2 proc=1 runpri=76, usrpri=77, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a766a70,0xffff80002a766550 process=0xffff80002a79e890 user=0xffff80002a790000, vmspace=0xffffef807f22d2e0 estcpu=27, cpticks=17, pctcpu=0.0, user=5, sys=11, intr=0 ddb> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 55217 244347 45866 0 2 0x100000 0 sh 45866 473044 1878 0 3 0x100002 0x88 sigsusp sh 79833 347455 76099 0 2 0 0 syz-executor 79833 241771 76099 0 3 0 0x4000080 msgwait syz-executor 40306 40062 32052 0 2 0 0 syz-executor 40306 326356 32052 0 3 0 0x4000080 fsleep syz-executor 40306 153764 32052 0 3 0 0x4000080 fsleep syz-executor 40306 166675 32052 0 3 0 0x4000080 fsleep syz-executor 49972 454288 40848 -1 2 0x10 0 syz-executor 49972 158240 40848 -1 3 0x10 0x4000080 fsleep syz-executor 15031 176910 16675 0 2 0 0 syz-executor 15031 389571 16675 0 3 0 0x4000080 fsleep syz-executor 90010 388633 77849 0 2 0 0 syz-executor 90010 359526 77849 0 3 0 0x4000080 fsleep syz-executor 1878 75430 77202 0 3 0x2 0x80 wait syz-executor 35203 313038 1 0 3 0x100003 0x80 ttyin getty 34666 513813 0 0 3 0x14000 0x200 acct acct 56652 227260 0 0 3 0x14000 0x280 nfsidl nfsio 89204 353061 0 0 3 0x14000 0x280 nfsidl nfsio 38738 74803 0 0 3 0x14000 0x280 nfsidl nfsio 98390 423632 0 0 3 0x14000 0x280 nfsidl nfsio 89890 363601 0 0 3 0x14000 0x280 nfsidl nfsio 89021 231822 0 0 3 0x14000 0x280 nfsidl nfsio 86069 290610 0 0 3 0x14000 0x280 nfsidl nfsio 94576 35779 0 0 3 0x14000 0x280 nfsidl nfsio 68591 400961 0 0 3 0x14000 0x280 nfsidl nfsio 60185 408923 0 0 3 0x14000 0x280 nfsidl nfsio 23689 299912 0 0 3 0x14000 0x280 nfsidl nfsio 75879 303940 0 0 3 0x14000 0x280 nfsidl nfsio 97504 330620 0 0 3 0x14000 0x280 nfsidl nfsio 85809 390383 0 0 3 0x14000 0x280 nfsidl nfsio 14508 91702 0 0 3 0x14000 0x280 nfsidl nfsio 40347 50812 0 0 3 0x14000 0x280 nfsidl nfsio 76129 495568 0 0 3 0x14000 0x280 nfsidl nfsio 63250 50149 0 0 3 0x14000 0x280 nfsidl nfsio 81757 89971 0 0 3 0x14000 0x280 nfsidl nfsio 42433 427000 0 0 3 0x14000 0x280 nfsidl nfsio 32052 83804 77202 0 3 0x2 0x80 nanoslp syz-executor 55232 446154 77202 0 3 0x2 0x80 piperd syz-executor 40848 415204 77202 0 3 0x2 0x80 nanoslp syz-executor 16675 206553 77202 0 2 0x2 0xc80 syz-executor 99213 400264 77202 0 3 0x2 0x80 piperd syz-executor 77849 453725 77202 0 2 0x2 0xc80 syz-executor 76099 433724 77202 0 2 0x2 0xc80 syz-executor *77202 94393 1 0 7 0x2 0x1 syz-executor 11563 221235 1 0 3 0x2 0x88 kqread sshd 2542 460130 97582 73 3 0x1100010 0x80 kqread syslogd 97582 376530 1 0 3 0x100002 0x80 sbwait syslogd 13160 503508 1 0 3 0x100000 0x80 kqread resolvd 12095 329898 54638 77 3 0x100012 0x80 kqread dhcpleased 3318 523410 54638 77 3 0x100012 0x80 kqread dhcpleased 54638 335663 1 0 3 0 0x80 kqread dhcpleased 107 255039 0 0 3 0x14000 0x200 bored smr 41073 110472 0 0 2 0x14000 0x200 zerothread 78582 439219 0 0 3 0x14000 0x200 aiodoned aiodoned 94121 167860 0 0 3 0x14000 0x200 syncer update 4907 474224 0 0 3 0x14000 0x200 cleaner cleaner 18234 417941 0 0 3 0x14000 0x200 reaper reaper 53558 249452 0 0 3 0x14000 0x200 pgdaemon pagedaemon 65983 216796 0 0 3 0x14000 0x200 bored viomb 18495 321178 0 0 3 0x14000 0x40000200 acpi0 acpi0 80062 390625 0 0 3 0x14000 0x200 bored softnet0 19920 9748 0 0 3 0x14000 0x200 bored systqmp 78576 439927 0 0 3 0x14000 0x200 bored systq 44430 251504 0 0 3 0x14000 0x40000200 tmoslp softclock 56659 6402 0 0 3 0x14000 0x40000200 idle0 1 353676 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11064 12166K 13218K 166960K 13108 0 pcb 17 13K 14K 166960K 163 0 rtable 183 7K 12K 166960K 926 0 pf 30 13K 20K 166960K 521 0 ifaddr 32 5K 7K 166960K 99 0 ifgroup 46 2K 2K 166960K 144 0 sysctl 4 1K 9K 166960K 15 0 counters 32 17K 18K 166960K 66 0 ioctlops 0 0K 4K 166960K 245 0 iov 0 0K 16K 166960K 26 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1453 91K 92K 166960K 2322 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 12 0K 0K 166960K 66 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 17 61K 97K 166960K 861 0 sigio 0 0K 0K 166960K 17 0 proc 60 59K 124K 166960K 813 0 subproc 72 4K 4K 166960K 153 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 72 0 in_multi 65 4K 6K 166960K 204 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 21 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 229 1023K 1023K 166960K 229 0 exec 0 0K 1K 166960K 529 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 191 135K 179K 166960K 8689 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 33 66K 96K 166960K 2196 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 26 0 NDP 10 0K 2K 166960K 70 0 temp 43 9112K 9171K 166960K 24004 0 kqueue 14 22K 30K 166960K 162 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 158 0 155 3 0 3 3 0 8 2 rtentry 136 204 0 128 4 0 4 4 0 8 0 unpcb 144 418 0 404 4 0 4 4 0 8 3 syncache 336 15 0 15 1 0 1 1 0 8 1 tcpqe 32 4 0 4 1 0 1 1 0 8 1 tcpcb 736 326 0 317 8 0 8 8 0 8 6 arp 96 35 0 23 1 0 1 1 0 8 0 ipq 40 3 0 0 1 0 1 1 0 8 0 ipqe 40 67 0 64 1 0 1 1 0 8 0 inpcb 328 782 0 770 8 0 8 8 0 8 6 nd6 112 51 0 35 1 0 1 1 0 8 0 pkpcb 40 7 0 7 1 0 1 1 0 8 1 kcovpl 48 17 0 9 1 0 1 1 0 8 0 ppxss 1072 16 0 16 1 0 1 1 0 8 1 pfstscr 40 10 0 7 1 0 1 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 124 0 124 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfstlim 224 1 0 1 1 0 1 1 0 8 1 pfanchor 1288 45 0 40 1 0 1 1 0 8 0 pftag 88 4 0 2 1 0 1 1 0 8 0 pfstitem 24 3 0 0 1 0 1 1 0 8 0 pfstkey 128 11 0 8 1 0 1 1 0 8 0 pfstate 384 6 0 4 1 0 1 1 0 8 0 pfrule 1360 46 0 46 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 845 0 529 30 0 30 30 0 8 6 art_table 40 846 0 529 5 0 5 5 0 8 0 art_node 32 203 0 135 1 0 1 1 0 8 0 sysvmsgpl 40 66 0 66 1 0 1 1 0 8 1 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 72 64 0 54 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2806 0 1330 93 0 93 93 0 8 0 ffsino 256 2806 0 1330 93 0 93 93 0 8 0 nchpl 144 3851 0 2117 65 0 65 65 0 8 0 rtmask 32 4 0 4 1 0 1 1 0 8 1 vnodes 216 3499 0 0 195 0 195 195 0 8 0 namei 1024 14133 0 14133 2 0 2 2 0 8 2 pfiaddrpl 120 40 0 40 1 0 1 1 0 8 1 kstatmem 264 77 0 56 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 19733 0 19733 8 0 8 8 1 8 8 plimitpl 152 312 0 298 1 0 1 1 0 8 0 sigapl 424 1163 0 1103 8 0 8 8 0 8 0 knotepl 120 30786 0 30542 33 23 10 24 0 8 2 kqueuepl 184 212 0 202 3 0 3 3 0 8 2 pipepl 304 247 0 219 5 0 5 5 0 8 2 fdescpl 448 1129 0 1103 5 0 5 5 0 8 1 filepl 120 7159 0 6955 13 0 13 13 0 8 5 lockfpl 104 201 0 199 1 0 1 1 0 8 0 lockfspl 48 92 0 90 1 0 1 1 0 8 0 sessionpl 144 51 0 44 1 0 1 1 0 8 0 pgrppl 48 74 0 59 1 0 1 1 0 8 0 ucredpl 104 1400 0 1389 1 0 1 1 0 8 0 zombiepl 144 1103 0 1103 1 0 1 1 0 8 1 processpl 1152 1163 0 1103 5 0 5 5 0 8 0 procpl 664 2077 0 2010 7 0 7 7 0 8 0 sosppl 176 4 0 4 1 0 1 1 0 8 1 sockpl 552 1450 0 1421 9 0 9 9 0 8 6 mcl64k 65536 125 0 125 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k128 9344 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 12 0 12 1 0 1 1 0 8 1 mcl4k 4096 3389 0 3334 14 0 14 14 0 8 5 mcl2k 2048 708 0 705 3 0 3 3 0 8 2 mextrefs 64 319 0 319 1 0 1 1 0 8 1 mtagpl 96 4 0 4 1 0 1 1 0 8 1 mbufpl 256 12079 0 11929 25 4 21 22 0 8 8 bufpl 272 7393 0 1177 415 0 415 415 0 8 0 anonpl 24 167113 0 164448 49 0 49 49 0 187 14 amapchunkpl 152 29034 0 28640 34 0 34 34 0 158 17 amappl16 200 2992 0 2960 19 6 13 15 0 8 8 amappl15 192 24 0 24 1 0 1 1 0 8 1 amappl14 184 515 0 514 1 0 1 1 0 8 0 amappl13 176 136 0 128 1 0 1 1 0 8 0 amappl12 168 1397 0 1373 2 0 2 2 0 8 0 amappl11 160 29 0 29 1 0 1 1 0 8 1 amappl10 152 60 0 50 1 0 1 1 0 8 0 amappl9 144 273 0 272 1 0 1 1 0 8 0 amappl8 136 128 0 127 1 0 1 1 0 8 0 amappl7 128 173 0 163 1 0 1 1 0 8 0 amappl6 120 235 0 233 1 0 1 1 0 8 0 amappl5 112 99 0 92 1 0 1 1 0 8 0 amappl4 104 306 0 291 1 0 1 1 0 8 0 amappl3 96 5707 0 5616 4 0 4 4 0 8 1 amappl2 88 608 0 562 2 0 2 2 0 8 0 amappl1 80 13996 0 13615 13 0 13 13 0 8 4 amappl 88 7747 0 7613 4 0 4 4 0 92 0 uvmvnodes 80 113 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 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 6 0 6 1 0 1 1 0 8 1 dma128 128 253 0 253 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1129 0 1103 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1129 0 1103 1 0 1 1 0 8 0 vmmpekpl 168 10652 0 10613 3 0 3 3 0 8 0 vmmpepl 168 78299 0 76884 92 0 92 92 0 357 26 vmsppl 368 1128 0 1103 4 0 4 4 0 8 1 rwobjpl 40 23306 0 22482 13 0 13 13 0 8 0 pdppl 4096 2264 0 2206 116 54 62 82 0 8 4 pvpl 32 478608 0 471857 122 0 122 122 0 265 38 pmappl 216 1128 0 1103 3 0 3 3 0 8 1 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 820 0 58 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs2_balloc(ffffef806d441e00,33b75,60,ffffef8007ffd6e8,1,ffff80002a795478) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a795500) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(ffffef807a18fcd8,ffff80002a7955b0,3,ffffef8007ffd6e8) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a766fa0,ffffef807a18fcd8,ffffef8007ffd6e8,ffff80002a795680,ffff80002a795660) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a766fa0,4,18,ffff80002a795800) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a766fa0,4,18,ffff80002a795800) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a795800) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a795800) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e69b2df62f0, count: -7 ddb>