uvm_fault(0xffffffff8354a888, 0xffff800027c12004, 0, 1) -> d kernel: page fault trap, code=0 Stopped at ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d TID PID UID PRFLAGS PFLAGS CPU COMMAND *366603 58061 0 0x2 0 1K syz-executor ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8079395610,ffff80002f172150,ffff80002f172180) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002f172120) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002f172120) at namei+0x7aa sys/kern/vfs_lookup.c:250 domkdirat(ffff8000ffff7970,ffffff9c,6f92eb8b1400,1ff) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 syscall(ffff80002f172300) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002f172300) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6f92eb8b1490, count: 8 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: uvm_fault(0xffffffff8354a888, 0xffff800027c12004, 0, 1) -> d ddb{1}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8079395610,ffff80002f172150,ffff80002f172180) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002f172120) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002f172120) at namei+0x7aa sys/kern/vfs_lookup.c:250 domkdirat(ffff8000ffff7970,ffffff9c,6f92eb8b1400,1ff) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 syscall(ffff80002f172300) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002f172300) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6f92eb8b1490, count: -7 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002f171ec0 rbx 0 rdx 0 rcx 0xffffffff rax 0xfffffd80627bf480 r8 0xffffffffffffffff r9 0xfffffd807f7d3680 r10 0x439e0815c8f26add r11 0x754215d654366114 r12 0 r13 0xfffffd807da56de0 r14 0 r15 0xffff800027c12000 rip 0xffffffff829bc8c1 ufs_lookup+0x5e1 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002f171db0 ss 0x10 ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d ddb{1}> show proc PROC (syz-executor) tid=366603 pid=58061 tcnt=1 stat=onproc flags process=2 proc=0 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff7bf8,0xffff8000ffff7470 process=0xffff8000371b9fd8 user=0xffff80002f16d000, vmspace=0xfffffd806c8a7c20 estcpu=36, cpticks=4, pctcpu=0.0, user=0, sys=4, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 3905 476453 58357 0 3 0x2 clonelk ifconfig 58357 400739 60920 0 3 0x10008a sigsusp sh 60920 61447 74285 0 3 0x82 wait syz-executor *58061 366603 74285 0 7 0x2 syz-executor 13436 233727 0 0 3 0x14200 bored sosplice 74285 211096 95501 0 3 0x82 wait syz-executor 95501 57310 61632 0 3 0x10008a sigsusp ksh 61632 149287 56267 0 3 0x98 kqread sshd-session 56267 300334 95688 0 3 0x92 kqread sshd-session 79935 110566 1 0 3 0x100083 ttyin getty 95688 430346 1 0 3 0x88 kqread sshd 62680 203466 70285 74 3 0x1100092 bpf pflogd 70285 141340 1 0 3 0x80 sbwait pflogd 31369 9746 60180 73 3 0x1100090 kqread syslogd 60180 241598 1 0 3 0x100082 sbwait syslogd 64439 269105 1 0 3 0x100080 kqread resolvd 23730 392242 97526 77 3 0x100092 kqread dhcpleased 21682 272543 97526 77 3 0x100092 kqread dhcpleased 97526 89053 1 0 3 0x80 kqread dhcpleased 64899 245418 0 0 3 0x14200 bored smr 41391 375410 0 0 3 0x14200 pgzero zerothread 54556 473384 0 0 3 0x14200 aiodoned aiodoned 15210 192197 0 0 3 0x14200 syncer update 30456 3456 0 0 3 0x14200 cleaner cleaner 86633 449123 0 0 3 0x14200 reaper reaper 98297 344991 0 0 3 0x14200 pgdaemon pagedaemon 10970 205802 0 0 3 0x14200 bored viomb 60006 448095 0 0 3 0x40014200 acpi0 acpi0 48708 498653 0 0 3 0x40014200 idle1 66186 336033 0 0 3 0x14200 bored softnet3 99628 321159 0 0 3 0x14200 bored softnet2 89278 12347 0 0 3 0x14200 bored softnet1 33006 138257 0 0 3 0x14200 bored softnet0 9521 326127 0 0 3 0x14200 bored systqmp 2753 524151 0 0 3 0x14200 bored systq 31425 424868 0 0 3 0x14200 tmoslp softclockmp 21968 329362 0 0 3 0x40014200 tmoslp softclock 23949 365422 0 0 7 0x40014200 idle0 1 82373 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 58061 (syz-executor) thread 0xffff8000ffff7970 (366603) exclusive rrwlock inode r = 0 (0xfffffd807da56e78) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 rrw_enter+0xbe sys/kern/kern_rwlock.c:464 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:524 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:564 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 #8 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #8 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83561d10) #0 witness_lock+0x5b8 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5b8 sys/kern/subr_witness.c:1151 #1 syscall+0xad6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #1 syscall+0xad6 sys/arch/amd64/amd64/trap.c:577 #2 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10240 10315K 10366K 166960K 11640 0 pcb 17 15K 16K 166960K 156 0 rtable 200 5K 6K 166960K 1279 0 pf 33 17K 21K 166960K 133 0 ifaddr 38 6K 8K 166960K 177 0 ifgroup 51 2K 2K 166960K 195 0 sysctl 1 0K 0K 166960K 1 0 counters 62 36K 36K 166960K 136 0 ioctlops 0 0K 4K 166960K 1529 0 iov 0 0K 12K 166960K 16 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1456 92K 92K 166960K 2014 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 12 0K 0K 166960K 14 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 12 41K 93K 166960K 847 0 sigio 0 0K 0K 166960K 2 0 proc 79 103K 128K 166960K 1400 0 subproc 104 6K 6K 166960K 507 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 92 0 in_multi 87 6K 7K 166960K 451 0 ether_multi 1 0K 0K 166960K 5 0 mrt 0 0K 0K 166960K 2 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 55 254K 254K 166960K 55 0 exec 0 0K 1K 166960K 783 0 pfkey data 0 0K 0K 166960K 66 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 175 71K 91K 166960K 7510 0 UVM aobj 45 2K 2K 166960K 45 0 pinsyscall 37 74K 106K 166960K 2705 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 18 0 NDP 21 1K 2K 166960K 125 0 temp 74 6824K 6892K 166960K 36930 0 kqueue 13 20K 30K 166960K 53 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> 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 112 0 109 1 0 1 1 0 8 0 rtentry 112 453 0 360 4 0 4 4 0 8 1 unpcb 144 388 0 371 7 3 4 6 0 8 3 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpcb 808 122 0 118 5 4 1 4 0 8 0 arp 120 80 0 66 1 0 1 1 0 8 0 inpcb 336 606 0 598 13 10 3 7 0 8 2 nd6 136 116 0 95 1 0 1 1 0 8 0 pkpcb 40 2 0 2 2 2 0 1 0 8 0 kcovpl 48 39 0 31 1 0 1 1 0 8 0 ppxss 1168 4 0 4 1 1 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 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 84 0 43 1 0 1 1 0 8 0 pfstkey 128 88 0 45 2 0 2 2 0 8 0 pfstate 376 85 0 45 5 0 5 5 0 8 0 pfrule 1344 23 0 17 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1816 0 1406 30 0 30 30 0 8 4 art_table 32 1817 0 1406 4 0 4 4 0 8 0 art_node 16 452 0 368 1 0 1 1 0 8 0 semapl 112 12 0 2 1 0 1 1 0 8 0 shmpl 112 42 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2043 0 481 98 0 98 98 0 8 0 ffsino 272 2044 0 482 105 0 105 105 0 8 0 nchpl 144 2623 0 902 64 0 64 64 0 8 0 uvmvnodes 80 2743 0 0 56 0 56 56 0 8 0 vnodes 216 2743 0 0 153 0 153 153 0 8 0 namei 1024 11030 0 11029 4 3 1 2 0 8 0 percpumem 16 82 0 37 1 0 1 1 0 8 0 kstatmem 264 96 0 74 2 0 2 2 0 8 0 scxspl 216 18158 0 18158 11 9 2 8 1 8 2 plimitpl 152 99 0 82 1 0 1 1 0 8 0 sigapl 424 1085 0 1040 9 2 7 7 0 8 1 futexpl 64 4176 0 4176 5 4 1 1 0 8 1 knotepl 120 207 0 0 7 0 7 7 0 8 0 kqueuepl 216 149 0 140 1 0 1 1 0 8 0 pipepl 320 223 0 196 3 0 3 3 0 8 0 fdescpl 496 1066 0 1040 7 2 5 5 0 8 1 filepl 152 4567 0 4335 22 8 14 16 0 8 3 lockfpl 104 130 0 128 1 0 1 1 0 8 0 lockfspl 48 45 0 43 1 0 1 1 0 8 0 sessionpl 144 54 0 45 1 0 1 1 0 8 0 pgrppl 48 94 0 77 1 0 1 1 0 8 0 ucredpl 104 342 0 328 1 0 1 1 0 8 0 zombiepl 144 1046 0 1040 1 0 1 1 0 8 0 processpl 1160 1085 0 1040 5 1 4 5 0 8 0 procpl 648 1500 0 1455 7 1 6 6 0 8 1 srpgc 96 2 0 2 1 1 0 1 0 8 0 sosppl 168 1 0 1 1 1 0 1 0 8 0 sockpl 664 1114 0 1086 20 10 10 14 0 8 7 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 249 0 0 32 0 32 32 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 329 0 0 19 0 19 19 0 8 0 bufpl 280 6521 0 347 442 0 442 442 0 8 0 anonpl 24 216856 0 213832 51 0 51 51 0 185 24 amapchunkpl 152 23979 0 23679 32 1 31 32 0 158 15 amappl16 200 4411 0 4403 9 7 2 5 0 8 1 amappl15 192 12 0 12 1 1 0 1 0 8 0 amappl14 184 250 0 237 1 0 1 1 0 8 0 amappl13 176 13 0 13 1 1 0 1 0 8 0 amappl12 168 2194 0 2167 4 2 2 3 0 8 0 amappl11 160 58 0 44 1 0 1 1 0 8 0 amappl10 152 11 0 11 1 1 0 1 0 8 0 amappl9 144 156 0 155 1 0 1 1 0 8 0 amappl8 136 24 0 20 1 0 1 1 0 8 0 amappl7 128 168 0 156 1 0 1 1 0 8 0 amappl6 120 481 0 478 1 0 1 1 0 8 0 amappl5 112 278 0 265 1 0 1 1 0 8 0 amappl4 104 398 0 377 1 0 1 1 0 8 0 amappl3 96 4521 0 4452 4 0 4 4 0 8 1 amappl2 88 1104 0 1034 2 0 2 2 0 8 0 amappl1 80 11600 0 11050 16 3 13 15 0 8 0 amappl 88 6888 0 6775 5 0 5 5 0 92 1 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 0 1 0 1 1 0 8 0 uaddrrnd 24 1066 0 1040 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1066 0 1040 1 0 1 1 0 8 0 vmmpekpl 168 10174 0 10127 3 0 3 3 0 8 0 vmmpepl 168 73433 0 71929 92 7 85 88 0 357 8 vmsppl 440 1065 0 1040 6 2 4 5 0 8 0 rwobjpl 56 26935 0 23283 53 0 53 53 0 8 0 pdppl 4096 2139 0 2080 139 66 73 85 0 8 14 pvpl 32 27988 0 0 226 0 226 226 0 265 0 pmappl 248 1065 0 1040 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 458 0 88 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff83454ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83561b08) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83561b08) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu.c:1219 sched_idle(ffffffff83454ff0) at sched_idle+0x558 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff83454ff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83561b08) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83561b08) at __mp_lock+0x192 sys/kern/kern_lock.c:144 softintr_dispatch(0) at softintr_dispatch+0x5b sys/arch/amd64/amd64/softintr.c:88 Xsoftclock() at Xsoftclock+0x27 acpicpu_idle() at acpicpu_idle+0x41e sys/dev/acpi/acpicpu.c:1219 sched_idle(ffffffff83454ff0) at sched_idle+0x558 sys/kern/kern_sched.c:182 end trace frame: 0x0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8079395610,ffff80002f172150,ffff80002f172180) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002f172120) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002f172120) at namei+0x7aa sys/kern/vfs_lookup.c:250 domkdirat(ffff8000ffff7970,ffffff9c,6f92eb8b1400,1ff) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 syscall(ffff80002f172300) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002f172300) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6f92eb8b1490, count: 8 ddb{1}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8079395610,ffff80002f172150,ffff80002f172180) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002f172120) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002f172120) at namei+0x7aa sys/kern/vfs_lookup.c:250 domkdirat(ffff8000ffff7970,ffffff9c,6f92eb8b1400,1ff) at domkdirat+0x8b sys/kern/vfs_syscalls.c:3084 syscall(ffff80002f172300) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002f172300) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6f92eb8b1490, count: -7