uvm_fault(0xffffffff82a9a8e8, 0xffff80001b88fff8, 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 *342576 15797 0 0x2 0 0 syz-executor.0 ffs_indirtrunc(fffffd806efc5b50,fffffffffffffff4,73860,ffffffffffffffff,0,ffff80002b47f768) at ffs_indirtrunc+0x583 sys/ufs/ffs/ffs_inode.c:535 ffs_truncate(fffffd806efc5b50,0,0,ffffffffffffffff) at ffs_truncate+0xfd5 sys/ufs/ffs/ffs_inode.c:337 ufs_inactive(ffff80002b47f938) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807a52f2e0,ffff8000216f0540) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489 vput(fffffd807a52f2e0) at vput+0xa3 sys/kern/vfs_subr.c:779 ufs_remove(ffff80002b47fa38) at ufs_remove+0x145 sys/ufs/ufs/ufs_vnops.c:606 VOP_REMOVE(fffffd80678337f8,fffffd807a52f2e0,ffff80002b47fb18) at VOP_REMOVE+0x118 sys/kern/vfs_vops.c:333 dounlinkat(ffff8000216f0540,ffffff9c,7f7fffff8530,0) at dounlinkat+0x10c sys/kern/vfs_syscalls.c:1884 syscall(ffff80002b47fc90) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff89e0, 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(0xffffffff82a9a8e8, 0xffff80001b88fff8, 0, 1) -> d ddb> trace ffs_indirtrunc(fffffd806efc5b50,fffffffffffffff4,73860,ffffffffffffffff,0,ffff80002b47f768) at ffs_indirtrunc+0x583 sys/ufs/ffs/ffs_inode.c:535 ffs_truncate(fffffd806efc5b50,0,0,ffffffffffffffff) at ffs_truncate+0xfd5 sys/ufs/ffs/ffs_inode.c:337 ufs_inactive(ffff80002b47f938) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807a52f2e0,ffff8000216f0540) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489 vput(fffffd807a52f2e0) at vput+0xa3 sys/kern/vfs_subr.c:779 ufs_remove(ffff80002b47fa38) at ufs_remove+0x145 sys/ufs/ufs/ufs_vnops.c:606 VOP_REMOVE(fffffd80678337f8,fffffd807a52f2e0,ffff80002b47fb18) at VOP_REMOVE+0x118 sys/kern/vfs_vops.c:333 dounlinkat(ffff8000216f0540,ffffff9c,7f7fffff8530,0) at dounlinkat+0x10c sys/kern/vfs_syscalls.c:1884 syscall(ffff80002b47fc90) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff89e0, count: -10 ddb> show registers rdi 0x2 rsi 0x2 rbp 0xffff80002b47f6c0 rbx 0x1ff rdx 0 rcx 0xfffffffffffffff4 rax 0xffff80001b88f000 r8 0xffffffffffffffff r9 0xffff80002b47f768 r10 0x7eaacc58e443339c r11 0x9964ccc6ec61d23b r12 0x1 r13 0xffffffffffffffff r14 0x2 r15 0xfffffd806efc5b50 rip 0xffffffff8222cc23 ffs_indirtrunc+0x583 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002b47f5d0 ss 0x10 ffs_indirtrunc+0x583: movq 0(%rax,%rbx,8),%r14 ddb> show proc PROC (syz-executor.0) pid=342576 stat=onproc flags process=2 proc=0 pri=17, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff800029a4d7b0,0xffff800029a4c560 process=0xffff800021711b80 user=0xffff80002b47a000, vmspace=0xfffffd806713faa0 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 16328 216581 85218 0 2 0 syz-executor.5 16328 359488 85218 0 2 0x4000000 syz-executor.5 55122 164060 23507 0 2 0 syz-executor.3 55122 396306 23507 0 3 0x4000080 fsleep syz-executor.3 93630 467006 31292 0 2 0x10 syz-executor.7 93630 491242 31292 0 3 0x4000090 fsleep syz-executor.7 93630 460202 31292 0 2 0x4000010 syz-executor.7 93630 23540 31292 0 2 0x4000010 syz-executor.7 93630 196677 31292 0 2 0x4000010 syz-executor.7 93630 428949 31292 0 2 0x4000010 syz-executor.7 23507 105369 49928 0 2 0x482 syz-executor.3 85218 107885 49928 0 2 0x482 syz-executor.5 31292 83938 49928 0 2 0x482 syz-executor.7 36195 156885 49928 0 2 0x482 syz-executor.2 14477 343472 49928 0 2 0x2 syz-executor.4 30171 151872 49928 0 2 0x482 syz-executor.1 18289 136567 49928 0 2 0x2 syz-executor.6 *15797 342576 49928 0 7 0x2 syz-executor.0 97722 190766 0 0 3 0x14280 nfsidl nfsio 64484 308000 0 0 3 0x14280 nfsidl nfsio 38664 195537 0 0 3 0x14280 nfsidl nfsio 75896 25613 0 0 3 0x14280 nfsidl nfsio 97491 507087 0 0 3 0x14280 nfsidl nfsio 63028 369736 0 0 3 0x14280 nfsidl nfsio 13367 486015 0 0 3 0x14280 nfsidl nfsio 50198 252987 0 0 3 0x14280 nfsidl nfsio 50639 21651 0 0 3 0x14280 nfsidl nfsio 78680 72613 0 0 3 0x14280 nfsidl nfsio 3062 520930 0 0 3 0x14280 nfsidl nfsio 9118 512428 0 0 3 0x14280 nfsidl nfsio 83820 207634 0 0 3 0x14280 nfsidl nfsio 86717 143595 0 0 3 0x14280 nfsidl nfsio 57014 182716 0 0 3 0x14280 nfsidl nfsio 54617 283155 0 0 3 0x14280 nfsidl nfsio 33192 150754 0 0 3 0x14280 nfsidl nfsio 88729 396309 0 0 3 0x14280 nfsidl nfsio 3624 460805 0 0 3 0x14280 nfsidl nfsio 28668 250357 0 0 3 0x14280 nfsidl nfsio 96846 169124 1 0 3 0x100083 ttyin getty 30210 341848 0 0 3 0x14200 bored sosplice 49928 56908 57745 0 3 0x82 thrsleep syz-fuzzer 49928 336951 57745 0 2 0x4000482 syz-fuzzer 49928 53654 57745 0 3 0x4000082 wait syz-fuzzer 49928 99632 57745 0 3 0x4000082 wait syz-fuzzer 49928 479657 57745 0 3 0x4000082 thrsleep syz-fuzzer 49928 513230 57745 0 3 0x4000082 thrsleep syz-fuzzer 49928 319340 57745 0 2 0x4000002 syz-fuzzer 49928 383695 57745 0 3 0x4000082 thrsleep syz-fuzzer 49928 146453 57745 0 3 0x4000082 wait syz-fuzzer 49928 523783 57745 0 3 0x4000082 wait syz-fuzzer 49928 483776 57745 0 3 0x4000082 wait syz-fuzzer 49928 398992 57745 0 3 0x4000082 wait syz-fuzzer 49928 19632 57745 0 3 0x4000082 wait syz-fuzzer 49928 306447 57745 0 3 0x4000082 wait syz-fuzzer 57745 503740 78244 0 3 0x10008a sigsusp ksh 78244 477284 40581 0 2 0x12 sshd 40581 480985 1 0 3 0x88 kqread sshd 35891 309652 98149 73 3 0x1100090 kqread syslogd 98149 392384 1 0 3 0x100082 netio syslogd 76658 281389 1 0 3 0x100080 kqread resolvd 65485 177575 44031 77 3 0x100092 kqread dhcpleased 24226 336654 44031 77 3 0x100092 kqread dhcpleased 44031 78158 1 0 3 0x80 kqread dhcpleased 8311 479569 0 0 3 0x14200 bored smr 86088 267338 0 0 2 0x14200 zerothread 88344 311494 0 0 3 0x14200 aiodoned aiodoned 85566 309769 0 0 3 0x14200 syncer update 66794 86401 0 0 3 0x14200 cleaner cleaner 25046 484786 0 0 3 0x14200 reaper reaper 32970 487995 0 0 3 0x14200 pgdaemon pagedaemon 73671 353692 0 0 3 0x14200 bored viomb 96345 196097 0 0 3 0x40014200 acpi0 acpi0 33795 267231 0 0 3 0x14200 bored softnet 30537 199691 0 0 3 0x14200 bored softnet 92677 150168 0 0 3 0x14200 bored softnet 85484 418540 0 0 3 0x14200 bored softnet 20066 31902 0 0 3 0x14200 bored systqmp 10739 212785 0 0 3 0x14200 bored systq 48897 461012 0 0 2 0x40014200 softclock 25277 455189 0 0 3 0x40014200 idle0 1 204894 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 10207 6479K 6873K 78643K 20926 0 pcb 13 14K 16K 78643K 1233 0 rtable 193 8K 9K 78643K 1997 0 ifaddr 139 34K 35K 78643K 999 0 sysctl 2 0K 0K 78643K 2 0 counters 26 17K 17K 78643K 412 0 ioctlops 0 0K 8K 78643K 3779 0 iov 0 0K 28K 78643K 905 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1344 84K 84K 78643K 4858 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 70 0 VM map 2 0K 0K 78643K 2 0 sem 25 3K 3K 78643K 733 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 73K 78643K 6540 0 sigio 0 0K 0K 78643K 265 0 proc 58 59K 75K 78643K 1758 0 subproc 104 6K 7K 78643K 585 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 199 0 in_multi 81 5K 6K 78643K 656 0 ether_multi 1 0K 0K 78643K 24 0 mrt 1 0K 0K 78643K 38 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 187 837K 837K 78643K 187 0 exec 0 0K 2K 78643K 2660 0 pfkey data 0 0K 0K 78643K 10 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 350 529K 544K 78643K 36695 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 157 0 NDP 11 0K 2K 78643K 259 0 temp 124 4726K 5750K 78643K 103762 0 kqueue 13 20K 26K 78643K 592 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 581 0 578 9 7 2 3 0 8 1 rtentry 112 635 0 553 4 1 3 4 0 8 0 unpcb 144 10941 0 10926 69 61 8 10 0 8 7 syncache 296 44 0 44 7 7 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 98 0 98 5 5 0 1 0 8 0 tcpcb 768 1956 0 1948 77 73 4 15 0 8 2 arp 88 97 0 83 1 0 1 1 0 8 0 ipq 40 7 0 7 3 3 0 1 0 8 0 ipqe 40 18 0 18 3 3 0 1 0 8 0 inpcb 336 6105 0 6098 97 93 4 13 0 8 3 ip6q 72 4 0 4 2 1 1 1 0 8 1 ip6af 40 7 0 7 2 1 1 1 0 8 1 nd6 48 141 0 122 1 0 1 1 0 8 0 pkpcb 40 72 0 72 6 6 0 1 0 8 0 kcovpl 48 45 0 37 1 0 1 1 0 8 0 ppxss 1160 295 0 295 14 13 1 1 0 8 1 pppxif 1608 89 0 89 8 8 0 1 0 8 0 pfstscr 40 50 0 50 4 4 0 1 0 8 0 pfosfp 40 35 0 34 1 0 1 1 0 8 0 pfosfpen 112 35 0 34 1 0 1 1 0 8 0 pfrktable 1344 12 0 10 2 1 1 1 0 8 0 pfanchor 1280 274 0 84 18 1 17 17 0 8 0 pftag 88 7 0 3 1 0 1 1 0 8 0 pfstitem 24 15 0 14 1 0 1 1 0 8 0 pfstkey 120 127 0 126 3 2 1 1 0 8 0 pfstate 336 81 0 80 3 2 1 1 0 8 0 pfrule 1360 292 0 271 4 2 2 2 0 8 0 rttmr 136 11 0 11 3 2 1 1 0 8 1 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 2679 0 2307 48 24 24 30 0 8 0 art_table 32 2680 0 2307 4 0 4 4 0 8 0 art_node 16 622 0 551 1 0 1 1 0 8 0 sysvmsgpl 40 21 0 11 1 0 1 1 0 8 0 semupl 112 4 0 4 2 2 0 1 0 8 0 semapl 112 725 0 702 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 10208 0 8747 92 0 92 92 0 8 0 ffsino 240 10208 0 8747 86 0 86 86 0 8 0 nchpl 144 19008 0 18468 63 41 22 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 72595 0 72594 7 6 1 2 0 8 0 vcpupl 2048 99 0 0 13 0 13 13 0 8 0 vmpool 536 154 0 55 9 2 7 7 0 8 0 pfiaddrpl 120 6 0 3 2 1 1 1 0 8 0 kstatmem 264 330 0 308 2 0 2 2 0 8 0 scsiplug 72 19 0 19 4 3 1 1 0 8 1 scxspl 216 61777 0 61777 20 18 2 8 0 8 2 plimitpl 152 796 0 780 1 0 1 1 0 8 0 sigapl 424 6776 0 6713 8 0 8 8 0 8 0 futexpl 64 65990 0 65988 4 3 1 1 0 8 0 knotepl 120 100985 0 100903 51 44 7 13 0 8 2 kqueuepl 184 1373 0 1363 12 11 1 4 0 8 0 pipepl 288 1258 0 1230 27 24 3 7 0 8 0 fdescpl 432 6739 0 6715 4 0 4 4 0 8 0 filepl 120 52935 0 52692 77 61 16 17 0 8 7 lockfpl 104 1437 0 1433 2 1 1 2 0 8 0 lockfspl 48 495 0 491 1 0 1 1 0 8 0 sessionpl 144 62 0 46 1 0 1 1 0 8 0 pgrppl 48 146 0 130 1 0 1 1 0 8 0 ucredpl 104 6661 0 6648 1 0 1 1 0 8 0 zombiepl 144 6715 0 6713 2 1 1 1 0 8 0 processpl 1000 6776 0 6713 10 1 9 9 0 8 0 procpl 672 16893 0 16810 23 14 9 9 0 8 1 sosppl 168 44 0 44 8 8 0 1 0 8 0 sockpl 456 17702 0 17677 346 318 28 41 0 8 24 mcl64k 65536 248 0 248 10 9 1 1 0 8 1 mcl16k 16384 83 0 83 16 15 1 1 0 8 1 mcl12k 12288 244 0 244 12 11 1 1 0 8 1 mcl9k 9216 85 0 85 15 14 1 1 0 8 1 mcl8k 8192 472 0 472 7 6 1 1 0 8 1 mcl4k 4096 655 0 655 9 8 1 1 0 8 1 mcl2k2 2112 81 0 81 16 16 0 1 0 8 0 mcl2k 2048 91705 0 91574 29 11 18 18 0 8 0 mtagpl 96 911 0 712 12 7 5 6 0 8 0 mbufpl 256 247326 0 246931 390 361 29 72 0 8 0 bufpl 288 16377 0 9975 458 0 458 458 0 8 0 anonpl 24 1281377 0 1262497 206 82 124 143 0 188 2 amapchunkpl 152 106888 0 106156 70 38 32 43 0 158 0 amappl16 200 18170 0 17532 86 49 37 47 0 8 2 amappl15 192 2536 0 2525 1 0 1 1 0 8 0 amappl14 184 1699 0 1692 1 0 1 1 0 8 0 amappl13 176 1196 0 1192 1 0 1 1 0 8 0 amappl12 168 800 0 791 1 0 1 1 0 8 0 amappl11 160 625 0 609 1 0 1 1 0 8 0 amappl10 152 348 0 343 1 0 1 1 0 8 0 amappl9 144 1227 0 1219 2 1 1 1 0 8 0 amappl8 136 1835 0 1754 3 0 3 3 0 8 0 amappl7 128 818 0 797 1 0 1 1 0 8 0 amappl6 120 761 0 735 2 1 1 2 0 8 0 amappl5 112 4112 0 4101 1 0 1 1 0 8 0 amappl4 104 4042 0 4011 1 0 1 1 0 8 0 amappl3 96 19781 0 19737 2 0 2 2 0 8 0 amappl2 88 7625 0 7562 3 1 2 3 0 8 0 amappl1 80 160763 0 160106 23 7 16 21 0 8 0 amappl 88 35393 0 35212 5 0 5 5 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 6893 0 6770 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6893 0 6770 1 0 1 1 0 8 0 vmmpekpl 168 52401 0 52321 4 0 4 4 0 8 0 vmmpepl 168 667892 0 665176 270 127 143 166 0 357 0 vmsppl 272 6892 0 6770 10 1 9 9 0 8 0 rwobjpl 24 164522 0 156723 49 0 49 49 0 8 0 pdppl 4096 13792 0 13639 564 401 163 163 0 8 10 pvpl 32 2589847 0 2566985 421 216 205 254 0 265 6 pmappl 216 6892 0 6770 8 0 8 8 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1877 0 965 28 0 28 28 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace ffs_indirtrunc(fffffd806efc5b50,fffffffffffffff4,73860,ffffffffffffffff,0,ffff80002b47f768) at ffs_indirtrunc+0x583 sys/ufs/ffs/ffs_inode.c:535 ffs_truncate(fffffd806efc5b50,0,0,ffffffffffffffff) at ffs_truncate+0xfd5 sys/ufs/ffs/ffs_inode.c:337 ufs_inactive(ffff80002b47f938) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807a52f2e0,ffff8000216f0540) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489 vput(fffffd807a52f2e0) at vput+0xa3 sys/kern/vfs_subr.c:779 ufs_remove(ffff80002b47fa38) at ufs_remove+0x145 sys/ufs/ufs/ufs_vnops.c:606 VOP_REMOVE(fffffd80678337f8,fffffd807a52f2e0,ffff80002b47fb18) at VOP_REMOVE+0x118 sys/kern/vfs_vops.c:333 dounlinkat(ffff8000216f0540,ffffff9c,7f7fffff8530,0) at dounlinkat+0x10c sys/kern/vfs_syscalls.c:1884 syscall(ffff80002b47fc90) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff89e0, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace ffs_indirtrunc(fffffd806efc5b50,fffffffffffffff4,73860,ffffffffffffffff,0,ffff80002b47f768) at ffs_indirtrunc+0x583 sys/ufs/ffs/ffs_inode.c:535 ffs_truncate(fffffd806efc5b50,0,0,ffffffffffffffff) at ffs_truncate+0xfd5 sys/ufs/ffs/ffs_inode.c:337 ufs_inactive(ffff80002b47f938) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd807a52f2e0,ffff8000216f0540) at VOP_INACTIVE+0xb7 sys/kern/vfs_vops.c:489 vput(fffffd807a52f2e0) at vput+0xa3 sys/kern/vfs_subr.c:779 ufs_remove(ffff80002b47fa38) at ufs_remove+0x145 sys/ufs/ufs/ufs_vnops.c:606 VOP_REMOVE(fffffd80678337f8,fffffd807a52f2e0,ffff80002b47fb18) at VOP_REMOVE+0x118 sys/kern/vfs_vops.c:333 dounlinkat(ffff8000216f0540,ffffff9c,7f7fffff8530,0) at dounlinkat+0x10c sys/kern/vfs_syscalls.c:1884 syscall(ffff80002b47fc90) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff89e0, count: -10