login: uvm_fault(0xffffffff83a7a4e8, 0xffff800029ae2118, 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 *460311 92084 0 0x2 0x1 0 syz-executor ffs2_balloc(fffffd8072c33400,bd5ed,50,fffffd8007ffd9c0,1,ffff80002a848d38) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a848dc0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806ad8fb28,ffff80002a848e70,3,fffffd8007ffd9c0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a737230,fffffd806ad8fb28,fffffd8007ffd9c0,ffff80002a848f40,ffff80002a848f20) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a737230,5b,0,ffff80002a849000) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a737230,5b,0,ffff80002a849000) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8490b0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8490b0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x769ed9248470, 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(0xffffffff83a7a4e8, 0xffff800029ae2118, 0, 1) -> d ddb> trace ffs2_balloc(fffffd8072c33400,bd5ed,50,fffffd8007ffd9c0,1,ffff80002a848d38) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a848dc0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806ad8fb28,ffff80002a848e70,3,fffffd8007ffd9c0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a737230,fffffd806ad8fb28,fffffd8007ffd9c0,ffff80002a848f40,ffff80002a848f20) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a737230,5b,0,ffff80002a849000) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a737230,5b,0,ffff80002a849000) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8490b0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8490b0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x769ed9248470, count: -7 ddb> show registers rdi 0 rsi 0 rbp 0xffff80002a848ce0 rbx 0xfffffd8072c33400 rdx 0 rcx 0xffff800029ae2000 rax 0x23 r8 0xffffffffffffffff r9 0xffff80002a848d38 r10 0x5fb72acfb383ff1 r11 0x265455c9d3ac9793 r12 0x1 r13 0xffff800000c47800 r14 0xffff80002a848b80 r15 0xfffffd805fa63380 rip 0xffffffff8302bada ffs2_balloc+0xa0a cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a848b70 ss 0x10 ffs2_balloc+0xa0a: movq 0(%rcx,%rax,8),%r14 ddb> show proc PROC (syz-executor) tid=460311 pid=92084 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=81, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a7374c8,0xffff80002a736548 process=0xffff80002a79df90 user=0xffff80002a844000, vmspace=0xfffffd80730292e8 estcpu=31, cpticks=9, pctcpu=0.1, user=0, sys=8, intr=1 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 91180 123068 63084 0 2 0 syz-executor 91180 322419 63084 0 3 0x4000080 fsleep syz-executor 66065 107478 31845 0 2 0 syz-executor 66065 260843 31845 0 3 0x4000080 fsleep syz-executor 58554 109884 33862 0 3 0x80 nanoslp syz-executor 58554 249258 33862 0 3 0x4000080 msgwait syz-executor 58554 359721 33862 0 3 0x4000080 fsleep syz-executor 50195 33443 97175 0 2 0xc80 syz-executor 50195 178277 97175 0 3 0x4000080 sbwait syz-executor 50195 153752 97175 0 3 0x4000080 fsleep syz-executor 44024 104296 46030 0 2 0xc90 syz-executor 44024 72134 46030 0 3 0x4000090 kqsel syz-executor 44024 14150 46030 0 3 0x4000090 fsleep syz-executor 40066 183138 92084 0 3 0x80 nanoslp syz-executor 40066 257834 92084 0 3 0x4000080 sbwait syz-executor 40066 32589 92084 0 3 0x4000080 fsleep syz-executor 98643 179677 6712 0 3 0x80 nanoslp syz-executor 98643 295008 6712 0 3 0x4000080 ttyout syz-executor 98643 356410 6712 0 3 0x4000080 fsleep syz-executor 25903 322139 1 0 3 0x100083 ttyin getty 33141 218134 0 0 3 0x14280 nfsidl nfsio 84861 178681 0 0 3 0x14280 nfsidl nfsio 87866 98216 0 0 3 0x14280 nfsidl nfsio 49901 165973 0 0 3 0x14280 nfsidl nfsio 74834 487067 0 0 3 0x14280 nfsidl nfsio 68213 110371 0 0 3 0x14280 nfsidl nfsio 17653 147054 0 0 3 0x14280 nfsidl nfsio 62383 349362 0 0 3 0x14280 nfsidl nfsio 93797 156070 0 0 3 0x14280 nfsidl nfsio 35682 346330 0 0 3 0x14280 nfsidl nfsio 96970 381054 0 0 3 0x14280 nfsidl nfsio 9937 263132 0 0 3 0x14280 nfsidl nfsio 51895 29798 0 0 3 0x14280 nfsidl nfsio 96074 292306 0 0 3 0x14280 nfsidl nfsio 17881 330554 0 0 3 0x14280 nfsidl nfsio 76495 271262 0 0 3 0x14280 nfsidl nfsio 45176 127387 0 0 3 0x14280 nfsidl nfsio 59836 229569 0 0 3 0x14280 nfsidl nfsio 32690 79959 0 0 3 0x14280 nfsidl nfsio 74088 160570 0 0 3 0x14280 nfsidl nfsio 33862 160312 23304 0 2 0xc82 syz-executor 97175 147960 23304 0 3 0x82 nanoslp syz-executor 63084 90940 23304 0 2 0xc82 syz-executor *92084 460311 23304 0 7 0x3 syz-executor 6712 203365 23304 0 3 0x82 nanoslp syz-executor 31845 150856 23304 0 3 0x82 nanoslp syz-executor 70671 280627 23304 0 3 0x82 nanoslp syz-executor 46030 398096 23304 0 3 0x82 nanoslp syz-executor 23304 135059 1 0 3 0x82 kqread syz-executor 74730 485936 18379 0 3 0x98 kqread sshd-session 18379 179276 1 0 3 0x92 kqread sshd-session 76889 499341 1 73 3 0x1100090 kqread syslogd 13601 509924 0 0 3 0x14200 bored smr 68013 79677 0 0 2 0x14200 zerothread 7421 386314 0 0 3 0x14200 aiodoned aiodoned 96883 225523 0 0 3 0x14200 syncer update 52066 361972 0 0 3 0x14200 cleaner cleaner 96406 47647 0 0 3 0x14200 reaper reaper 33366 162087 0 0 3 0x14200 pgdaemon pagedaemon 39002 522192 0 0 3 0x14200 bored viomb 78428 457719 0 0 3 0x40014200 acpi0 acpi0 90731 110377 0 0 3 0x14200 bored softnet0 58459 56479 0 0 3 0x14200 bored systqmp 47519 25948 0 0 3 0x14200 bored systq 24648 254037 0 0 3 0x40014200 tmoslp softclock 9581 397849 0 0 3 0x40014200 idle0 1 452892 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 11070 12117K 12512K 166960K 13047 0 pcb 17 14K 16K 166960K 299 0 rtable 231 10K 11K 166960K 490 0 pf 34 13K 21K 166960K 242 0 ifaddr 39 7K 7K 166960K 73 0 ifgroup 47 1K 2K 166960K 117 0 sysctl 4 1K 9K 166960K 9 0 counters 33 17K 18K 166960K 57 0 ioctlops 0 0K 4K 166960K 426 0 iov 0 0K 16K 166960K 31 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1325 83K 84K 166960K 2078 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 13 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 44 0 dirhash 12 2K 2K 166960K 18 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 89K 166960K 733 0 sigio 0 0K 0K 166960K 14 0 proc 20 25K 83K 166960K 593 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 76 0 in_multi 88 6K 7K 166960K 118 0 ether_multi 1 0K 0K 166960K 6 0 mrt 1 0K 0K 166960K 23 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 283 1261K 1261K 166960K 283 0 exec 0 0K 1K 166960K 638 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 170 92K 157K 166960K 8218 0 UVM aobj 31 5K 6K 166960K 32 0 pinsyscall 26 52K 92K 166960K 1832 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 32 0 NDP 11 0K 2K 166960K 49 0 temp 55 9098K 9196K 166960K 39045 0 kqueue 5 8K 28K 166960K 113 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 182 0 181 2 0 2 2 0 8 1 rtentry 136 125 0 30 4 0 4 4 0 8 0 unpcb 144 731 0 718 6 0 6 6 0 8 4 syncache 336 4 0 4 1 0 1 1 0 8 1 tcpcb 736 254 0 251 7 0 7 7 0 8 6 arp 96 18 0 0 1 0 1 1 0 8 0 ipq 40 6 0 1 1 0 1 1 0 8 0 ipqe 40 8 0 2 1 0 1 1 0 8 0 inpcb 328 774 0 769 7 0 7 7 0 8 6 ip6q 72 5 0 0 1 0 1 1 0 8 0 ip6af 40 8 0 0 1 0 1 1 0 8 0 nd6 112 28 0 5 1 0 1 1 0 8 0 pkpcb 40 7 0 7 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 0 1 1 0 8 1 ppxss 1072 16 0 16 1 0 1 1 0 8 1 pppxif 1416 1 0 1 1 0 1 1 0 8 1 pfstscr 40 6 0 6 1 0 1 1 0 8 1 pfrktable 1344 25 0 20 1 0 1 1 0 8 0 pfsrclim 320 2 0 1 1 0 1 1 0 8 0 pfanchor 1288 14 0 6 1 0 1 1 0 8 0 pftag 88 6 0 3 1 0 1 1 0 8 0 pfstitem 24 1 0 0 1 0 1 1 0 8 0 pfstkey 128 7 0 6 1 0 1 1 0 8 0 pfstate 384 4 0 3 1 0 1 1 0 8 0 pfrule 1360 13 0 12 1 0 1 1 0 8 0 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 530 0 123 29 0 29 29 0 8 3 art_table 40 532 0 123 5 0 5 5 0 8 0 art_node 32 124 0 38 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 4 1 0 1 1 0 8 0 semupl 112 2 0 2 1 0 1 1 0 8 1 semapl 112 37 0 27 1 0 1 1 0 8 0 shmpl 112 29 0 1 1 0 1 1 0 8 0 dirhash 1024 21 0 4 3 0 3 3 0 8 0 dino2pl 256 2902 0 1439 92 0 92 92 0 8 0 ffsino 256 2902 0 1439 92 0 92 92 0 8 0 nchpl 144 4001 0 2299 64 0 64 64 0 8 0 vnodes 216 3281 0 0 183 0 183 183 0 8 0 namei 1024 13828 0 13828 2 0 2 2 0 8 2 pfiaddrpl 120 7 0 5 1 0 1 1 0 8 0 kstatmem 264 67 0 44 2 0 2 2 0 8 0 scsiplug 72 4 0 4 1 0 1 1 0 8 1 scxspl 216 15210 0 15210 8 0 8 8 1 8 8 plimitpl 152 204 0 189 1 0 1 1 0 8 0 sigapl 424 1049 0 993 8 0 8 8 0 8 0 knotepl 120 31324 0 31297 19 9 10 15 0 8 8 kqueuepl 184 303 0 297 4 0 4 4 0 8 3 pipepl 304 155 0 128 3 0 3 3 0 8 0 fdescpl 448 1015 0 992 5 0 5 5 0 8 1 filepl 120 7068 0 6874 15 0 15 15 0 8 7 lockfpl 104 535 0 535 2 0 2 2 0 8 2 lockfspl 48 151 0 151 1 0 1 1 0 8 1 sessionpl 144 45 0 40 1 0 1 1 0 8 0 pgrppl 48 92 0 79 1 0 1 1 0 8 0 ucredpl 104 1506 0 1498 1 0 1 1 0 8 0 zombiepl 144 994 0 993 1 0 1 1 0 8 0 processpl 1152 1049 0 993 5 0 5 5 0 8 0 procpl 664 1935 0 1867 7 0 7 7 0 8 0 sosppl 176 3 0 3 1 0 1 1 0 8 1 sockpl 552 1793 0 1774 16 3 13 13 0 8 10 mcl64k 65536 48 0 44 1 0 1 1 0 8 0 mcl8k 8192 9 0 9 1 0 1 1 0 8 1 mcl4k 4096 3358 0 3307 14 0 14 14 0 8 7 mcl2k 2048 689 0 681 2 0 2 2 0 8 1 mtagpl 96 21 0 9 1 0 1 1 0 8 0 mbufpl 256 10477 0 10262 19 0 19 19 0 8 3 bufpl 280 6709 0 496 444 0 444 444 0 8 0 anonpl 24 177776 0 175330 47 0 47 47 0 186 16 amapchunkpl 152 27012 0 26586 28 0 28 28 0 158 10 amappl16 200 3368 0 3341 24 13 11 19 0 8 8 amappl15 192 4 0 4 1 0 1 1 0 8 1 amappl14 184 429 0 429 1 0 1 1 0 8 1 amappl13 176 115 0 110 1 0 1 1 0 8 0 amappl12 168 1256 0 1234 2 0 2 2 0 8 0 amappl11 160 6 0 5 1 0 1 1 0 8 0 amappl10 152 61 0 58 1 0 1 1 0 8 0 amappl9 144 259 0 259 1 0 1 1 0 8 1 amappl8 136 104 0 104 1 0 1 1 0 8 1 amappl7 128 148 0 142 1 0 1 1 0 8 0 amappl6 120 148 0 147 1 0 1 1 0 8 0 amappl5 112 86 0 82 1 0 1 1 0 8 0 amappl4 104 261 0 255 1 0 1 1 0 8 0 amappl3 96 5350 0 5257 4 0 4 4 0 8 0 amappl2 88 518 0 490 2 0 2 2 0 8 0 amappl1 80 11586 0 11261 13 0 13 13 0 8 3 amappl 88 7380 0 7236 4 0 4 4 0 92 0 uvmvnodes 80 118 0 0 3 0 3 3 0 8 0 dma32768 32768 1 0 1 1 0 1 1 0 8 1 dma4096 4096 3 0 3 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 256 0 256 1 0 1 1 0 8 1 dma64 64 8 0 8 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 31 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1015 0 992 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1015 0 992 1 0 1 1 0 8 0 vmmpekpl 168 9218 0 9188 2 0 2 2 0 8 0 vmmpepl 168 70084 0 68775 88 0 88 88 0 357 19 vmsppl 368 1014 0 992 4 0 4 4 0 8 1 rwobjpl 40 20758 0 20090 12 0 12 12 0 8 0 pdppl 4096 2036 0 1984 94 42 52 78 0 8 0 pvpl 32 468714 0 461419 109 0 109 109 0 265 35 pmappl 216 1014 0 992 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 374 0 42 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs2_balloc(fffffd8072c33400,bd5ed,50,fffffd8007ffd9c0,1,ffff80002a848d38) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a848dc0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806ad8fb28,ffff80002a848e70,3,fffffd8007ffd9c0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a737230,fffffd806ad8fb28,fffffd8007ffd9c0,ffff80002a848f40,ffff80002a848f20) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a737230,5b,0,ffff80002a849000) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a737230,5b,0,ffff80002a849000) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8490b0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8490b0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x769ed9248470, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace ffs2_balloc(fffffd8072c33400,bd5ed,50,fffffd8007ffd9c0,1,ffff80002a848d38) at ffs2_balloc+0xa0a sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80002a848dc0) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806ad8fb28,ffff80002a848e70,3,fffffd8007ffd9c0) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80002a737230,fffffd806ad8fb28,fffffd8007ffd9c0,ffff80002a848f40,ffff80002a848f20) at ktrwriteraw+0x19b sys/kern/kern_ktrace.c:692 ktrsysret(ffff80002a737230,5b,0,ffff80002a849000) at ktrsysret+0x17f ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrsysret(ffff80002a737230,5b,0,ffff80002a849000) at ktrsysret+0x17f sys/kern/kern_ktrace.c:209 syscall(ffff80002a8490b0) at syscall+0xad9 mi_syscall_return sys/sys/syscall_mi.h:204 [inline] syscall(ffff80002a8490b0) at syscall+0xad9 sys/arch/amd64/amd64/trap.c:804 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x769ed9248470, count: -7