uvm_fault(0xffffffff82ab99b8, 0xffff80002125fff8, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ffs_indirtrunc+0x583: movq 0(%rax,%rbx,8),%r14 TID PID UID PRFLAGS PFLAGS CPU COMMAND *246180 52018 0 0x2 0 0 syz-executor.1 ffs_indirtrunc(fffffd80763340f0,fffffffffffffff4,162700,ffffffffffffffff,0,ffff8000217ccf58) at ffs_indirtrunc+0x583 sys/ufs/ffs/ffs_inode.c:535 ffs_truncate(fffffd80763340f0,0,0,ffffffffffffffff) at ffs_truncate+0xfd5 sys/ufs/ffs/ffs_inode.c:337 ufs_inactive(ffff8000217cd128) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807e85c0d8,ffff8000216f1260) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489 vput(fffffd807e85c0d8) at vput+0xa3 sys/kern/vfs_subr.c:779 ufs_remove(ffff8000217cd228) at ufs_remove+0x145 sys/ufs/ufs/ufs_vnops.c:606 VOP_REMOVE(fffffd807e85c510,fffffd807e85c0d8,ffff8000217cd308) at VOP_REMOVE+0x118 sys/kern/vfs_vops.c:333 dounlinkat(ffff8000216f1260,ffffff9c,7f7ffffe72c0,0) at dounlinkat+0x10c sys/kern/vfs_syscalls.c:1884 syscall(ffff8000217cd480) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7770, count: 5 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(0xffffffff82ab99b8, 0xffff80002125fff8, 0, 1) -> d ddb> trace ffs_indirtrunc(fffffd80763340f0,fffffffffffffff4,162700,ffffffffffffffff,0,ffff8000217ccf58) at ffs_indirtrunc+0x583 sys/ufs/ffs/ffs_inode.c:535 ffs_truncate(fffffd80763340f0,0,0,ffffffffffffffff) at ffs_truncate+0xfd5 sys/ufs/ffs/ffs_inode.c:337 ufs_inactive(ffff8000217cd128) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807e85c0d8,ffff8000216f1260) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489 vput(fffffd807e85c0d8) at vput+0xa3 sys/kern/vfs_subr.c:779 ufs_remove(ffff8000217cd228) at ufs_remove+0x145 sys/ufs/ufs/ufs_vnops.c:606 VOP_REMOVE(fffffd807e85c510,fffffd807e85c0d8,ffff8000217cd308) at VOP_REMOVE+0x118 sys/kern/vfs_vops.c:333 dounlinkat(ffff8000216f1260,ffffff9c,7f7ffffe72c0,0) at dounlinkat+0x10c sys/kern/vfs_syscalls.c:1884 syscall(ffff8000217cd480) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7770, count: -10 ddb> show registers rdi 0x2 rsi 0x2 rbp 0xffff8000217cceb0 rbx 0x1ff rdx 0xfffffd807c3453c8 rcx 0xfffffffffffffff4 rax 0xffff80002125f000 r8 0xffffffffffffffff r9 0xffff8000217ccf58 r10 0x8d83e7d7adbfa686 r11 0x4ff24428e2dc4f9d r12 0x1 r13 0xffffffffffffffff r14 0x2 r15 0xfffffd80763340f0 rip 0xffffffff81506b93 ffs_indirtrunc+0x583 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000217ccdc0 ss 0 ffs_indirtrunc+0x583: movq 0(%rax,%rbx,8),%r14 ddb> show proc PROC (syz-executor.1) pid=246180 stat=onproc flags process=2 proc=0 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff8000216f0000,0xffff8000216f07f0 process=0xffff800021702028 user=0xffff8000217c8000, vmspace=0xfffffd806ba12780 estcpu=36, cpticks=3, pctcpu=0.1 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 51744 322234 38048 0 2 0 syz-executor.6 96901 297677 13203 0 2 0 syz-executor.4 38578 372434 28437 0 2 0 syz-executor.7 28437 447697 99674 0 2 0x482 syz-executor.7 52460 131755 99674 0 2 0x2 syz-executor.3 38048 189772 99674 0 2 0x2 syz-executor.6 47851 62455 99674 0 2 0x2 syz-executor.5 13203 46725 99674 0 3 0x82 nanoslp syz-executor.4 41109 150788 99674 0 2 0x482 syz-executor.2 *52018 246180 99674 0 7 0x2 syz-executor.1 70560 47674 99674 0 2 0x482 syz-executor.0 99674 342873 56354 0 3 0x82 wait syz-execprog 99674 374179 56354 0 2 0x4000482 syz-execprog 99674 162198 56354 0 3 0x4000082 wait syz-execprog 99674 389814 56354 0 3 0x4000082 thrsleep syz-execprog 99674 325038 56354 0 3 0x4000082 wait syz-execprog 99674 502152 56354 0 3 0x4000082 thrsleep syz-execprog 99674 128123 56354 0 3 0x4000082 wait syz-execprog 99674 447003 56354 0 3 0x4000082 wait syz-execprog 99674 108192 56354 0 3 0x4000082 thrsleep syz-execprog 99674 371613 56354 0 3 0x4000082 wait syz-execprog 99674 382335 56354 0 3 0x4000082 wait syz-execprog 99674 333587 56354 0 3 0x4000082 wait syz-execprog 99674 255378 56354 0 3 0x4000082 kqread syz-execprog 56354 260622 70187 0 3 0x10008a sigsusp ksh 70187 181563 27433 0 3 0x9a kqread sshd 28872 5037 1 0 3 0x100083 ttyin getty 27433 245491 1 0 3 0x88 kqread sshd 88818 370759 84993 73 2 0x1100010 syslogd 84993 101684 1 0 3 0x100082 netio syslogd 67348 133360 1 0 3 0x100080 kqread resolvd 73918 478626 10551 77 3 0x100092 kqread dhcpleased 91506 462702 10551 77 3 0x100092 kqread dhcpleased 10551 71705 1 0 3 0x80 kqread dhcpleased 30060 292482 0 0 3 0x14200 bored smr 70228 10861 0 0 2 0x14200 zerothread 68799 117806 0 0 3 0x14200 aiodoned aiodoned 73451 384975 0 0 3 0x14200 syncer update 77450 256406 0 0 3 0x14200 cleaner cleaner 70133 430531 0 0 3 0x14200 reaper reaper 90941 280898 0 0 3 0x14200 pgdaemon pagedaemon 21534 343380 0 0 3 0x14200 bored viomb 16502 197783 0 0 3 0x40014200 acpi0 acpi0 66541 416872 0 0 3 0x14200 bored softnet 63211 222918 0 0 3 0x14200 bored softnet 78073 513041 0 0 3 0x14200 bored softnet 98361 217749 0 0 3 0x14200 bored softnet 95555 341275 0 0 3 0x14200 bored systqmp 66719 212376 0 0 3 0x14200 bored systq 17657 239336 0 0 3 0x40014200 bored softclock 18545 117602 0 0 3 0x40014200 idle0 1 500454 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 10174 6402K 6414K 78643K 11264 0 pcb 13 8K 8K 78643K 13 0 rtable 234 6K 6K 78643K 349 0 ifaddr 82 16K 16K 78643K 84 0 counters 28 17K 17K 78643K 28 0 ioctlops 0 0K 2K 78643K 33 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1167 73K 73K 78643K 1181 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 69K 78643K 571 0 proc 55 58K 75K 78643K 463 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 99 6K 6K 78643K 99 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 1K 78643K 359 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 165 71K 71K 78643K 3302 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 11 0K 2K 78643K 27 0 temp 51 4678K 4742K 78643K 5096 0 kqueue 12 18K 18K 78643K 25 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 36 0 33 1 0 1 1 0 8 0 rtentry 112 111 0 1 4 0 4 4 0 8 0 unpcb 144 33 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpqe 32 48 0 48 1 1 0 1 0 8 0 tcpcb 776 8 0 5 1 0 1 1 0 8 0 arp 88 18 0 0 1 0 1 1 0 8 0 inpcb 336 57 0 51 1 0 1 1 0 8 0 nd6 48 24 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 453 0 0 29 0 29 29 0 8 0 art_table 32 454 0 0 4 0 4 4 0 8 0 art_node 16 110 0 10 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2350 0 914 90 0 90 90 0 8 0 ffsino 240 2351 0 914 85 0 85 85 0 8 0 nchpl 144 3478 0 1806 63 0 63 63 0 8 0 uvmvnodes 80 2361 0 0 49 0 49 49 0 8 0 vnodes 216 2361 0 0 132 0 132 132 0 8 0 namei 1024 9297 0 9295 3 1 2 2 0 8 1 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 11507 0 11507 10 9 1 8 0 8 1 plimitpl 152 25 0 10 1 0 1 1 0 8 0 sigapl 424 865 0 823 6 0 6 6 0 8 1 knotepl 120 4693 0 4615 4 1 3 3 0 8 0 kqueuepl 184 21 0 13 1 0 1 1 0 8 0 pipepl 288 131 0 103 4 1 3 3 0 8 1 fdescpl 432 849 0 824 4 0 4 4 0 8 1 filepl 120 2819 0 2684 5 0 5 5 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 25 0 9 1 0 1 1 0 8 0 pgrppl 48 25 0 9 1 0 1 1 0 8 0 ucredpl 104 67 0 56 1 0 1 1 0 8 0 zombiepl 144 825 0 823 2 1 1 1 0 8 0 processpl 1000 865 0 823 7 1 6 6 0 8 0 procpl 672 877 0 823 5 0 5 5 0 8 0 sockpl 456 126 0 104 4 0 4 4 0 8 1 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 5 0 5 2 1 1 1 0 8 1 mcl2k 2048 10730 0 10661 34 25 9 33 0 8 0 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 18174 0 17933 27 11 16 20 0 8 0 bufpl 288 6574 0 169 458 0 458 458 0 8 0 anonpl 24 121881 0 116931 56 13 43 43 0 188 12 amapchunkpl 152 9115 0 8738 17 1 16 16 0 158 0 amappl16 200 2484 0 2404 10 5 5 5 0 8 0 amappl15 192 9 0 9 1 1 0 1 0 8 0 amappl14 184 147 0 136 2 0 2 2 0 8 0 amappl13 176 5 0 4 1 0 1 1 0 8 0 amappl12 168 401 0 399 2 1 1 1 0 8 0 amappl11 160 51 0 41 1 0 1 1 0 8 0 amappl10 152 36 0 26 1 0 1 1 0 8 0 amappl9 144 916 0 916 2 1 1 1 0 8 1 amappl8 136 108 0 80 2 0 2 2 0 8 0 amappl7 128 47 0 39 1 0 1 1 0 8 0 amappl6 120 244 0 232 2 0 2 2 0 8 1 amappl5 112 86 0 78 1 0 1 1 0 8 0 amappl4 104 463 0 443 1 0 1 1 0 8 0 amappl3 96 1018 0 980 2 0 2 2 0 8 1 amappl2 88 1168 0 1105 4 1 3 3 0 8 1 amappl1 80 15230 0 14625 24 3 21 21 0 8 8 amappl 88 3057 0 2944 3 0 3 3 0 92 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 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 849 0 824 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 849 0 824 1 0 1 1 0 8 0 vmmpekpl 168 10197 0 10175 2 0 2 2 0 8 0 vmmpepl 168 57866 0 56256 102 8 94 94 0 357 20 vmsppl 272 848 0 824 3 1 2 2 0 8 0 rwobjpl 24 17707 0 14386 22 1 21 21 0 8 0 pdppl 4096 1704 0 1648 94 36 58 66 0 8 2 pvpl 32 353229 0 343637 273 21 252 252 0 265 173 pmappl 216 848 0 824 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 839 0 79 22 0 22 22 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs_indirtrunc(fffffd80763340f0,fffffffffffffff4,162700,ffffffffffffffff,0,ffff8000217ccf58) at ffs_indirtrunc+0x583 sys/ufs/ffs/ffs_inode.c:535 ffs_truncate(fffffd80763340f0,0,0,ffffffffffffffff) at ffs_truncate+0xfd5 sys/ufs/ffs/ffs_inode.c:337 ufs_inactive(ffff8000217cd128) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807e85c0d8,ffff8000216f1260) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489 vput(fffffd807e85c0d8) at vput+0xa3 sys/kern/vfs_subr.c:779 ufs_remove(ffff8000217cd228) at ufs_remove+0x145 sys/ufs/ufs/ufs_vnops.c:606 VOP_REMOVE(fffffd807e85c510,fffffd807e85c0d8,ffff8000217cd308) at VOP_REMOVE+0x118 sys/kern/vfs_vops.c:333 dounlinkat(ffff8000216f1260,ffffff9c,7f7ffffe72c0,0) at dounlinkat+0x10c sys/kern/vfs_syscalls.c:1884 syscall(ffff8000217cd480) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7770, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace ffs_indirtrunc(fffffd80763340f0,fffffffffffffff4,162700,ffffffffffffffff,0,ffff8000217ccf58) at ffs_indirtrunc+0x583 sys/ufs/ffs/ffs_inode.c:535 ffs_truncate(fffffd80763340f0,0,0,ffffffffffffffff) at ffs_truncate+0xfd5 sys/ufs/ffs/ffs_inode.c:337 ufs_inactive(ffff8000217cd128) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807e85c0d8,ffff8000216f1260) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489 vput(fffffd807e85c0d8) at vput+0xa3 sys/kern/vfs_subr.c:779 ufs_remove(ffff8000217cd228) at ufs_remove+0x145 sys/ufs/ufs/ufs_vnops.c:606 VOP_REMOVE(fffffd807e85c510,fffffd807e85c0d8,ffff8000217cd308) at VOP_REMOVE+0x118 sys/kern/vfs_vops.c:333 dounlinkat(ffff8000216f1260,ffffff9c,7f7ffffe72c0,0) at dounlinkat+0x10c sys/kern/vfs_syscalls.c:1884 syscall(ffff8000217cd480) at syscall+0x446 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7770, count: -10 ddb>