uvm_fault(0xffffffff82e97840, 0xffff800023972004, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ufs_lookup+0x49b: movzwl 0x4(%r15,%rbx,1),%r14d TID PID UID PRFLAGS PFLAGS CPU COMMAND *366913 44571 0 0x8000000 0x4000000 0K syz-executor.2 ufs_lookup() at ufs_lookup+0x49b sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd805daac968,ffff80002d6f0bd0,ffff80002d6f0c00) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002d6f0ba0) at vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566 namei(ffff80002d6f0ba0) at namei+0x56a sys/kern/vfs_lookup.c:250 vn_open(ffff80002d6f0ba0,102,0) at vn_open+0x101 sys/kern/vfs_vnops.c:140 sys_ktrace(ffff80002a22a2c0,ffff80002d6f0d80,ffff80002d6f0cd0) at sys_ktrace+0x84 sys/kern/kern_ktrace.c:542 syscall(ffff80002d6f0d80) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002d6f0d80) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf3577e07610, 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(0xffffffff82e97840, 0xffff800023972004, 0, 1) -> d ddb{0}> trace ufs_lookup() at ufs_lookup+0x49b sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd805daac968,ffff80002d6f0bd0,ffff80002d6f0c00) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002d6f0ba0) at vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566 namei(ffff80002d6f0ba0) at namei+0x56a sys/kern/vfs_lookup.c:250 vn_open(ffff80002d6f0ba0,102,0) at vn_open+0x101 sys/kern/vfs_vnops.c:140 sys_ktrace(ffff80002a22a2c0,ffff80002d6f0d80,ffff80002d6f0cd0) at sys_ktrace+0x84 sys/kern/kern_ktrace.c:542 syscall(ffff80002d6f0d80) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002d6f0d80) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf3577e07610, count: -8 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002d6f08b0 rbx 0 rdx 0xffff800000e01d40 rcx 0xffffffff rax 0xfffffd807d5879e0 r8 0xffffffffffffffff r9 0xfffffd807f7d3548 r10 0x602c8d289851b425 r11 0x4470fddf2a928b23 r12 0 r13 0xfffffd806e1cf120 r14 0 r15 0xffff800023972000 rip 0xffffffff8158860b ufs_lookup+0x49b cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002d6f07a0 ss 0x10 ufs_lookup+0x49b: movzwl 0x4(%r15,%rbx,1),%r14d ddb{0}> show proc PROC (syz-executor.2) tid=366913 pid=44571 tcnt=2 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002a22ad00,0xffff80002a22a560 process=0xffff80002dbc8d78 user=0xffff80002d6eb000, vmspace=0xfffffd806a350c20 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65931 274084 16799 0 2 0x8000000 syz-executor.4 65931 359613 16799 0 3 0xc000080 fsleep syz-executor.4 65712 363419 95018 60928 2 0x8000010 syz-executor.6 65712 94731 95018 60928 3 0xc000090 fsleep syz-executor.6 62655 96435 89577 0 2 0x8000000 syz-executor.1 62655 405476 89577 0 3 0xc000080 fsleep syz-executor.1 99394 500938 67336 0 2 0x8000000 syz-executor.3 99394 94783 67336 0 3 0xc000080 fsleep syz-executor.3 44571 143532 82152 0 2 0x8000000 syz-executor.2 *44571 366913 82152 0 7 0xc000000 syz-executor.2 16799 357332 47172 0 3 0x8000082 nanoslp syz-executor.4 82152 345882 47172 0 3 0x8000082 nanoslp syz-executor.2 48593 260362 47172 0 2 0x8000002 syz-executor.5 95018 14069 47172 0 2 0x8000482 syz-executor.6 23057 342823 47172 0 2 0x8000482 syz-executor.0 89577 157447 47172 0 2 0x8000482 syz-executor.1 49887 193218 1 0 3 0x18100083 ttyin getty 41639 481946 0 0 3 0x14280 nfsidl nfsio 55905 390856 0 0 3 0x14280 nfsidl nfsio 77158 4762 0 0 3 0x14280 nfsidl nfsio 48616 432183 0 0 3 0x14280 nfsidl nfsio 14847 462955 0 0 3 0x14280 nfsidl nfsio 10197 326550 0 0 3 0x14280 nfsidl nfsio 44640 318266 0 0 3 0x14280 nfsidl nfsio 39788 34788 0 0 3 0x14280 nfsidl nfsio 59413 127739 0 0 3 0x14280 nfsidl nfsio 26799 247314 0 0 3 0x14280 nfsidl nfsio 1192 111930 0 0 3 0x14280 nfsidl nfsio 1482 367298 0 0 3 0x14280 nfsidl nfsio 97016 481685 0 0 3 0x14280 nfsidl nfsio 55895 226907 0 0 3 0x14280 nfsidl nfsio 61432 232912 0 0 3 0x14280 nfsidl nfsio 72919 169117 0 0 3 0x14280 nfsidl nfsio 8382 294661 0 0 3 0x14280 nfsidl nfsio 20901 105115 0 0 3 0x14280 nfsidl nfsio 56482 123783 0 0 3 0x14280 nfsidl nfsio 93158 106578 0 0 3 0x14280 nfsidl nfsio 20240 148540 0 0 3 0x14200 bored sosplice 79576 440651 47172 0 2 0x8000002 syz-executor.7 67336 271376 47172 0 2 0x8000482 syz-executor.3 47172 423186 39438 0 3 0x1a000082 wait syz-fuzzer 47172 210085 39438 0 3 0x1e000082 nanoslp syz-fuzzer 47172 139922 39438 0 3 0x1e000082 wait syz-fuzzer 47172 444865 39438 0 3 0x1e000082 kqread syz-fuzzer 47172 79752 39438 0 3 0x1e000082 wait syz-fuzzer 47172 156094 39438 0 3 0x1e000082 thrsleep syz-fuzzer 47172 140700 39438 0 3 0x1e000082 thrsleep syz-fuzzer 47172 512124 39438 0 3 0x1e000082 wait syz-fuzzer 47172 453718 39438 0 3 0x1e000082 thrsleep syz-fuzzer 47172 459335 39438 0 3 0x1e000082 wait syz-fuzzer 47172 522710 39438 0 3 0x1e000082 thrsleep syz-fuzzer 47172 34366 39438 0 3 0x1e000082 thrsleep syz-fuzzer 47172 218169 39438 0 3 0x1e000082 thrsleep syz-fuzzer 47172 266961 39438 0 3 0x1e000082 wait syz-fuzzer 47172 314581 39438 0 3 0x1e000082 thrsleep syz-fuzzer 47172 180267 39438 0 3 0x1e000082 wait syz-fuzzer 47172 338445 39438 0 3 0x1e000082 wait syz-fuzzer 39438 498135 89218 0 3 0x810008a sigsusp ksh 89218 67351 20921 0 3 0x1800009a kqread sshd 20921 50123 1 0 3 0x18000088 kqread sshd 28843 8692 93229 73 2 0x19100010 syslogd 93229 135764 1 0 3 0x18100082 sbwait syslogd 69419 80696 1 0 3 0x18100080 kqread resolvd 75415 77233 0 0 3 0x14200 bored smr 5165 150814 0 0 2 0x14200 zerothread 35007 207488 0 0 3 0x14200 aiodoned aiodoned 14604 100421 0 0 3 0x14200 syncer update 65529 283414 0 0 3 0x14200 cleaner cleaner 15625 105772 0 0 3 0x14200 reaper reaper 3097 514724 0 0 3 0x14200 pgdaemon pagedaemon 73775 366895 0 0 3 0x14200 bored viomb 92092 410720 0 0 3 0x40014200 acpi0 acpi0 88189 270567 0 0 7 0x40014200 idle1 51591 388864 0 0 3 0x14200 bored softnet3 86129 395919 0 0 3 0x14200 bored softnet2 1618 228127 0 0 3 0x14200 bored softnet1 8449 136002 0 0 2 0x14200 softnet0 57064 78514 0 0 3 0x14200 bored systqmp 41829 53136 0 0 3 0x14200 bored systq 11564 107830 0 0 3 0x14200 tmoslp softclockmp 51065 30088 0 0 2 0x40014200 softclock 10864 74654 0 0 3 0x40014200 idle0 1 468182 0 0 3 0x8080082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 44571 (syz-executor.2) thread 0xffff80002a22a2c0 (366913) Process 48593 (syz-executor.5) thread 0xffff80002dbb14c0 (260362) Process 79576 (syz-executor.7) thread 0xffff80002a212540 (440651) Process 28843 (syslogd) thread 0xffff8000ffffdc40 (8692) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10176 6410K 6760K 166960K 11584 0 pcb 17 12K 12K 166960K 112 0 rtable 194 14K 15K 166960K 827 0 pf 29 8K 10K 166960K 100 0 ifaddr 41 15K 15K 166960K 121 0 ifgroup 50 2K 2K 166960K 158 0 sysctl 3 0K 0K 166960K 3 0 counters 64 36K 37K 166960K 118 0 ioctlops 0 0K 4K 166960K 1541 0 iov 0 0K 12K 166960K 38 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1363 86K 86K 166960K 1901 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 3 5K 9K 166960K 30 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 65 0 dirhash 15 2K 2K 166960K 21 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 15 53K 93K 166960K 1040 0 sigio 0 0K 0K 166960K 18 0 proc 52 54K 115K 166960K 908 0 subproc 104 6K 6K 166960K 274 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 2 0K 0K 166960K 132 0 in_multi 84 6K 7K 166960K 265 0 ether_multi 1 0K 0K 166960K 3 0 mrt 0 0K 0K 166960K 5 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 97 440K 440K 166960K 97 0 exec 0 0K 1K 166960K 621 0 pfkey data 0 0K 0K 166960K 4 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 253 129K 130K 166960K 10934 0 UVM aobj 42 2K 2K 166960K 45 0 pinsyscall 29 58K 100K 166960K 2526 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 53 0 NDP 17 0K 1K 166960K 81 0 temp 75 6884K 6886K 166960K 31324 0 kqueue 7 12K 31K 166960K 150 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 120 0 119 1 0 1 1 0 8 0 rtentry 112 281 0 196 4 1 3 4 0 8 0 unpcb 144 660 0 652 2 1 1 2 0 8 0 syncache 336 4 0 4 1 1 0 1 0 8 0 tcpqe 32 66 0 66 1 1 0 1 0 8 0 tcpcb 808 242 0 235 3 2 1 2 0 8 0 arp 120 51 0 33 1 0 1 1 0 8 0 inpcb 384 920 0 909 7 5 2 3 0 8 0 nd6 136 70 0 50 1 0 1 1 0 8 0 pkpcb 40 6 0 6 2 2 0 1 0 8 0 kcovpl 48 21 0 13 1 0 1 1 0 8 0 ppxss 1168 3 0 3 3 3 0 1 0 8 0 pffrag 232 5 0 2 1 0 1 1 0 482 0 pffrnode 88 5 0 2 1 0 1 1 0 8 0 pffrent 40 6 0 3 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 99 0 58 1 0 1 1 0 8 0 pfstkey 128 99 0 58 2 0 2 2 0 8 0 pfstate 376 99 0 58 6 0 6 6 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1127 0 739 32 7 25 29 0 8 0 art_table 32 1128 0 739 4 0 4 4 0 8 0 art_node 16 280 0 205 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 7 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 61 0 51 1 0 1 1 0 8 0 shmpl 112 42 0 3 2 0 2 2 0 8 0 dirhash 1024 23 0 4 3 0 3 3 0 8 0 dino2pl 256 2985 0 1465 96 0 96 96 0 8 0 ffsino 272 2985 0 1465 102 0 102 102 0 8 0 nchpl 144 4466 0 2722 67 0 67 67 0 8 0 uvmvnodes 80 3362 0 0 69 0 69 69 0 8 0 vnodes 216 3362 0 0 187 0 187 187 0 8 0 namei 1024 16187 0 16186 4 3 1 2 0 8 0 percpumem 16 73 0 27 1 0 1 1 0 8 0 vcpupl 3904 6 0 0 1 0 1 1 0 8 0 vmpool 696 9 0 3 1 0 1 1 0 8 0 kstatmem 264 76 0 54 3 1 2 3 0 8 0 scsiplug 72 4 0 4 3 2 1 1 0 8 1 scxspl 216 24164 0 24164 12 11 1 8 1 8 1 plimitpl 152 201 0 186 1 0 1 1 0 8 0 sigapl 424 1339 0 1276 9 1 8 8 0 8 0 futexpl 64 13791 0 13787 4 3 1 1 0 8 0 knotepl 120 635 0 0 18 0 18 18 0 8 0 kqueuepl 216 263 0 257 1 0 1 1 0 8 0 pipepl 320 287 0 258 3 0 3 3 0 8 0 fdescpl 496 1300 0 1277 6 2 4 5 0 8 0 filepl 152 7444 0 7211 11 1 10 11 0 8 0 lockfpl 104 214 0 212 1 0 1 1 0 8 0 lockfspl 48 98 0 96 1 0 1 1 0 8 0 sessionpl 144 37 0 22 1 0 1 1 0 8 0 pgrppl 48 55 0 40 1 0 1 1 0 8 0 ucredpl 104 1242 0 1231 1 0 1 1 0 8 0 zombiepl 144 1277 0 1276 1 0 1 1 0 8 0 processpl 1136 1339 0 1276 6 0 6 6 0 8 0 procpl 656 2250 0 2166 9 0 9 9 0 8 0 srpgc 96 21 0 21 3 3 0 1 0 8 0 sosppl 168 14 0 14 3 3 0 1 0 8 0 sockpl 664 1723 0 1704 8 6 2 5 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 353 0 0 45 0 45 45 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 475 0 0 28 0 28 28 0 8 0 bufpl 280 7565 0 1310 447 0 447 447 0 8 0 anonpl 24 275172 0 269761 74 11 63 65 0 186 15 amapchunkpl 152 35390 0 34794 48 11 37 38 0 158 7 amappl16 200 6759 0 6625 37 25 12 20 0 8 3 amappl15 192 39 0 38 1 0 1 1 0 8 0 amappl14 184 238 0 230 2 1 1 2 0 8 0 amappl13 176 37 0 36 1 0 1 1 0 8 0 amappl12 168 2173 0 2146 3 1 2 3 0 8 0 amappl11 160 48 0 43 1 0 1 1 0 8 0 amappl10 152 54 0 46 1 0 1 1 0 8 0 amappl9 144 172 0 172 2 2 0 1 0 8 0 amappl8 136 172 0 134 2 0 2 2 0 8 0 amappl7 128 58 0 43 1 0 1 1 0 8 0 amappl6 120 493 0 483 2 1 1 2 0 8 0 amappl5 112 217 0 208 1 0 1 1 0 8 0 amappl4 104 657 0 628 2 0 2 2 0 8 0 amappl3 96 7282 0 7218 3 0 3 3 0 8 0 amappl2 88 1726 0 1677 4 2 2 4 0 8 0 amappl1 80 13143 0 12749 22 10 12 22 0 8 0 amappl 88 10236 0 10064 6 0 6 6 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 44 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1309 0 1280 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1309 0 1280 1 0 1 1 0 8 0 vmmpekpl 168 13598 0 13535 4 0 4 4 0 8 0 vmmpepl 168 101838 0 100275 116 33 83 115 0 357 2 vmsppl 440 1308 0 1280 4 0 4 4 0 8 0 rwobjpl 56 33925 0 29607 65 3 62 62 0 8 0 pdppl 4096 2625 0 2566 142 75 67 79 0 8 8 pvpl 32 49322 0 0 400 2 398 399 0 265 0 pmappl 248 1308 0 1280 5 2 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 466 0 93 11 0 11 11 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ufs_lookup() at ufs_lookup+0x49b sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd805daac968,ffff80002d6f0bd0,ffff80002d6f0c00) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002d6f0ba0) at vfs_lookup+0x6f8 sys/kern/vfs_lookup.c:566 namei(ffff80002d6f0ba0) at namei+0x56a sys/kern/vfs_lookup.c:250 vn_open(ffff80002d6f0ba0,102,0) at vn_open+0x101 sys/kern/vfs_vnops.c:140 sys_ktrace(ffff80002a22a2c0,ffff80002d6f0d80,ffff80002d6f0cd0) at sys_ktrace+0x84 sys/kern/kern_ktrace.c:542 syscall(ffff80002d6f0d80) at syscall+0x854 mi_syscall sys/sys/syscall_mi.h:180 [inline] syscall(ffff80002d6f0d80) at syscall+0x854 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf3577e07610, count: -8 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800029cebff0) at x86_ipi_db+0x1e sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 acpicpu_idle() at acpicpu_idle+0x2f1 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800029cebff0) at sched_idle+0x41d sys/kern/kern_sched.c:183 end trace frame: 0x0, count: -5