uvm_fault(0xffffffff839b9a10, 0xffff800029115ff8, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ffs_indirtrunc+0x689: movq 0(%rax,%rbx,8),%rbx TID PID UID PRFLAGS PFLAGS CPU COMMAND *501257 48024 0 0x2 0 0 syz-executor ffs_indirtrunc(fffffd806f4ae700,fffffffffffffff4,96e40,ffffffffffffffff,0,ffff80002a895618) at ffs_indirtrunc+0x689 sys/ufs/ffs/ffs_inode.c:495 ffs_truncate(fffffd806f4ae700,0,0,ffffffffffffffff) at ffs_truncate+0x1036 sys/ufs/ffs/ffs_inode.c:297 ufs_inactive(ffff80002a895770) at ufs_inactive+0x1ff sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8060c86438,ffff80002a746d00) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8060c86438) at vput+0xdc sys/kern/vfs_subr.c:789 VOP_REMOVE(fffffd8060c86798,fffffd8060c86438,ffff80002a8958d8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a746d00,ffffff9c,7a56482af880,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1923 syscall(ffff80002a895a40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a895a40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a56482afd30, count: 6 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(0xffffffff839b9a10, 0xffff800029115ff8, 0, 1) -> d ddb> trace ffs_indirtrunc(fffffd806f4ae700,fffffffffffffff4,96e40,ffffffffffffffff,0,ffff80002a895618) at ffs_indirtrunc+0x689 sys/ufs/ffs/ffs_inode.c:495 ffs_truncate(fffffd806f4ae700,0,0,ffffffffffffffff) at ffs_truncate+0x1036 sys/ufs/ffs/ffs_inode.c:297 ufs_inactive(ffff80002a895770) at ufs_inactive+0x1ff sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8060c86438,ffff80002a746d00) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8060c86438) at vput+0xdc sys/kern/vfs_subr.c:789 VOP_REMOVE(fffffd8060c86798,fffffd8060c86438,ffff80002a8958d8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a746d00,ffffff9c,7a56482af880,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1923 syscall(ffff80002a895a40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a895a40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a56482afd30, count: -9 ddb> show registers rdi 0x2 rsi 0x2 rbp 0xffff80002a8954f0 rbx 0x7ff rdx 0 rcx 0xfffffffffffffff4 rax 0xffff800029112000 r8 0xffffffffffffffff r9 0xffff80002a895618 r10 0x5d705d26c980a307 r11 0x2f1d7d5b616adf0f r12 0xfffffffffffff7f6 r13 0x1 r14 0x2 r15 0xfffffd806f4ae700 rip 0xffffffff82b69f89 ffs_indirtrunc+0x689 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002a895400 ss 0x10 ffs_indirtrunc+0x689: movq 0(%rax,%rbx,8),%rbx ddb> show proc PROC (syz-executor) tid=501257 pid=48024 tcnt=1 stat=onproc flags process=2 proc=0 runpri=17, usrpri=50, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a746538,0xffff80002a746018 process=0xffff80002a7aed10 user=0xffff80002a890000, vmspace=0xfffffd807a867178 estcpu=36, cpticks=8, pctcpu=0.0, user=0, sys=8, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 75004 327266 13747 0 2 0 syz-executor 75004 146289 13747 0 3 0x4000080 fsleep syz-executor 64082 250514 99422 0 2 0 syz-executor 64082 513948 99422 0 3 0x4000080 fsleep syz-executor 40449 205084 84751 0 2 0 syz-executor 40449 125982 84751 0 3 0x4000080 fsleep syz-executor 40449 139640 84751 0 3 0x4000080 fsleep syz-executor 78487 465024 88133 0 2 0 syz-executor 78487 407567 88133 0 3 0x4000080 ttyout syz-executor 78487 338571 88133 0 3 0x4000080 fsleep syz-executor 54366 224990 99346 0 2 0 syz-executor 54366 379048 99346 0 2 0x4000000 syz-executor 54366 468008 99346 0 3 0x4000080 fsleep syz-executor 22917 312170 93229 0 2 0 syz-executor 22917 504983 93229 0 3 0x4000080 fsleep syz-executor 74857 232718 43229 0 2 0x2 syz-executor 83246 234245 0 0 3 0x14280 nfsidl nfsio 3323 437982 0 0 3 0x14280 nfsidl nfsio 92278 490418 0 0 3 0x14280 nfsidl nfsio 30497 519718 0 0 3 0x14280 nfsidl nfsio 65859 107070 0 0 3 0x14280 nfsidl nfsio 25004 64169 0 0 3 0x14280 nfsidl nfsio 94356 11708 0 0 3 0x14280 nfsidl nfsio 93268 225359 0 0 3 0x14280 nfsidl nfsio 77958 306222 0 0 3 0x14280 nfsidl nfsio 16527 413158 0 0 3 0x14280 nfsidl nfsio 50478 286237 0 0 3 0x14280 nfsidl nfsio 72788 495766 0 0 3 0x14280 nfsidl nfsio 12131 253987 0 0 3 0x14280 nfsidl nfsio 82625 25473 0 0 3 0x14280 nfsidl nfsio 77217 300401 0 0 3 0x14280 nfsidl nfsio 96336 455198 0 0 3 0x14280 nfsidl nfsio 31469 505770 0 0 3 0x14280 nfsidl nfsio 98282 430292 0 0 3 0x14280 nfsidl nfsio 9342 347411 0 0 3 0x14280 nfsidl nfsio 5542 149198 0 0 3 0x14280 nfsidl nfsio 52884 297606 0 0 3 0x14200 acct acct 84751 189097 43229 0 2 0xc82 syz-executor 13747 518592 43229 0 2 0xc82 syz-executor *48024 501257 43229 0 7 0x2 syz-executor 93229 19679 43229 0 2 0xc82 syz-executor 99422 155055 43229 0 2 0xc82 syz-executor 88133 9841 43229 0 2 0xc82 syz-executor 99346 448757 43229 0 2 0xc82 syz-executor 43229 171539 21313 0 2 0x82 syz-executor 21313 32908 77563 0 3 0x10008a sigsusp ksh 77563 49992 96581 0 3 0x98 kqread sshd-session 96581 410828 24997 0 3 0x92 kqread sshd-session 62185 211861 1 0 3 0x100083 ttyin getty 24997 388230 1 0 3 0x88 kqread sshd 64260 4306 44130 73 3 0x1100090 kqread syslogd 44130 1922 1 0 3 0x100082 sbwait syslogd 79322 14795 1 0 3 0x100080 kqread resolvd 60433 166504 80315 77 3 0x100092 kqread dhcpleased 15288 140818 80315 77 3 0x100092 kqread dhcpleased 80315 177046 1 0 3 0x80 kqread dhcpleased 23712 33679 0 0 3 0x14200 bored smr 54568 168710 0 0 2 0x14200 zerothread 48917 392620 0 0 3 0x14200 aiodoned aiodoned 2684 214188 0 0 3 0x14200 syncer update 31728 260381 0 0 3 0x14200 cleaner cleaner 23421 340032 0 0 3 0x14200 reaper reaper 85240 254828 0 0 3 0x14200 pgdaemon pagedaemon 55381 336085 0 0 3 0x14200 bored viomb 14237 394048 0 0 3 0x40014200 acpi0 acpi0 87584 371414 0 0 3 0x14200 bored softnet0 12813 273545 0 0 3 0x14200 smrbar systqmp 48125 271557 0 0 3 0x14200 bored systq 24247 375755 0 0 3 0x40014200 tmoslp softclock 4484 30450 0 0 3 0x40014200 idle0 1 506558 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 11070 12115K 12745K 166960K 13110 0 pcb 17 15K 16K 166960K 188 0 rtable 189 6K 8K 166960K 511 0 pf 34 13K 17K 166960K 80 0 ifaddr 37 6K 7K 166960K 73 0 ifgroup 51 2K 2K 166960K 112 0 sysctl 3 1K 9K 166960K 13 0 counters 34 17K 18K 166960K 55 0 ioctlops 0 0K 4K 166960K 168 0 iov 0 0K 16K 166960K 35 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1419 89K 89K 166960K 2413 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 171 0 dirhash 12 2K 2K 166960K 21 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 93K 166960K 898 0 sigio 0 0K 0K 166960K 11 0 proc 60 59K 91K 166960K 610 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 86 0 in_multi 77 5K 7K 166960K 147 0 ether_multi 1 0K 0K 166960K 5 0 mrt 1 0K 0K 166960K 24 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 241 1076K 1076K 166960K 241 0 exec 0 0K 2K 166960K 526 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 221 143K 161K 166960K 9520 0 UVM aobj 24 4K 6K 166960K 28 0 pinsyscall 37 74K 94K 166960K 2041 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 30 0 NDP 12 0K 2K 166960K 48 0 temp 62 9076K 9257K 166960K 43434 0 kqueue 15 24K 29K 166960K 155 0 SYN cache 2 16K 24K 166960K 3 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 118 0 115 2 0 2 2 0 8 1 rtentry 136 155 0 77 4 0 4 4 0 8 0 unpcb 144 497 0 481 4 0 4 4 0 8 3 syncache 336 6 0 6 1 0 1 1 0 8 1 tcpcb 736 413 0 409 7 0 7 7 0 8 6 arp 96 26 0 12 1 0 1 1 0 8 0 ipq 40 4 0 1 1 0 1 1 0 8 0 ipqe 40 6 0 3 1 0 1 1 0 8 0 inpcb 328 1179 0 1171 12 3 9 12 0 8 8 ip6q 72 11 0 3 1 0 1 1 0 8 0 ip6af 40 17 0 8 1 0 1 1 0 8 0 nd6 112 33 0 15 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 0 1 1 0 8 1 kcovpl 48 10 0 2 1 0 1 1 0 8 0 ppxss 1072 12 0 12 1 0 1 1 0 8 1 pppxif 1416 3 0 3 1 0 1 1 0 8 1 pfsrclim 320 1 0 1 1 0 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 128 4 0 2 1 0 1 1 0 8 0 pfstate 384 2 0 1 1 0 1 1 0 8 0 pfrule 1360 2 0 2 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 630 0 274 29 0 29 29 0 8 4 art_table 40 632 0 274 5 0 5 5 0 8 0 art_node 32 153 0 83 1 0 1 1 0 8 0 sysvmsgpl 40 46 0 6 1 0 1 1 0 8 0 semapl 112 168 0 158 1 0 1 1 0 8 0 shmpl 112 25 0 4 1 0 1 1 0 8 0 dirhash 1024 23 0 6 3 0 3 3 0 8 0 dino2pl 256 3258 0 1800 92 0 92 92 0 8 0 ffsino 256 3258 0 1800 92 0 92 92 0 8 0 nchpl 144 4527 0 2822 64 0 64 64 0 8 0 rtmask 32 1 0 1 1 0 1 1 0 8 1 vnodes 216 3779 0 0 210 0 210 210 0 8 0 namei 1024 15733 0 15733 2 0 2 2 0 8 2 kstatmem 264 57 0 32 2 0 2 2 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 18572 0 18572 8 0 8 8 1 8 8 plimitpl 152 319 0 301 1 0 1 1 0 8 0 sigapl 424 1207 0 1145 8 0 8 8 0 8 0 knotepl 120 88333 0 87995 17 0 17 17 0 8 6 kqueuepl 184 650 0 639 7 0 7 7 0 8 6 pipepl 304 171 0 143 3 0 3 3 0 8 0 fdescpl 448 1173 0 1145 5 0 5 5 0 8 1 filepl 120 8881 0 8664 15 0 15 15 0 8 6 lockfpl 104 609 0 606 2 0 2 2 0 8 1 lockfspl 48 192 0 189 1 0 1 1 0 8 0 sessionpl 144 121 0 113 1 0 1 1 0 8 0 pgrppl 48 139 0 123 1 0 1 1 0 8 0 ucredpl 104 2157 0 2146 1 0 1 1 0 8 0 zombiepl 144 1145 0 1145 1 0 1 1 0 8 1 processpl 1152 1207 0 1145 5 0 5 5 0 8 0 procpl 664 2297 0 2226 7 0 7 7 0 8 0 sosppl 176 8 0 8 1 0 1 1 0 8 1 sockpl 552 1821 0 1794 12 2 10 12 0 8 7 mcl64k 65536 60 0 55 1 0 1 1 0 8 0 mcl16k 16384 8 0 8 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 25 0 25 1 0 1 1 0 8 1 mcl4k 4096 3581 0 3527 14 0 14 14 0 8 6 mcl2k 2048 842 0 837 2 0 2 2 0 8 1 mtagpl 96 17 0 13 1 0 1 1 0 8 0 mbufpl 256 12180 0 12042 18 0 18 18 0 8 5 bufpl 280 8885 0 2671 444 0 444 444 0 8 0 anonpl 24 192019 0 187231 60 0 60 60 0 187 12 amapchunkpl 152 44284 0 43762 40 0 40 40 0 158 17 amappl16 200 3584 0 3526 22 8 14 16 0 8 8 amappl15 192 7 0 7 1 0 1 1 0 8 1 amappl14 184 434 0 433 1 0 1 1 0 8 0 amappl13 176 121 0 110 1 0 1 1 0 8 0 amappl12 168 1444 0 1417 2 0 2 2 0 8 0 amappl11 160 20 0 20 1 0 1 1 0 8 1 amappl10 152 124 0 114 1 0 1 1 0 8 0 amappl9 144 268 0 268 1 0 1 1 0 8 1 amappl8 136 122 0 119 1 0 1 1 0 8 0 amappl7 128 146 0 134 1 0 1 1 0 8 0 amappl6 120 167 0 165 1 0 1 1 0 8 0 amappl5 112 90 0 82 1 0 1 1 0 8 0 amappl4 104 262 0 245 1 0 1 1 0 8 0 amappl3 96 6278 0 6175 4 0 4 4 0 8 0 amappl2 88 541 0 484 2 0 2 2 0 8 0 amappl1 80 12806 0 12265 15 0 15 15 0 8 2 amappl 88 8673 0 8514 5 0 5 5 0 92 0 uvmvnodes 80 126 0 0 3 0 3 3 0 8 0 dma65536 65536 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 254 0 254 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 27 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1173 0 1145 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1173 0 1145 1 0 1 1 0 8 0 vmmpekpl 168 10273 0 10231 3 0 3 3 0 8 0 vmmpepl 168 80022 0 78248 95 0 95 95 0 357 8 vmsppl 368 1172 0 1145 4 0 4 4 0 8 1 rwobjpl 40 23063 0 22035 14 0 14 14 0 8 1 pdppl 4096 2352 0 2290 104 38 66 80 0 8 4 pvpl 32 529107 0 518113 136 0 136 136 0 265 25 pmappl 216 1172 0 1145 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 383 0 38 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs_indirtrunc(fffffd806f4ae700,fffffffffffffff4,96e40,ffffffffffffffff,0,ffff80002a895618) at ffs_indirtrunc+0x689 sys/ufs/ffs/ffs_inode.c:495 ffs_truncate(fffffd806f4ae700,0,0,ffffffffffffffff) at ffs_truncate+0x1036 sys/ufs/ffs/ffs_inode.c:297 ufs_inactive(ffff80002a895770) at ufs_inactive+0x1ff sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8060c86438,ffff80002a746d00) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8060c86438) at vput+0xdc sys/kern/vfs_subr.c:789 VOP_REMOVE(fffffd8060c86798,fffffd8060c86438,ffff80002a8958d8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a746d00,ffffff9c,7a56482af880,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1923 syscall(ffff80002a895a40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a895a40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a56482afd30, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace ffs_indirtrunc(fffffd806f4ae700,fffffffffffffff4,96e40,ffffffffffffffff,0,ffff80002a895618) at ffs_indirtrunc+0x689 sys/ufs/ffs/ffs_inode.c:495 ffs_truncate(fffffd806f4ae700,0,0,ffffffffffffffff) at ffs_truncate+0x1036 sys/ufs/ffs/ffs_inode.c:297 ufs_inactive(ffff80002a895770) at ufs_inactive+0x1ff sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8060c86438,ffff80002a746d00) at VOP_INACTIVE+0xfb sys/kern/vfs_vops.c:498 vput(fffffd8060c86438) at vput+0xdc sys/kern/vfs_subr.c:789 VOP_REMOVE(fffffd8060c86798,fffffd8060c86438,ffff80002a8958d8) at VOP_REMOVE+0x199 sys/kern/vfs_vops.c:336 dounlinkat(ffff80002a746d00,ffffff9c,7a56482af880,0) at dounlinkat+0x1c4 sys/kern/vfs_syscalls.c:1923 syscall(ffff80002a895a40) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80002a895a40) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a56482afd30, count: -9