uvm_fault(0xffffffff839367d8, 0xffff800028b620a0, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ffs2_balloc+0x9fe: movq 0(%rcx,%rax,8),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND *100824 77898 0 0x2 0x1 0K syz-executor ffs2_balloc(fffffd806df70b10,81ae6,5c,fffffd807f7d2548,1,ffff80003c512b08) at ffs2_balloc+0x9fe sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c512b90) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806d2947b0,ffff80003c512c48,3,fffffd807f7d2548) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003b8d79d0,fffffd806d2947b0,fffffd807f7d2548,ffff80003c512d18,ffff80003c512cf0) at ktrwriteraw+0x1bc sys/kern/kern_ktrace.c:691 ktrstruct(ffff80003b8d79d0,ffffffff8334891e,ffff80003c512e10,10) at ktrstruct+0x19a ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrstruct(ffff80003b8d79d0,ffffffff8334891e,ffff80003c512e10,10) at ktrstruct+0x19a sys/kern/kern_ktrace.c:314 sys_nanosleep(ffff80003b8d79d0,ffff80003c512f50,ffff80003c512ea0) at sys_nanosleep+0x109 sys/kern/kern_time.c:294 syscall(ffff80003c512f50) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c512f50) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76b61e9040d0, count: 7 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(0xffffffff839367d8, 0xffff800028b620a0, 0, 1) -> d ddb{0}> trace ffs2_balloc(fffffd806df70b10,81ae6,5c,fffffd807f7d2548,1,ffff80003c512b08) at ffs2_balloc+0x9fe sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c512b90) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806d2947b0,ffff80003c512c48,3,fffffd807f7d2548) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003b8d79d0,fffffd806d2947b0,fffffd807f7d2548,ffff80003c512d18,ffff80003c512cf0) at ktrwriteraw+0x1bc sys/kern/kern_ktrace.c:691 ktrstruct(ffff80003b8d79d0,ffffffff8334891e,ffff80003c512e10,10) at ktrstruct+0x19a ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrstruct(ffff80003b8d79d0,ffffffff8334891e,ffff80003c512e10,10) at ktrstruct+0x19a sys/kern/kern_ktrace.c:314 sys_nanosleep(ffff80003b8d79d0,ffff80003c512f50,ffff80003c512ea0) at sys_nanosleep+0x109 sys/kern/kern_time.c:294 syscall(ffff80003c512f50) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c512f50) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76b61e9040d0, count: -8 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003c512ab0 rbx 0 rdx 0 rcx 0xffff800028b62000 rax 0x14 r8 0xffffffffffffffff r9 0xffff80003c512b08 r10 0xac6bc4909b02d32d r11 0x25d42dd2ef4a47b9 r12 0x10 r13 0x1 r14 0xffffffff r15 0xfffffd800b70f140 rip 0xffffffff8310c1ee ffs2_balloc+0x9fe cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80003c512940 ss 0x10 ffs2_balloc+0x9fe: movq 0(%rcx,%rax,8),%r14 ddb{0}> show proc PROC (syz-executor) tid=100824 pid=77898 tcnt=1 stat=onproc flags process=2 proc=1 runpri=32, usrpri=82, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c4e2560,0xffff80003b8d7750 process=0xffff80003b8d8de8 user=0xffff80003c50e000, vmspace=0xfffffd805d5a6028 estcpu=32, cpticks=0, pctcpu=0.0, user=2, sys=29, intr=1 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 48758 516711 74433 0 2 0 syz-executor 48758 124422 74433 0 2 0x4000000 syz-executor 49724 287157 58636 0 2 0 syz-executor 49724 508675 58636 0 2 0x4000000 syz-executor 74550 368463 21783 0 2 0 syz-executor 74550 330711 21783 0 3 0x4000080 ttyopn syz-executor 74550 344253 21783 0 2 0x4000000 syz-executor 21934 89695 31957 0 2 0 syz-executor 21934 287775 31957 0 3 0x4000080 fsleep syz-executor 21934 383805 31957 0 2 0x4000000 syz-executor 57887 427850 43172 0 2 0 syz-executor 57887 249936 43172 0 3 0x4000080 fsleep syz-executor 57887 500076 43172 0 3 0x4000080 fsleep syz-executor 54974 335772 34606 0 2 0 syz-executor 54974 503394 34606 0 3 0x4000080 ttyopn syz-executor 54974 184296 34606 0 3 0x4000080 fsleep syz-executor 54974 273822 34606 0 3 0x4000080 ttyopn syz-executor 21341 395254 1 0 3 0x100083 ttyin getty 31957 374265 11922 0 3 0x82 nanoslp syz-executor 21783 296859 11922 0 3 0x82 nanoslp syz-executor 43172 159115 11922 0 2 0x482 syz-executor 58636 66463 11922 0 3 0x82 nanoslp syz-executor *77898 100824 11922 0 7 0x3 syz-executor 74433 212158 11922 0 3 0x82 nanoslp syz-executor 27605 82312 0 0 3 0x14280 nfsidl nfsio 84790 276117 0 0 3 0x14280 nfsidl nfsio 82788 195831 0 0 3 0x14280 nfsidl nfsio 79858 75489 0 0 3 0x14280 nfsidl nfsio 9939 450664 0 0 3 0x14280 nfsidl nfsio 79153 102279 0 0 3 0x14280 nfsidl nfsio 41457 439392 0 0 3 0x14280 nfsidl nfsio 49281 163089 0 0 3 0x14280 nfsidl nfsio 48353 8491 0 0 3 0x14280 nfsidl nfsio 76541 131102 0 0 3 0x14280 nfsidl nfsio 61257 310726 0 0 3 0x14280 nfsidl nfsio 29115 105571 0 0 3 0x14280 nfsidl nfsio 12357 66674 0 0 3 0x14280 nfsidl nfsio 81709 518104 0 0 3 0x14280 nfsidl nfsio 85905 295100 0 0 3 0x14280 nfsidl nfsio 10441 357907 0 0 3 0x14280 nfsidl nfsio 10063 249571 0 0 3 0x14280 nfsidl nfsio 90389 256890 0 0 3 0x14280 nfsidl nfsio 58374 462393 0 0 3 0x14280 nfsidl nfsio 95783 80129 0 0 3 0x14280 nfsidl nfsio 33580 351445 0 0 3 0x14200 bored sosplice 34606 257116 11922 0 3 0x82 nanoslp syz-executor 38128 375778 11922 0 3 0x82 nanoslp syz-executor 11922 29144 3704 0 3 0x82 kqread syz-executor 3704 380481 73780 0 3 0x10008a sigsusp ksh 73780 52774 92811 0 3 0x98 kqread sshd-session 92811 34525 94572 0 3 0x92 kqread sshd-session 94572 58941 1 0 3 0x88 kqread sshd 42806 47306 62522 74 3 0x1100092 bpf pflogd 62522 141395 1 0 3 0x80 sbwait pflogd 55861 63548 66457 73 3 0x1100090 kqread syslogd 66457 333249 1 0 3 0x100082 sbwait syslogd 39258 192753 1 0 3 0x100080 kqread resolvd 15672 68956 60179 77 3 0x100092 kqread dhcpleased 85363 210144 60179 77 3 0x100092 kqread dhcpleased 60179 362855 1 0 3 0x80 kqread dhcpleased 27890 137286 0 0 3 0x14200 bored smr 66511 483210 0 0 2 0x14200 zerothread 91169 138703 0 0 3 0x14200 aiodoned aiodoned 66483 220912 0 0 3 0x14200 syncer update 5011 20629 0 0 3 0x14200 cleaner cleaner 84798 488732 0 0 3 0x14200 reaper reaper 16021 295422 0 0 3 0x14200 pgdaemon pagedaemon 17856 118337 0 0 3 0x14200 bored viomb 51084 464732 0 0 3 0x40014200 acpi0 acpi0 30265 429895 0 0 7 0x40014200 idle1 88921 364855 0 0 3 0x14200 bored softnet3 83148 176777 0 0 3 0x14200 bored softnet2 63149 250850 0 0 3 0x14200 bored softnet1 75321 253725 0 0 3 0x14200 bored softnet0 61784 481441 0 0 3 0x14200 bored systqmp 14201 273753 0 0 3 0x14200 bored systq 41275 515635 0 0 3 0x14200 tmoslp softclockmp 39497 280504 0 0 3 0x40014200 tmoslp softclock 36490 411371 0 0 3 0x40014200 idle0 1 125319 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 77898 (syz-executor) thread 0xffff80003b8d79d0 (100824) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10257 11077K 15434K 166960K 16813 0 pcb 18 16K 17K 166960K 719 0 rtable 241 12K 13K 166960K 846 0 pf 40 18K 23K 166960K 347 0 ifaddr 41 7K 8K 166960K 173 0 ifgroup 59 2K 2K 166960K 333 0 sysctl 4 1K 3K 166960K 7 0 counters 66 36K 37K 166960K 308 0 ioctlops 0 0K 4K 166960K 1907 0 iov 0 0K 28K 166960K 136 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1530 96K 96K 166960K 4611 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 65 0 VM map 2 1K 1K 166960K 2 0 sem 33 17K 17K 166960K 288 0 dirhash 12 2K 2K 166960K 69 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 85K 166960K 3007 0 sigio 0 0K 0K 166960K 45 0 proc 72 91K 128K 166960K 1076 0 subproc 72 4K 4K 166960K 136 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 409 0 in_multi 84 6K 7K 166960K 279 0 ether_multi 1 0K 0K 166960K 25 0 mrt 0 0K 0K 166960K 24 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 247 1102K 1102K 166960K 247 0 exec 0 0K 1K 166960K 1116 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 269 178K 191K 166960K 28538 0 UVM aobj 126 4K 4K 166960K 132 0 pinsyscall 43 86K 101K 166960K 4317 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 139 0 NDP 13 0K 2K 166960K 132 0 temp 78 8692K 8820K 166960K 130848 0 kqueue 13 20K 30K 166960K 530 0 SYN cache 2 16K 16K 166960K 2 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 384 0 381 5 4 1 3 0 8 0 rtentry 168 251 0 152 5 0 5 5 0 8 0 unpcb 144 2175 0 2157 17 16 1 6 0 8 0 syncache 336 10 0 10 3 3 0 1 0 8 0 tcpcb 808 1026 0 1022 15 14 1 8 0 8 0 arp 120 48 0 27 1 0 1 1 0 8 0 inpcb 376 3412 0 3402 27 25 2 12 0 8 0 nd6 136 54 0 30 1 0 1 1 0 8 0 pkpcb 40 88 0 88 6 5 1 1 0 8 1 kcovpl 48 15 0 7 1 0 1 1 0 8 0 ppxss 1168 84 0 84 3 2 1 1 0 8 1 pppxif 1480 6 0 6 4 4 0 1 0 8 0 pfstscr 40 67 0 65 1 0 1 1 0 8 0 pffrag 232 15 0 9 1 0 1 1 0 482 0 pffrnode 88 12 0 7 1 0 1 1 0 8 0 pffrent 40 25 0 19 1 0 1 1 0 8 0 pfosfp 40 1431 0 1007 5 0 5 5 0 8 0 pfosfpen 112 1431 0 714 21 0 21 21 0 8 0 pfrktable 1344 5 0 2 1 0 1 1 0 8 0 pfanchor 1288 2 0 0 1 0 1 1 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfstitem 24 137 0 94 1 0 1 1 0 8 0 pfstkey 128 205 0 162 2 0 2 2 0 8 0 pfstate 376 170 0 128 7 0 7 7 0 8 0 pfrule 1344 41 0 31 2 1 1 2 0 8 0 rttmr 136 3 0 3 3 3 0 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 968 0 574 36 9 27 29 0 8 1 art_table 32 971 0 574 4 0 4 4 0 8 0 art_node 16 246 0 166 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 5 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 278 0 247 1 0 1 1 0 8 0 shmpl 112 129 0 6 4 0 4 4 0 8 0 dirhash 1024 55 0 38 3 0 3 3 0 8 0 dino2pl 256 7092 0 5578 96 0 96 96 0 8 0 ffsino 280 7092 0 5578 109 0 109 109 0 8 0 nchpl 144 11351 0 10793 64 40 24 64 0 8 0 rtmask 32 13 0 13 4 4 0 1 0 8 0 uvmvnodes 80 3971 0 0 82 0 82 82 0 8 0 vnodes 216 3971 0 0 221 0 221 221 0 8 0 namei 1024 44185 0 44185 2 1 1 2 0 8 1 percpumem 16 168 0 121 1 0 1 1 0 8 0 kstatmem 264 204 0 178 8 6 2 3 0 8 0 acpiwqpl 32 1 0 1 1 0 1 1 1 8 1 scsiplug 72 13 0 13 6 5 1 1 0 8 1 scxspl 216 36450 0 36450 15 13 2 8 1 8 2 plimitpl 152 759 0 741 1 0 1 1 0 8 0 sigapl 424 3331 0 3260 10 1 9 9 0 8 0 futexpl 64 44791 0 44787 1 0 1 1 0 8 0 knotepl 120 599 0 0 17 0 17 17 0 8 0 kqueuepl 216 1326 0 1317 13 12 1 5 0 8 0 pipepl 328 338 0 310 3 0 3 3 0 8 0 fdescpl 504 3287 0 3255 5 0 5 5 0 8 0 filepl 152 26245 0 26012 31 19 12 18 0 8 0 lockfpl 104 1331 0 1327 2 1 1 2 0 8 0 lockfspl 48 370 0 367 1 0 1 1 0 8 0 sessionpl 144 34 0 25 1 0 1 1 0 8 0 pgrppl 48 114 0 97 1 0 1 1 0 8 0 ucredpl 104 5453 0 5440 1 0 1 1 0 8 0 zombiepl 144 3483 0 3481 2 1 1 1 0 8 0 processpl 1176 3331 0 3260 6 0 6 6 0 8 0 procpl 656 7661 0 7579 9 1 8 8 0 8 0 srpgc 96 14 0 14 5 5 0 1 0 8 0 sosppl 168 21 0 21 5 5 0 1 0 8 0 sockpl 688 6095 0 6064 57 48 9 21 0 8 6 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 118 0 0 15 0 15 15 0 8 0 mcl2k 2048 65 0 0 9 2 7 9 0 8 0 mtagpl 96 148 0 0 4 0 4 4 0 8 0 mbufpl 256 408 3 0 22 0 22 22 0 8 0 bufpl 280 9939 0 3785 440 0 440 440 0 8 0 anonpl 24 402297 0 393833 102 40 62 76 0 184 0 amapchunkpl 152 96187 0 95510 42 13 29 32 0 158 2 amappl16 200 6069 0 5850 35 16 19 21 0 8 0 amappl15 192 4 0 3 1 0 1 1 0 8 0 amappl14 184 134 0 122 1 0 1 1 0 8 0 amappl13 176 6 0 6 3 3 0 1 0 8 0 amappl12 168 4086 0 4054 2 0 2 2 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 3 0 3 2 2 0 1 0 8 0 amappl9 144 284 0 284 1 1 0 1 0 8 0 amappl8 136 23 0 20 1 0 1 1 0 8 0 amappl7 128 126 0 114 1 0 1 1 0 8 0 amappl6 120 248 0 244 1 0 1 1 0 8 0 amappl5 112 154 0 144 1 0 1 1 0 8 0 amappl4 104 361 0 336 1 0 1 1 0 8 0 amappl3 96 20062 0 19936 5 1 4 4 0 8 0 amappl2 88 775 0 709 2 0 2 2 0 8 0 amappl1 80 20510 0 19903 15 2 13 15 0 8 0 amappl 88 27111 0 26917 6 1 5 5 0 92 0 dma32768 32768 1 0 1 1 1 0 1 0 8 0 dma16384 16384 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 7 0 7 2 2 0 1 0 8 0 dma128 128 257 0 257 5 5 0 1 0 8 0 dma64 64 7 0 7 2 2 0 1 0 8 0 dma32 32 10 0 10 4 4 0 1 0 8 0 dma16 16 19 0 18 1 0 1 1 0 8 0 aobjpl 72 131 0 6 3 0 3 3 0 8 0 uaddrrnd 24 3288 0 3256 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3288 0 3256 1 0 1 1 0 8 0 vmmpekpl 168 22819 0 22754 4 0 4 4 0 8 0 vmmpepl 168 201713 0 199403 128 26 102 108 0 357 1 vmsppl 456 3287 0 3256 6 1 5 5 0 8 0 rwobjpl 64 49966 0 44707 91 3 88 88 0 8 0 pdppl 4096 6584 0 6512 112 40 72 82 0 8 0 pvpl 32 20228 0 0 163 0 163 163 0 265 0 pmappl 248 3287 0 3256 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 336 0 80 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ffs2_balloc(fffffd806df70b10,81ae6,5c,fffffd807f7d2548,1,ffff80003c512b08) at ffs2_balloc+0x9fe sys/ufs/ffs/ffs_balloc.c:614 ffs_write(ffff80003c512b90) at ffs_write+0x4f9 sys/ufs/ffs/ffs_vnops.c:345 VOP_WRITE(fffffd806d2947b0,ffff80003c512c48,3,fffffd807f7d2548) at VOP_WRITE+0x102 sys/kern/vfs_vops.c:245 ktrwriteraw(ffff80003b8d79d0,fffffd806d2947b0,fffffd807f7d2548,ffff80003c512d18,ffff80003c512cf0) at ktrwriteraw+0x1bc sys/kern/kern_ktrace.c:691 ktrstruct(ffff80003b8d79d0,ffffffff8334891e,ffff80003c512e10,10) at ktrstruct+0x19a ktrwrite2 sys/kern/kern_ktrace.c:-1 [inline] ktrstruct(ffff80003b8d79d0,ffffffff8334891e,ffff80003c512e10,10) at ktrstruct+0x19a sys/kern/kern_ktrace.c:314 sys_nanosleep(ffff80003b8d79d0,ffff80003c512f50,ffff80003c512ea0) at sys_nanosleep+0x109 sys/kern/kern_time.c:294 syscall(ffff80003c512f50) at syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c512f50) at syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x76b61e9040d0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029a9bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 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:1218 sched_idle(ffff800029a9bff0) at sched_idle+0x558 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800029a9bff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 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:1218 sched_idle(ffff800029a9bff0) at sched_idle+0x558 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: -5