kernel: page fault trap, code=0 Stopped at ufs_lookup+0x4ce: movzwl 0x4(%r15,%r13,1),%ebx TID PID UID PRFLAGS PFLAGS CPU COMMAND *345972 68289 0 0 0x4000000 0K syz-executor.2 ufs_lookup() at ufs_lookup+0x4ce sys/ufs/ufs/ufs_lookup.c:281 VOP_LOOKUP(fffffd806329f298,ffff800022d1fa00,ffff800022d1fa30) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff800022d1f9d0) at vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 namei(ffff800022d1f9d0) at namei+0x55a sys/kern/vfs_lookup.c:250 domknodat(ffff800021266ac0,ffffff9c,20000280,2000,4020) at domknodat+0x96 sys/kern/vfs_syscalls.c:1579 syscall(ffff800022d1fbd0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022d1fbd0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4dfef0cf1a0, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: uvm_fault(0xffffffff82d48868, 0xffff80000e21f004, 0, 1) -> d ddb{0}> trace ufs_lookup() at ufs_lookup+0x4ce sys/ufs/ufs/ufs_lookup.c:281 VOP_LOOKUP(fffffd806329f298,ffff800022d1fa00,ffff800022d1fa30) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff800022d1f9d0) at vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 namei(ffff800022d1f9d0) at namei+0x55a sys/kern/vfs_lookup.c:250 domknodat(ffff800021266ac0,ffffff9c,20000280,2000,4020) at domknodat+0x96 sys/kern/vfs_syscalls.c:1579 syscall(ffff800022d1fbd0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022d1fbd0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4dfef0cf1a0, count: -7 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800022d1f760 rbx 0 rdx 0xffff800000d17c40 rcx 0xffffffff rax 0xfffffd80610b27f8 r8 0xffffffffffffffff r9 0xfffffd807f7d63a8 r10 0x16762e214b28b439 r11 0x1f758104cc50c8cc r12 0 r13 0 r14 0 r15 0xffff80000e21f000 rip 0xffffffff8113f48e ufs_lookup+0x4ce cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800022d1f660 ss 0x10 ufs_lookup+0x4ce: movzwl 0x4(%r15,%r13,1),%ebx ddb{0}> show proc PROC (syz-executor.2) tid=345972 pid=68289 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=86, usrpri=86, slppri=17, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff8000212672b8,0xffffffff82d42738 process=0xffff800021272e28 user=0xffff800022d1a000, vmspace=0xfffffd8063fe1818 estcpu=36, cpticks=7, pctcpu=0.0, user=0, sys=7, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 39723 299633 25957 0 2 0 syz-executor.0 39723 271925 25957 0 3 0x4000080 fsleep syz-executor.0 68289 336626 80782 0 2 0 syz-executor.2 *68289 345972 80782 0 7 0x4000000 syz-executor.2 33511 513196 32566 0 2 0 syz-executor.3 33511 135297 32566 0 3 0x4000080 fsleep syz-executor.3 4793 389729 24823 0 2 0x2 syz-executor.1 53707 267054 24823 0 2 0x482 syz-executor.7 63748 299471 24823 0 3 0x82 piperd syz-executor.6 87579 321820 0 0 3 0x14200 acct acct 25957 351723 24823 0 2 0x482 syz-executor.0 32537 272739 0 0 3 0x14280 nfsidl nfsio 96075 229170 0 0 3 0x14280 nfsidl nfsio 34132 380348 0 0 3 0x14280 nfsidl nfsio 37812 63118 0 0 3 0x14280 nfsidl nfsio 73183 442985 0 0 3 0x14280 nfsidl nfsio 21895 402634 0 0 3 0x14280 nfsidl nfsio 73868 475500 0 0 3 0x14280 nfsidl nfsio 47906 103866 0 0 3 0x14280 nfsidl nfsio 53964 231835 0 0 3 0x14280 nfsidl nfsio 48062 311542 0 0 3 0x14280 nfsidl nfsio 10543 343180 0 0 3 0x14280 nfsidl nfsio 62284 103560 0 0 3 0x14280 nfsidl nfsio 29660 479612 0 0 3 0x14280 nfsidl nfsio 92932 112836 0 0 3 0x14280 nfsidl nfsio 94380 156762 0 0 3 0x14280 nfsidl nfsio 64632 156896 0 0 3 0x14280 nfsidl nfsio 71541 61708 0 0 3 0x14280 nfsidl nfsio 60017 469367 0 0 3 0x14280 nfsidl nfsio 53183 430132 0 0 3 0x14280 nfsidl nfsio 6148 254782 0 0 3 0x14280 nfsidl nfsio 80782 462392 24823 0 2 0x482 syz-executor.2 6121 446477 24823 0 3 0x82 piperd syz-executor.4 6618 202057 1 0 3 0x100083 ttyopn getty 38086 111175 24823 0 2 0x482 syz-executor.5 32566 392027 24823 0 2 0x482 syz-executor.3 81943 315516 0 0 3 0x14200 bored sosplice 24823 405463 85530 0 3 0x2000082 thrsleep syz-fuzzer 24823 439174 85530 0 2 0x6000482 syz-fuzzer 24823 381753 85530 0 3 0x6000082 thrsleep syz-fuzzer 24823 88630 85530 0 3 0x6000082 kqread syz-fuzzer 24823 156391 85530 0 3 0x6000082 thrsleep syz-fuzzer 24823 108036 85530 0 3 0x6000082 wait syz-fuzzer 24823 367470 85530 0 3 0x6000082 wait syz-fuzzer 24823 387823 85530 0 3 0x6000082 wait syz-fuzzer 24823 21501 85530 0 3 0x6000082 thrsleep syz-fuzzer 24823 81380 85530 0 3 0x6000082 wait syz-fuzzer 24823 485211 85530 0 3 0x6000082 wait syz-fuzzer 24823 57704 85530 0 3 0x6000082 thrsleep syz-fuzzer 24823 131673 85530 0 3 0x6000082 wait syz-fuzzer 24823 324864 85530 0 3 0x6000082 wait syz-fuzzer 24823 8456 85530 0 3 0x6000082 wait syz-fuzzer 24823 493970 85530 0 3 0x6000082 thrsleep syz-fuzzer 24823 131931 85530 0 3 0x6000082 thrsleep syz-fuzzer 85530 42339 17686 0 3 0x10008a sigsusp ksh 17686 430407 66715 0 3 0x9a kqread sshd 66715 287735 1 0 3 0x88 kqread sshd 99393 496853 12495 74 3 0x1100092 bpf pflogd 12495 164596 1 0 3 0x80 netio pflogd 22450 149544 49659 73 3 0x1100090 kqread syslogd 49659 310206 1 0 3 0x100082 netio syslogd 18094 254717 1 0 3 0x100080 kqread resolvd 31136 371898 13834 77 3 0x100092 kqread dhcpleased 97540 60790 13834 77 3 0x100092 kqread dhcpleased 13834 438071 1 0 3 0x80 kqread dhcpleased 87722 252847 0 0 3 0x14200 bored smr 50976 137834 0 0 2 0x14200 zerothread 63905 76202 0 0 3 0x14200 aiodoned aiodoned 1057 83655 0 0 3 0x14200 syncer update 21584 427550 0 0 3 0x14200 cleaner cleaner 98029 432426 0 0 3 0x14200 reaper reaper 54194 311109 0 0 3 0x14200 pgdaemon pagedaemon 2016 227895 0 0 3 0x14200 bored viomb 55837 232707 0 0 3 0x40014200 acpi0 acpi0 34643 519173 0 0 7 0x40014200 idle1 61014 314532 0 0 3 0x14200 bored softnet3 81722 293943 0 0 3 0x14200 bored softnet2 71084 438473 0 0 3 0x14200 bored softnet1 4853 191873 0 0 3 0x14200 bored softnet0 27054 448340 0 0 3 0x14200 bored systqmp 28726 234154 0 0 3 0x14200 bored systq 82920 477553 0 0 3 0x14200 tmoslp softclockmp 53942 298138 0 0 2 0x40014200 softclock 87181 352152 0 0 3 0x40014200 idle0 1 336361 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 68289 (syz-executor.2) thread 0xffff800021266ac0 (345972) Process 4793 (syz-executor.1) thread 0xffff800021266020 (389729) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10226 6500K 7108K 78643K 22826 0 pcb 13 16K 18K 78643K 1363 0 rtable 244 15K 16K 78643K 2226 0 pf 35 10K 10K 78643K 372 0 ifaddr 46 17K 18K 78643K 326 0 ifgroup 60 2K 2K 78643K 610 0 sysctl 4 1K 3K 78643K 24 0 counters 62 36K 36K 78643K 380 0 ioctlops 0 0K 4K 78643K 2364 0 iov 0 0K 40K 78643K 3774 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1519 95K 95K 78643K 9633 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 243 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 5892 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 13 45K 85K 78643K 21941 0 sigio 0 0K 0K 78643K 964 0 proc 73 91K 116K 78643K 2639 0 subproc 104 6K 9K 78643K 643 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 1233 0 in_multi 99 7K 7K 78643K 748 0 ether_multi 1 0K 0K 78643K 23 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 217 970K 970K 78643K 217 0 exec 0 0K 1K 78643K 3643 0 pfkey data 0 0K 0K 78643K 67 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 644 495K 510K 78643K 210734 0 UVM aobj 131 6K 6K 78643K 133 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 851 0 NDP 13 0K 0K 78643K 262 0 temp 76 5920K 6052K 78643K 188259 0 kqueue 12 18K 33K 78643K 1500 0 SYN cache 2 12K 832K 78643K 4 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 1459 0 1456 21 20 1 5 0 8 0 rtentry 112 553 0 441 4 0 4 4 0 8 0 unpcb 144 18073 0 18058 192 187 5 10 0 8 4 syncache 304 163 0 163 35 34 1 1 0 8 1 tcpqe 32 635 0 635 24 23 1 1 0 8 1 tcpcb 808 5811 0 5785 195 186 9 15 0 8 6 arp 120 96 0 78 1 0 1 1 0 8 0 inpcb 368 13707 0 13678 258 248 10 15 0 8 5 nd6 136 155 0 129 2 1 1 2 0 8 0 pkpcb 40 38 0 38 8 7 1 1 0 8 1 kcovpl 48 45 0 37 1 0 1 1 0 8 0 ppxss 1256 47 0 47 13 13 0 1 0 8 0 pffrag 232 268 0 266 3 2 1 1 0 482 0 pffrnode 88 266 0 264 3 2 1 1 0 8 0 pffrent 40 845 0 843 4 3 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 518 0 499 1 0 1 1 0 8 0 pfstkey 128 518 0 499 4 2 2 2 0 8 0 pfstate 376 518 0 499 17 13 4 4 0 8 1 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 2191 0 1719 34 4 30 31 0 8 0 art_table 32 2192 0 1719 4 0 4 4 0 8 0 art_node 16 541 0 439 1 0 1 1 0 8 0 semapl 112 5890 0 5880 1 0 1 1 0 8 0 shmpl 112 130 0 2 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 30390 0 28794 100 0 100 100 0 8 0 ffsino 272 30390 0 28794 107 0 107 107 0 8 0 nchpl 144 60134 0 59633 63 39 24 63 0 8 0 uvmvnodes 80 7298 0 0 149 0 149 149 0 8 0 vnodes 216 7298 0 0 406 0 406 406 0 8 0 namei 1024 225055 0 225053 17 16 1 2 0 8 0 percpumem 16 203 0 159 1 0 1 1 0 8 0 vcpupl 2048 174 0 0 22 0 22 22 0 8 0 vmpool 696 185 0 11 16 0 16 16 0 8 0 kstatmem 264 344 0 318 3 1 2 3 0 8 0 scxspl 216 197338 0 197338 38 37 1 8 1 8 1 plimitpl 152 3271 0 3255 1 0 1 1 0 8 0 sigapl 424 23129 0 23061 10 2 8 9 0 8 0 futexpl 64 213302 0 213300 14 13 1 1 0 8 0 knotepl 120 857 0 0 14 4 10 11 0 8 0 kqueuepl 216 3744 0 3736 70 69 1 8 0 8 0 pipepl 320 4678 0 4649 135 124 11 13 0 8 8 fdescpl 496 22177 0 22151 5 1 4 5 0 8 0 filepl 152 156322 0 156076 252 235 17 27 0 8 7 lockfpl 104 7197 0 7195 12 11 1 4 0 8 0 lockfspl 48 2395 0 2393 1 0 1 1 0 8 0 sessionpl 144 65 0 48 1 0 1 1 0 8 0 pgrppl 48 514 0 497 1 0 1 1 0 8 0 ucredpl 104 18639 0 18622 1 0 1 1 0 8 0 zombiepl 144 23063 0 23061 5 4 1 1 0 8 0 processpl 1072 23129 0 23061 6 1 5 6 0 8 0 procpl 680 58883 0 58796 19 10 9 10 0 8 0 sosppl 168 258 0 258 28 28 0 1 0 8 0 sockpl 488 33301 0 33254 814 797 17 35 0 8 8 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 22 0 0 3 0 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 12 0 0 1 0 1 1 0 8 0 mcl8k 8192 19 0 0 3 0 3 3 0 8 0 mcl4k 4096 30 0 0 3 0 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 423 0 0 33 15 18 33 0 8 0 mtagpl 96 508 0 0 12 5 7 12 0 8 0 mbufpl 256 2155 0 0 69 0 69 69 0 8 0 bufpl 288 39657 0 32306 526 0 526 526 0 8 0 anonpl 24 2065623 0 2051419 300 194 106 119 0 186 0 amapchunkpl 152 671457 0 670602 117 77 40 55 0 158 1 amappl16 200 39976 0 39489 201 173 28 40 0 8 1 amappl15 192 21 0 20 2 1 1 1 0 8 0 amappl14 184 280 0 265 2 1 1 2 0 8 0 amappl13 176 30 0 29 2 1 1 1 0 8 0 amappl12 168 23451 0 23420 3 1 2 2 0 8 0 amappl11 160 58 0 44 1 0 1 1 0 8 0 amappl10 152 84 0 70 1 0 1 1 0 8 0 amappl9 144 400 0 398 1 0 1 1 0 8 0 amappl8 136 1252 0 1004 9 0 9 9 0 8 0 amappl7 128 153 0 137 2 1 1 2 0 8 0 amappl6 120 648 0 622 2 1 1 2 0 8 0 amappl5 112 711 0 700 1 0 1 1 0 8 0 amappl4 104 1137 0 1084 3 1 2 3 0 8 0 amappl3 96 131260 0 131167 7 3 4 4 0 8 0 amappl2 88 23177 0 23089 8 5 3 3 0 8 0 amappl1 80 89639 0 89088 23 10 13 23 0 8 0 amappl 88 209070 0 208806 14 6 8 8 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 132 0 2 3 0 3 3 0 8 0 uaddrrnd 24 22362 0 22162 2 0 2 2 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 22362 0 22162 2 0 2 2 0 8 0 vmmpekpl 168 164440 0 164351 5 0 5 5 0 8 0 vmmpepl 168 1299705 0 1297056 591 451 140 155 0 357 9 vmsppl 464 22361 0 22162 28 2 26 26 0 8 0 rwobjpl 56 307341 0 298088 153 21 132 134 0 8 0 pdppl 4096 44732 0 44498 1011 767 244 244 0 8 10 pvpl 32 6218927 0 6198715 712 519 193 364 0 265 0 pmappl 248 22361 0 22162 15 2 13 13 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 2423 0 1261 34 0 34 34 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ufs_lookup() at ufs_lookup+0x4ce sys/ufs/ufs/ufs_lookup.c:281 VOP_LOOKUP(fffffd806329f298,ffff800022d1fa00,ffff800022d1fa30) at VOP_LOOKUP+0x5c sys/kern/vfs_vops.c:85 vfs_lookup(ffff800022d1f9d0) at vfs_lookup+0x6e2 sys/kern/vfs_lookup.c:566 namei(ffff800022d1f9d0) at namei+0x55a sys/kern/vfs_lookup.c:250 domknodat(ffff800021266ac0,ffffff9c,20000280,2000,4020) at domknodat+0x96 sys/kern/vfs_syscalls.c:1579 syscall(ffff800022d1fbd0) at syscall+0x5e2 mi_syscall sys/sys/syscall_mi.h:110 [inline] syscall(ffff800022d1fbd0) at syscall+0x5e2 sys/arch/amd64/amd64/trap.c:623 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4dfef0cf1a0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp x86_ipi_db(ffff800020d48ff0) 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+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d48ff0) at sched_idle+0x41e sys/kern/kern_sched.c:191 end trace frame: 0x0, count: 10 ddb{1}> trace x86_ipi_db(ffff800020d48ff0) 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+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffff800020d48ff0) at sched_idle+0x41e sys/kern/kern_sched.c:191 end trace frame: 0x0, count: -5