uvm_fault(0xffffffff839d4af0, 0xffff800027745ff8, 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 *498904 65724 0 0 0x4000000 0 syz-executor ffs_indirtrunc(fffffd806cdb7f00,fffffffffffffff4,96f80,ffffffffffffffff,0,ffff80003c916bc8) at ffs_indirtrunc+0x689 sys/ufs/ffs/ffs_inode.c:495 ffs_truncate(fffffd806cdb7f00,0,0,fffffd8007ffd618) at ffs_truncate+0x1036 sys/ufs/ffs/ffs_inode.c:297 ffs_write(ffff80003c916d90) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd806d802498,ffff80003c916f48,1,fffffd8007ffd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_write(fffffd806caeb3d0,ffff80003c916f48,0) at vn_write+0x1c2 sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002f8c0548,9,ffff80003c916f48,0,ffff80003c916ff0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002f8c0548,ffff80003c9170a0,ffff80003c916ff0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80003c9170a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9170a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x979867da350, 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(0xffffffff839d4af0, 0xffff800027745ff8, 0, 1) -> d ddb> trace ffs_indirtrunc(fffffd806cdb7f00,fffffffffffffff4,96f80,ffffffffffffffff,0,ffff80003c916bc8) at ffs_indirtrunc+0x689 sys/ufs/ffs/ffs_inode.c:495 ffs_truncate(fffffd806cdb7f00,0,0,fffffd8007ffd618) at ffs_truncate+0x1036 sys/ufs/ffs/ffs_inode.c:297 ffs_write(ffff80003c916d90) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd806d802498,ffff80003c916f48,1,fffffd8007ffd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_write(fffffd806caeb3d0,ffff80003c916f48,0) at vn_write+0x1c2 sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002f8c0548,9,ffff80003c916f48,0,ffff80003c916ff0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002f8c0548,ffff80003c9170a0,ffff80003c916ff0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80003c9170a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9170a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x979867da350, count: -9 ddb> show registers rdi 0x2 rsi 0x80000 acpi_pdirpa+0x6be71 rbp 0xffff80003c916aa0 rbx 0x7ff rdx 0xffff8000015e0100 rcx 0xfffffffffffffff4 rax 0xffff800027742000 r8 0xffffffffffffffff r9 0xffff80003c916bc8 r10 0xf2fa620974b17e30 r11 0xcf50fedcbc084a15 r12 0xfffffffffffff7f6 r13 0x1 r14 0x2 r15 0xfffffd806cdb7f00 rip 0xffffffff81a21969 ffs_indirtrunc+0x689 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c9169b0 ss 0x10 ffs_indirtrunc+0x689: movq 0(%rax,%rbx,8),%rbx ddb> show proc PROC (syz-executor) tid=498904 pid=65724 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=17, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002f8c0d10,0xffff80002f8c02c0 process=0xffff8000ffffad18 user=0xffff80003c912000, vmspace=0xfffffd800e0fa188 estcpu=36, cpticks=9, pctcpu=0.0, user=0, sys=9, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 287 451791 52261 0 2 0 syz-executor 287 16873 52261 0 3 0x4000080 fsleep syz-executor 65724 353166 59778 0 2 0 syz-executor *65724 498904 59778 0 7 0x4000000 syz-executor 65724 237114 59778 0 3 0x4000080 fsleep syz-executor 10188 35662 18302 0 2 0 syz-executor 10188 50874 18302 0 2 0x4000000 syz-executor 59778 406128 6531 0 2 0xc82 syz-executor 71582 39603 6531 0 2 0xc82 syz-executor 47501 461898 6531 0 2 0x2 syz-executor 52261 523461 6531 0 2 0xc82 syz-executor 6323 486166 6531 0 2 0xc82 syz-executor 99296 287356 6531 0 2 0x2 syz-executor 24108 457688 6531 0 2 0xc82 syz-executor 18302 216022 6531 0 2 0xc82 syz-executor 6531 376575 47322 0 3 0x82 kqread syz-executor 47322 407639 79123 0 3 0x10008a sigsusp ksh 79123 431093 16030 0 3 0x98 kqread sshd-session 16030 110799 75486 0 3 0x92 kqread sshd-session 95593 395219 1 0 3 0x100083 ttyin getty 75486 271894 1 0 3 0x88 kqread sshd 10576 234813 83687 73 3 0x1100090 kqread syslogd 83687 51286 1 0 3 0x100082 sbwait syslogd 86 150291 1 0 3 0x100080 kqread resolvd 65339 396792 74247 77 3 0x100092 kqread dhcpleased 74065 301859 74247 77 3 0x100092 kqread dhcpleased 74247 23476 1 0 3 0x80 kqread dhcpleased 9080 52009 0 0 3 0x14200 bored smr 47334 477249 0 0 2 0x14200 zerothread 90600 496999 0 0 3 0x14200 aiodoned aiodoned 53411 214890 0 0 3 0x14200 syncer update 22833 194832 0 0 3 0x14200 cleaner cleaner 33906 83697 0 0 3 0x14200 reaper reaper 69035 127936 0 0 3 0x14200 pgdaemon pagedaemon 15629 257265 0 0 3 0x14200 bored viomb 42879 38809 0 0 3 0x40014200 acpi0 acpi0 42722 169005 0 0 2 0x14200 softnet0 62166 466982 0 0 3 0x14200 bored systqmp 74358 480423 0 0 3 0x14200 bored systq 56294 181268 0 0 2 0x40014200 softclock 60194 349988 0 0 3 0x40014200 idle0 1 326903 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 11033 12101K 12297K 166960K 12244 0 pcb 18 14K 16K 166960K 126 0 rtable 229 7K 8K 166960K 388 0 pf 28 12K 14K 166960K 34 0 ifaddr 38 6K 7K 166960K 46 0 ifgroup 46 2K 2K 166960K 52 0 sysctl 3 1K 9K 166960K 7 0 counters 32 17K 18K 166960K 36 0 ioctlops 0 0K 4K 166960K 125 0 iov 0 0K 12K 166960K 5 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1303 82K 82K 166960K 1600 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 6 0 VM map 2 1K 1K 166960K 2 0 sem 5 0K 0K 166960K 6 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 89K 166960K 276 0 sigio 0 0K 0K 166960K 1 0 proc 60 59K 91K 166960K 510 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 33 0 in_multi 88 6K 7K 166960K 102 0 ether_multi 1 0K 0K 166960K 2 0 mrt 1 0K 0K 166960K 11 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 380 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 213 160K 176K 166960K 4235 0 UVM aobj 9 2K 2K 166960K 9 0 pinsyscall 37 74K 93K 166960K 1357 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 1 0 NDP 10 0K 2K 166960K 28 0 temp 41 9063K 9143K 166960K 9556 0 kqueue 15 24K 26K 166960K 51 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 41 0 38 1 0 1 1 0 8 0 rtentry 136 118 0 17 4 0 4 4 0 8 0 unpcb 144 121 0 103 2 0 2 2 0 8 1 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 736 77 0 73 4 0 4 4 0 8 3 arp 96 19 0 3 1 0 1 1 0 8 0 inpcb 328 327 0 255 12 0 12 12 0 8 4 ip6q 72 2 0 1 1 0 1 1 0 8 0 ip6af 40 3 0 2 1 0 1 1 0 8 0 nd6 112 26 0 3 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 0 1 1 0 8 1 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1072 3 0 3 1 0 1 1 0 8 1 pfsrclim 320 32 0 32 1 0 1 1 0 8 1 rttmr 136 1 0 1 1 0 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 464 0 52 29 0 29 29 0 8 2 art_table 40 465 0 52 5 0 5 5 0 8 0 art_node 32 118 0 26 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0 semapl 112 4 0 1 1 0 1 1 0 8 0 shmpl 112 6 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1959 0 496 92 0 92 92 0 8 0 ffsino 256 1960 0 496 92 0 92 92 0 8 0 nchpl 144 2336 0 636 64 0 64 64 0 8 0 vnodes 216 2105 0 0 117 0 117 117 0 8 0 namei 1024 7182 0 7181 2 0 2 2 0 8 1 kstatmem 264 24 0 4 2 0 2 2 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 12766 0 12766 8 0 8 8 1 8 8 plimitpl 152 54 0 36 1 0 1 1 0 8 0 sigapl 424 567 0 526 6 0 6 6 0 8 1 knotepl 120 9460 0 9225 15 0 15 15 0 8 7 kqueuepl 184 58 0 47 1 0 1 1 0 8 0 pipepl 304 223 0 195 5 0 5 5 0 8 2 fdescpl 448 553 0 525 5 0 5 5 0 8 1 filepl 120 2935 0 2614 14 0 14 14 0 8 2 lockfpl 104 57 0 55 1 0 1 1 0 8 0 lockfspl 48 23 0 21 1 0 1 1 0 8 0 sessionpl 144 94 0 85 1 0 1 1 0 8 0 pgrppl 48 108 0 91 1 0 1 1 0 8 0 ucredpl 104 615 0 604 1 0 1 1 0 8 0 zombiepl 144 529 0 526 1 0 1 1 0 8 0 processpl 1152 567 0 526 4 0 4 4 0 8 0 procpl 664 786 0 741 5 0 5 5 0 8 0 sosppl 176 1 0 1 1 0 1 1 0 8 1 sockpl 552 497 0 404 12 0 12 12 0 8 4 mcl64k 65536 143 0 143 1 0 1 1 0 8 1 mcl12k 12288 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 12 0 12 1 0 1 1 0 8 1 mcl4k 4096 2690 0 2632 13 0 13 13 0 8 5 mcl2k 2048 272 0 272 2 0 2 2 0 8 2 mtagpl 96 6 0 4 1 0 1 1 0 8 0 mbufpl 256 5958 0 5806 18 0 18 18 0 8 6 bufpl 280 7740 0 1526 444 0 444 444 0 8 0 anonpl 24 136567 0 132461 46 0 46 46 0 187 7 amapchunkpl 152 13874 0 13230 33 0 33 33 0 158 8 amappl16 200 3167 0 3095 16 2 14 14 0 8 6 amappl15 192 25 0 25 1 0 1 1 0 8 1 amappl14 184 407 0 406 1 0 1 1 0 8 0 amappl13 176 112 0 102 1 0 1 1 0 8 0 amappl12 168 790 0 763 2 0 2 2 0 8 0 amappl11 160 3 0 3 1 0 1 1 0 8 1 amappl10 152 59 0 48 1 0 1 1 0 8 0 amappl9 144 264 0 264 1 0 1 1 0 8 1 amappl8 136 96 0 94 1 0 1 1 0 8 0 amappl7 128 142 0 131 1 0 1 1 0 8 0 amappl6 120 152 0 151 1 0 1 1 0 8 0 amappl5 112 93 0 86 1 0 1 1 0 8 0 amappl4 104 254 0 240 1 0 1 1 0 8 0 amappl3 96 2306 0 2206 3 0 3 3 0 8 0 amappl2 88 502 0 446 2 0 2 2 0 8 0 amappl1 80 9439 0 8897 13 0 13 13 0 8 1 amappl 88 3536 0 3386 4 0 4 4 0 92 0 uvmvnodes 80 102 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 7 0 7 1 0 1 1 0 8 1 dma128 128 253 0 253 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 8 0 0 1 0 1 1 0 8 0 uaddrrnd 24 553 0 525 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 553 0 525 1 0 1 1 0 8 0 vmmpekpl 168 6287 0 6252 2 0 2 2 0 8 0 vmmpepl 168 43603 0 41843 85 0 85 85 0 357 0 vmsppl 368 552 0 525 4 0 4 4 0 8 1 rwobjpl 40 15927 0 14942 12 0 12 12 0 8 0 pdppl 4096 1112 0 1050 92 26 66 78 0 8 4 pvpl 32 299434 0 289759 114 0 114 114 0 265 16 pmappl 216 552 0 525 2 0 2 2 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 363 0 26 10 0 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs_indirtrunc(fffffd806cdb7f00,fffffffffffffff4,96f80,ffffffffffffffff,0,ffff80003c916bc8) at ffs_indirtrunc+0x689 sys/ufs/ffs/ffs_inode.c:495 ffs_truncate(fffffd806cdb7f00,0,0,fffffd8007ffd618) at ffs_truncate+0x1036 sys/ufs/ffs/ffs_inode.c:297 ffs_write(ffff80003c916d90) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd806d802498,ffff80003c916f48,1,fffffd8007ffd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_write(fffffd806caeb3d0,ffff80003c916f48,0) at vn_write+0x1c2 sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002f8c0548,9,ffff80003c916f48,0,ffff80003c916ff0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002f8c0548,ffff80003c9170a0,ffff80003c916ff0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80003c9170a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9170a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x979867da350, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace ffs_indirtrunc(fffffd806cdb7f00,fffffffffffffff4,96f80,ffffffffffffffff,0,ffff80003c916bc8) at ffs_indirtrunc+0x689 sys/ufs/ffs/ffs_inode.c:495 ffs_truncate(fffffd806cdb7f00,0,0,fffffd8007ffd618) at ffs_truncate+0x1036 sys/ufs/ffs/ffs_inode.c:297 ffs_write(ffff80003c916d90) at ffs_write+0xb9a sys/ufs/ffs/ffs_vnops.c:401 VOP_WRITE(fffffd806d802498,ffff80003c916f48,1,fffffd8007ffd618) at VOP_WRITE+0x101 sys/kern/vfs_vops.c:245 vn_write(fffffd806caeb3d0,ffff80003c916f48,0) at vn_write+0x1c2 sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002f8c0548,9,ffff80003c916f48,0,ffff80003c916ff0) at dofilewritev+0x2bd sys/kern/sys_generic.c:384 sys_write(ffff80002f8c0548,ffff80003c9170a0,ffff80003c916ff0) at sys_write+0xa2 sys/kern/sys_generic.c:300 syscall(ffff80003c9170a0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline] syscall(ffff80003c9170a0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x979867da350, count: -9