uvm_fault(0xffffffff83aaac00, 0xffff800028362000, 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 *248144 95150 0 0x2 0x1 0 syz-executor ffs2_balloc(fffffb806bf42c00,31088,58,fffffb8007ffd8f0,1,ffff80002a7f3218) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7f32a0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffb806a988e90,ffff80002a7f3350,3,fffffb8007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a779238,fffffb806a988e90,fffffb8007ffd8f0,ffff80002a7f3420,ffff80002a7f3400) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a779238,88,10,ffff80002a7f35a0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a779238,88,10,ffff80002a7f35a0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a7f35a0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a7f35a0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b00e76b3920, 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(0xffffffff83aaac00, 0xffff800028362000, 0, 1) -> d ddb> trace ffs2_balloc(fffffb806bf42c00,31088,58,fffffb8007ffd8f0,1,ffff80002a7f3218) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7f32a0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffb806a988e90,ffff80002a7f3350,3,fffffb8007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a779238,fffffb806a988e90,fffffb8007ffd8f0,ffff80002a7f3420,ffff80002a7f3400) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a779238,88,10,ffff80002a7f35a0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a779238,88,10,ffff80002a7f35a0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a7f35a0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a7f35a0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b00e76b3920, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a7f31c0 rbx 0xfffffb806bf42c00 rdx 0 rcx 0xffff800028362000 rax 0 r8 0xffffffffffffffff r9 0xffff80002a7f3218 r10 0x746a9dc56b2ce483 r11 0x2f9ddabe6a20e0ce r12 0x1 r13 0xffff800000c47800 r14 0xffff80002a7f3060 r15 0xfffffb8068288aa8 rip 0xffffffff81f78c1a ffs2_balloc+0xa0a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a7f3050 ss 0x10 ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 ddb> show proc PROC (syz-executor) tid=248144 pid=95150 tcnt=1 stat=onproc flags process=2 proc=1 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a778540,0xffff80002a779ca8 process=0xffff80002a79db10 user=0xffff80002a7ee000, vmspace=0xfffffb807ec61e60 estcpu=36, cpticks=8, pctcpu=0.1, user=0, sys=8, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 97836 175680 55724 0 2 0 syz-executor 97836 285609 55724 0 2 0x4000000 syz-executor 97836 333884 55724 0 3 0x4000080 fsleep syz-executor 80257 79521 67563 0 3 0x3000 suspend syz-executor 80257 319139 67563 0 2 0x4081000 syz-executor 59745 269808 89493 0 2 0xc80 syz-executor 59745 95663 89493 0 3 0x4000080 netcon syz-executor 59745 56135 89493 0 3 0x4000080 fsleep syz-executor 95694 115948 90580 0 3 0x80 fsleep syz-executor 95694 153079 90580 0 3 0x4000080 kqread syz-executor 95694 318116 90580 0 3 0x4000080 fsleep syz-executor 16224 256552 64934 0 2 0xc82 syz-executor 37482 200758 1 0 3 0x100083 ttyin getty 99798 216423 0 0 3 0x14280 nfsidl nfsio 26398 38286 0 0 3 0x14280 nfsidl nfsio 97164 315700 0 0 3 0x14280 nfsidl nfsio 20496 365925 0 0 3 0x14280 nfsidl nfsio 99726 140364 0 0 3 0x14280 nfsidl nfsio 10416 309787 0 0 3 0x14280 nfsidl nfsio 68178 300588 0 0 3 0x14280 nfsidl nfsio 16685 266088 0 0 3 0x14280 nfsidl nfsio 60930 182385 0 0 3 0x14280 nfsidl nfsio 94603 472181 0 0 3 0x14280 nfsidl nfsio 70777 107285 0 0 3 0x14280 nfsidl nfsio 49220 472105 0 0 3 0x14280 nfsidl nfsio 73630 153859 0 0 3 0x14280 nfsidl nfsio 90856 395462 0 0 3 0x14280 nfsidl nfsio 13465 263121 0 0 3 0x14280 nfsidl nfsio 24203 523734 0 0 3 0x14280 nfsidl nfsio 84169 289658 0 0 3 0x14280 nfsidl nfsio 48212 75078 0 0 3 0x14280 nfsidl nfsio 18469 315562 0 0 3 0x14280 nfsidl nfsio 29415 145009 0 0 3 0x14280 nfsidl nfsio 4744 271358 64934 0 2 0x2 syz-executor 55724 97202 64934 0 2 0xc82 syz-executor 20627 9198 64934 0 2 0x2 syz-executor 90580 101731 64934 0 2 0xc82 syz-executor 89493 296236 64934 0 2 0xc82 syz-executor 67563 241262 64934 0 2 0xc82 syz-executor *95150 248144 64934 0 7 0x3 syz-executor 64934 92985 1 0 3 0x82 kqread syz-executor 77828 153562 79039 0 3 0x98 kqread sshd-session 79039 442750 1 0 3 0x92 kqread sshd-session 88375 43305 1 73 3 0x1100090 kqread syslogd 42336 364420 0 0 3 0x14200 bored smr 23331 363156 0 0 2 0x14200 zerothread 33932 387733 0 0 3 0x14200 aiodoned aiodoned 97298 8039 0 0 3 0x14200 syncer update 54053 466596 0 0 3 0x14200 cleaner cleaner 61377 461737 0 0 3 0x14200 reaper reaper 90015 367084 0 0 3 0x14200 pgdaemon pagedaemon 41479 149798 0 0 3 0x14200 bored viomb 44115 1254 0 0 3 0x40014200 acpi0 acpi0 77283 390599 0 0 3 0x14200 bored softnet0 60162 490845 0 0 3 0x14200 bored systqmp 55167 39307 0 0 3 0x14200 bored systq 65830 345925 0 0 2 0x40014200 softclock 32318 350867 0 0 3 0x40014200 idle0 1 336523 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 11052 12119K 12443K 166960K 13052 0 pcb 20 13K 14K 166960K 159 0 rtable 243 10K 10K 166960K 535 0 pf 31 13K 72K 166960K 92 0 ifaddr 43 7K 8K 166960K 73 0 ifgroup 50 2K 2K 166960K 106 0 sysctl 4 1K 9K 166960K 15 0 counters 33 17K 18K 166960K 59 0 ioctlops 0 0K 4K 166960K 265 0 iov 0 0K 16K 166960K 35 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1357 85K 86K 166960K 1932 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 0K 166960K 36 0 dirhash 12 2K 2K 166960K 27 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 81K 166960K 676 0 sigio 0 0K 0K 166960K 5 0 proc 20 25K 91K 166960K 634 0 subproc 72 4K 4K 166960K 90 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 134 0 in_multi 103 7K 7K 166960K 139 0 ether_multi 1 0K 0K 166960K 2 0 mrt 0 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 211 943K 943K 166960K 211 0 exec 0 0K 1K 166960K 666 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 152 99K 177K 166960K 7675 0 UVM aobj 19 2K 2K 166960K 21 0 pinsyscall 23 46K 88K 166960K 1842 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 33 0 NDP 11 0K 1K 166960K 49 0 temp 76 9116K 9135K 166960K 25690 0 kqueue 7 12K 30K 166960K 119 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 144 0 144 2 0 2 2 0 8 2 rtentry 136 147 0 44 4 0 4 4 0 8 0 unpcb 144 592 0 582 6 0 6 6 0 8 5 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 736 131 0 128 1 0 1 1 0 8 0 arp 96 24 0 5 1 0 1 1 0 8 0 ipq 40 1 0 1 1 0 1 1 0 8 1 ipqe 40 2 0 2 1 0 1 1 0 8 1 inpcb 328 506 0 500 4 0 4 4 0 8 3 nd6 112 35 0 9 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 mppekey 1024 1 0 1 1 0 1 1 0 8 1 ppxss 1072 18 0 18 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 0 1 1 0 8 1 pfstscr 40 1 0 0 1 0 1 1 0 8 0 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrktable 1344 1 0 1 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pftag 88 2 0 2 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 2 0 0 1 0 1 1 0 8 0 pfstate 384 1 0 0 1 0 1 1 0 8 0 pfrule 1360 6 0 6 1 0 1 1 0 8 1 rttmr 136 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 676 0 191 32 0 32 32 0 8 1 art_table 40 678 0 191 6 0 6 6 0 8 0 art_node 32 146 0 54 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 5 1 0 1 1 0 8 0 semapl 72 32 0 22 1 0 1 1 0 8 0 shmpl 112 18 0 2 1 0 1 1 0 8 0 dirhash 1024 27 0 10 3 0 3 3 0 8 0 dino2pl 256 2539 0 1070 93 0 93 93 0 8 0 ffsino 256 2539 0 1070 93 0 93 93 0 8 0 nchpl 144 3433 0 1732 64 0 64 64 0 8 0 rtmask 32 6 0 6 1 0 1 1 0 8 1 vnodes 216 2997 0 0 167 0 167 167 0 8 0 namei 1024 12312 0 12311 2 0 2 2 0 8 1 kstatmem 264 59 0 36 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 17744 0 17744 8 0 8 8 1 8 8 plimitpl 152 163 0 148 1 0 1 1 0 8 0 sigapl 424 991 0 938 8 0 8 8 0 8 0 knotepl 120 21538 0 21298 10 0 10 10 0 8 2 kqueuepl 184 176 0 170 1 0 1 1 0 8 0 pipepl 304 334 0 307 5 0 5 5 0 8 2 fdescpl 448 958 0 938 4 0 4 4 0 8 0 filepl 120 5772 0 5584 14 0 14 14 0 8 5 lockfpl 104 222 0 221 1 0 1 1 0 8 0 lockfspl 48 100 0 99 1 0 1 1 0 8 0 sessionpl 144 112 0 107 1 0 1 1 0 8 0 pgrppl 48 127 0 114 1 0 1 1 0 8 0 ucredpl 104 792 0 784 1 0 1 1 0 8 0 zombiepl 144 940 0 938 1 0 1 1 0 8 0 processpl 1152 991 0 938 5 0 5 5 0 8 0 procpl 664 1762 0 1702 7 0 7 7 0 8 1 sosppl 176 3 0 2 1 0 1 1 0 8 0 sockpl 552 1273 0 1257 13 3 10 13 0 8 8 mcl64k 65536 23 0 23 1 0 1 1 0 8 1 mcl9k128 9344 2 0 2 1 0 1 1 0 8 1 mcl8k 8192 11 0 11 1 0 1 1 0 8 1 mcl4k 4096 3196 0 3140 15 0 15 15 0 8 7 mcl2k 2048 524 0 522 3 0 3 3 0 8 2 mtagpl 96 15 0 8 1 0 1 1 0 8 0 mbufpl 256 9756 0 9560 18 0 18 18 0 8 1 bufpl 272 7391 0 1175 415 0 415 415 0 8 0 anonpl 24 145192 0 142301 53 0 53 53 0 186 19 amapchunkpl 152 25429 0 25066 35 0 35 35 0 158 12 amappl16 200 2179 0 2107 19 4 15 19 0 8 8 amappl15 192 8 0 8 1 0 1 1 0 8 1 amappl14 184 450 0 450 1 0 1 1 0 8 1 amappl13 176 121 0 117 1 0 1 1 0 8 0 amappl12 168 1205 0 1186 2 0 2 2 0 8 0 amappl11 160 7 0 7 1 0 1 1 0 8 1 amappl10 152 58 0 56 1 0 1 1 0 8 0 amappl9 144 285 0 285 1 0 1 1 0 8 1 amappl8 136 102 0 101 1 0 1 1 0 8 0 amappl7 128 153 0 148 1 0 1 1 0 8 0 amappl6 120 198 0 197 1 0 1 1 0 8 0 amappl5 112 93 0 89 1 0 1 1 0 8 0 amappl4 104 270 0 264 1 0 1 1 0 8 0 amappl3 96 4877 0 4798 4 0 4 4 0 8 0 amappl2 88 557 0 532 2 0 2 2 0 8 0 amappl1 80 12544 0 12235 13 0 13 13 0 8 1 amappl 88 6796 0 6671 5 0 5 5 0 92 0 uvmvnodes 80 109 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 6 0 6 1 0 1 1 0 8 1 dma128 128 255 0 255 1 0 1 1 0 8 1 dma64 64 6 0 6 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 20 0 2 1 0 1 1 0 8 0 uaddrrnd 24 958 0 938 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 958 0 938 1 0 1 1 0 8 0 vmmpekpl 168 9759 0 9716 3 0 3 3 0 8 0 vmmpepl 168 67706 0 66518 94 0 94 94 0 357 19 vmsppl 368 957 0 938 4 0 4 4 0 8 1 rwobjpl 40 20140 0 19476 14 0 14 14 0 8 2 pdppl 4096 1922 0 1876 100 48 52 74 0 8 6 pvpl 32 417870 0 411475 124 0 124 124 0 265 42 pmappl 216 957 0 938 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 793 0 48 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs2_balloc(fffffb806bf42c00,31088,58,fffffb8007ffd8f0,1,ffff80002a7f3218) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7f32a0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffb806a988e90,ffff80002a7f3350,3,fffffb8007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a779238,fffffb806a988e90,fffffb8007ffd8f0,ffff80002a7f3420,ffff80002a7f3400) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a779238,88,10,ffff80002a7f35a0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a779238,88,10,ffff80002a7f35a0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a7f35a0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a7f35a0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b00e76b3920, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace ffs2_balloc(fffffb806bf42c00,31088,58,fffffb8007ffd8f0,1,ffff80002a7f3218) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a7f32a0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffb806a988e90,ffff80002a7f3350,3,fffffb8007ffd8f0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a779238,fffffb806a988e90,fffffb8007ffd8f0,ffff80002a7f3420,ffff80002a7f3400) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsyscall(ffff80002a779238,88,10,ffff80002a7f35a0) at ktrsyscall+0x332 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80002a779238,88,10,ffff80002a7f35a0) at ktrsyscall+0x332 sys/kern/kern_ktrace.c:183 syscall(ffff80002a7f35a0) at syscall+0x2bc mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a7f35a0) at syscall+0x2bc sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7b00e76b3920, count: -7