uvm_fault(0xffffffff83504770, 0xffff80001c712004, 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 *265773 63527 0 0x2 0 0K syz-executor 496458 83345 0 0x14000 0x200 1 reaper ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8067ee48b0,ffff80002a146c68,ffff80002a146c98) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a146c38) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a146c38) at namei+0x7aa sys/kern/vfs_lookup.c:250 dounlinkat(ffff80002eb7ca58,ffffff9c,752d566f5e00,8) at dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 syscall(ffff80002a146e10) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a146e10) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752d566f5df0, 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(0xffffffff83504770, 0xffff80001c712004, 0, 1) -> d ddb{0}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8067ee48b0,ffff80002a146c68,ffff80002a146c98) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a146c38) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a146c38) at namei+0x7aa sys/kern/vfs_lookup.c:250 dounlinkat(ffff80002eb7ca58,ffffff9c,752d566f5e00,8) at dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 syscall(ffff80002a146e10) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a146e10) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752d566f5df0, count: -7 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80002a146a80 rbx 0 rdx 0 rcx 0xffffffff rax 0xfffffd805ee08578 r8 0xffffffffffffffff r9 0xfffffd807f7d36e8 r10 0xf616d9e133ec4f55 r11 0x654625298c323339 r12 0 r13 0xfffffd80686a5000 r14 0 r15 0xffff80001c712000 rip 0xffffffff81ea10a1 ufs_lookup+0x5e1 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002a146970 ss 0x10 ufs_lookup+0x5e1: movzwl 0x4(%r15,%rbx,1),%r14d ddb{0}> show proc PROC (syz-executor) tid=265773 pid=63527 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=0xffff80002eb7d700,0xffff800030d827e8 process=0xffff8000371bdfc0 user=0xffff80002a141000, vmspace=0xfffffd806ce46c20 estcpu=36, cpticks=2, pctcpu=0.25, user=1, sys=39, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 33451 306219 11513 0 2 0x3000 syz-executor 24150 472807 1370 0 2 0 syz-executor 24150 226479 1370 0 3 0x4000080 fsleep syz-executor 24150 61462 1370 0 3 0x4000080 fsleep syz-executor 38153 346905 89693 0 2 0 syz-executor 38153 214037 89693 0 3 0x4000080 sbwait syz-executor 70592 333527 13239 0 3 0x80 nanoslp syz-executor 70592 109668 13239 0 3 0x4000080 netcon syz-executor 70592 276935 13239 0 3 0x4000080 netio syz-executor 16067 260191 2871 0 3 0x80 nanoslp syz-executor 16067 87523 2871 0 3 0x4000080 kqsel syz-executor 16067 517852 2871 0 3 0x4000080 kqsel syz-executor 97500 518515 45917 0 2 0x10 syz-executor 97500 265568 45917 0 3 0x4000090 fsleep syz-executor 97500 283348 45917 0 3 0x4000090 fsleep syz-executor 45917 480222 2229 0 2 0x2 syz-executor *63527 265773 2229 0 7 0x2 syz-executor 13239 85751 2229 0 3 0x82 nanoslp syz-executor 11513 159653 2229 0 3 0x82 nanoslp syz-executor 2871 100598 2229 0 3 0x82 nanoslp syz-executor 89693 364459 2229 0 3 0x82 nanoslp syz-executor 1370 164452 2229 0 3 0x82 nanoslp syz-executor 11510 236783 2229 0 3 0x82 nanoslp syz-executor 37767 123 1 0 3 0x100083 ttyin getty 37725 147950 0 0 3 0x14280 nfsidl nfsio 2177 36418 0 0 3 0x14280 nfsidl nfsio 86725 121219 0 0 3 0x14280 nfsidl nfsio 69005 216145 0 0 3 0x14280 nfsidl nfsio 9961 23063 0 0 3 0x14280 nfsidl nfsio 96552 471294 0 0 3 0x14280 nfsidl nfsio 14837 360464 0 0 3 0x14280 nfsidl nfsio 2426 401541 0 0 3 0x14280 nfsidl nfsio 14685 312535 0 0 3 0x14280 nfsidl nfsio 3308 374558 0 0 3 0x14280 nfsidl nfsio 96684 121803 0 0 3 0x14280 nfsidl nfsio 36537 329488 0 0 3 0x14280 nfsidl nfsio 16231 53317 0 0 3 0x14280 nfsidl nfsio 52576 293945 0 0 3 0x14280 nfsidl nfsio 23387 184994 0 0 3 0x14280 nfsidl nfsio 11707 90919 0 0 3 0x14280 nfsidl nfsio 86163 37884 0 0 3 0x14280 nfsidl nfsio 94219 7622 0 0 3 0x14280 nfsidl nfsio 37001 472944 0 0 3 0x14280 nfsidl nfsio 29938 425806 0 0 3 0x14280 nfsidl nfsio 71439 515798 0 0 3 0x14200 bored sosplice 2229 180149 22031 0 2 0x82 syz-executor 22031 124101 33690 0 3 0x10008a sigsusp ksh 33690 309627 61755 0 3 0x98 kqread sshd-session 61755 378340 17018 0 3 0x92 kqread sshd-session 17018 271623 1 0 3 0x88 kqread sshd 34649 108942 91797 74 3 0x1100092 bpf pflogd 91797 32297 1 0 3 0x80 sbwait pflogd 4178 295644 40358 73 2 0x1100010 syslogd 40358 259695 1 0 3 0x100082 sbwait syslogd 18496 416024 1 0 3 0x100080 kqread resolvd 15626 405905 50544 77 3 0x100092 kqread dhcpleased 40647 126447 50544 77 3 0x100092 kqread dhcpleased 50544 376016 1 0 3 0x80 kqread dhcpleased 11463 202875 0 0 3 0x14200 bored smr 52903 353656 0 0 2 0x14200 zerothread 16184 353376 0 0 3 0x14200 aiodoned aiodoned 1486 251920 0 0 3 0x14200 syncer update 38038 68644 0 0 3 0x14200 cleaner cleaner 83345 496458 0 0 7 0x14200 reaper 42828 220890 0 0 3 0x14200 pgdaemon pagedaemon 17207 296270 0 0 3 0x14200 bored viomb 40197 14300 0 0 3 0x40014200 acpi0 acpi0 83684 321698 0 0 3 0x40014200 idle1 36782 73219 0 0 3 0x14200 bored softnet3 52001 487324 0 0 3 0x14200 bored softnet2 46466 425390 0 0 3 0x14200 bored softnet1 70884 317737 0 0 3 0x14200 bored softnet0 36767 496289 0 0 3 0x14200 bored systqmp 47958 447338 0 0 3 0x14200 bored systq 62951 245091 0 0 2 0x14200 softclockmp 90602 343900 0 0 2 0x40014200 softclock 97765 274869 0 0 3 0x40014200 idle0 1 223735 0 0 3 0x80082 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 63527 (syz-executor) thread 0xffff80002eb7ca58 (265773) Process 83345 (reaper) thread 0xffff800029fd9448 (496458) ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10235 10184K 10440K 166960K 13639 0 pcb 17 16K 18K 166960K 568 0 rtable 232 8K 9K 166960K 2979 0 pf 38 18K 25K 166960K 314 0 ifaddr 42 8K 9K 166960K 405 0 ifgroup 63 2K 2K 166960K 451 0 sysctl 4 1K 1K 166960K 4 0 counters 66 36K 36K 166960K 266 0 ioctlops 0 0K 4K 166960K 1841 0 iov 0 0K 20K 166960K 133 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1435 90K 91K 166960K 3612 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 17 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 131 0 dirhash 15 2K 3K 166960K 30 0 ACPI 1690 195K 286K 166960K 12418 0 file desc 16 57K 89K 166960K 2998 0 sigio 0 0K 0K 166960K 101 0 proc 73 91K 140K 166960K 2942 0 subproc 104 6K 7K 166960K 1131 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 256 0 in_multi 95 7K 8K 166960K 1083 0 ether_multi 1 0K 0K 166960K 14 0 mrt 1 0K 0K 166960K 6 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 235 1049K 1049K 166960K 235 0 exec 0 0K 1K 166960K 1697 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 244 73K 93K 166960K 24769 0 UVM aobj 47 5K 5K 166960K 52 0 pinsyscall 41 82K 102K 166960K 6149 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 1K 166960K 104 0 NDP 13 0K 2K 166960K 298 0 temp 78 6824K 6951K 166960K 128267 0 kqueue 14 22K 30K 166960K 312 0 SYN cache 2 8K 16K 166960K 3 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 351 0 347 2 1 1 2 0 8 0 rtentry 112 1060 0 958 5 2 3 4 0 8 0 unpcb 144 1661 0 1638 24 22 2 8 0 8 1 syncache 336 11 0 11 7 6 1 1 0 8 1 tcpqe 32 4 4 4 2 2 0 1 0 8 0 tcpcb 808 920 0 911 27 19 8 11 0 8 6 arp 120 185 0 167 1 0 1 1 0 8 0 inpcb 336 2937 0 2922 39 30 9 12 0 8 7 nd6 136 283 0 258 1 0 1 1 0 8 0 pkpcb 40 9 0 9 4 3 1 1 0 8 1 kcovpl 48 87 0 79 1 0 1 1 0 8 0 ppxss 1168 11 0 11 7 7 0 1 0 8 0 pffrag 232 13 0 8 1 0 1 1 0 482 0 pffrnode 88 12 0 7 1 0 1 1 0 8 0 pffrent 40 17 0 12 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 pfrktable 1344 7 0 7 2 2 0 1 0 8 0 pfanchor 1288 3 0 3 3 3 0 1 0 8 0 pftag 88 1 0 1 1 1 0 1 0 8 0 pfstitem 24 242 0 179 1 0 1 1 0 8 0 pfstkey 128 242 0 179 3 0 3 3 0 8 0 pfstate 376 242 0 179 9 2 7 7 0 8 0 pfrule 1344 37 0 32 2 1 1 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 4269 0 3849 38 10 28 31 0 8 0 art_table 32 4272 0 3849 4 0 4 4 0 8 0 art_node 16 1054 0 964 1 0 1 1 0 8 0 sysvmsgpl 40 13 0 4 1 0 1 1 0 8 0 semapl 112 129 0 119 1 0 1 1 0 8 0 shmpl 112 49 0 5 2 0 2 2 0 8 0 dirhash 1024 29 0 10 3 0 3 3 0 8 0 dino2pl 256 4678 0 3016 105 0 105 105 0 8 0 ffsino 272 4678 0 3016 112 0 112 112 0 8 0 nchpl 144 7344 0 5530 68 0 68 68 0 8 0 uvmvnodes 80 6131 0 0 126 0 126 126 0 8 0 vnodes 216 6131 0 0 341 0 341 341 0 8 0 namei 1024 33121 0 33120 7 5 2 2 0 8 1 percpumem 16 147 0 100 1 0 1 1 0 8 0 pfiaddrpl 120 2 0 2 2 2 0 1 0 8 0 kstatmem 264 226 0 200 2 0 2 2 0 8 0 scsiplug 72 4 0 4 2 1 1 1 0 8 1 scxspl 216 58521 0 58521 13 10 3 8 1 8 3 plimitpl 152 587 0 569 1 0 1 1 0 8 0 sigapl 424 3168 0 3098 11 2 9 9 0 8 0 futexpl 64 27916 0 27912 8 7 1 1 0 8 0 knotepl 120 738 0 0 18 0 18 18 0 8 0 kqueuepl 216 569 0 558 6 5 1 5 0 8 0 pipepl 320 573 0 546 4 1 3 4 0 8 0 fdescpl 496 3126 0 3096 7 2 5 5 0 8 0 filepl 152 17530 0 17274 51 38 13 18 0 8 2 lockfpl 104 629 0 626 2 1 1 2 0 8 0 lockfspl 48 248 0 245 1 0 1 1 0 8 0 sessionpl 144 107 0 98 1 0 1 1 0 8 0 pgrppl 48 216 0 199 1 0 1 1 0 8 0 ucredpl 104 2717 0 2700 1 0 1 1 0 8 0 zombiepl 144 3100 0 3098 1 0 1 1 0 8 0 processpl 1160 3168 0 3098 7 1 6 6 0 8 0 procpl 648 5924 0 5842 9 1 8 8 0 8 0 srpgc 96 14 0 14 4 4 0 1 0 8 0 sosppl 168 10 0 10 5 4 1 1 0 8 1 sockpl 664 4984 0 4942 58 48 10 20 0 8 5 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 278 0 0 30 0 30 30 0 8 0 mtagpl 96 75 0 0 2 0 2 2 0 8 0 mbufpl 256 3267 0 0 202 0 202 202 0 8 0 bufpl 280 13766 0 7620 442 0 442 442 0 8 0 anonpl 24 467156 0 463076 109 53 56 78 0 185 13 amapchunkpl 152 79816 0 79278 60 26 34 43 0 158 11 amappl16 200 8575 0 8546 88 78 10 15 0 8 8 amappl15 192 11 0 11 1 1 0 1 0 8 0 amappl14 184 289 0 275 1 0 1 1 0 8 0 amappl13 176 12 0 12 1 1 0 1 0 8 0 amappl12 168 5050 0 5019 3 1 2 2 0 8 0 amappl11 160 56 0 42 1 0 1 1 0 8 0 amappl10 152 14 0 14 1 1 0 1 0 8 0 amappl9 144 200 0 200 2 2 0 1 0 8 0 amappl8 136 26 0 23 1 0 1 1 0 8 0 amappl7 128 270 0 257 1 0 1 1 0 8 0 amappl6 120 973 0 971 1 0 1 1 0 8 0 amappl5 112 466 0 454 1 0 1 1 0 8 0 amappl4 104 570 0 549 1 0 1 1 0 8 0 amappl3 96 15512 0 15398 5 1 4 4 0 8 0 amappl2 88 1828 0 1759 2 0 2 2 0 8 0 amappl1 80 21869 0 21298 15 1 14 14 0 8 0 amappl 88 23599 0 23418 6 1 5 5 0 92 0 dma8192 8192 1 0 1 1 0 1 1 0 8 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 19 0 18 1 0 1 1 0 8 0 aobjpl 72 51 0 5 1 0 1 1 0 8 0 uaddrrnd 24 3126 0 3096 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3126 0 3096 1 0 1 1 0 8 0 vmmpekpl 168 26379 0 26325 4 0 4 4 0 8 0 vmmpepl 168 194157 0 192279 138 44 94 95 0 357 9 vmsppl 440 3125 0 3095 6 2 4 5 0 8 0 rwobjpl 56 59951 0 52822 111 9 102 102 0 8 1 pdppl 4096 6259 0 6190 197 126 71 83 0 8 2 pvpl 32 44083 0 0 357 1 356 356 0 265 0 pmappl 248 3125 0 3095 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 785 0 205 17 0 17 17 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279 VOP_LOOKUP(fffffd8067ee48b0,ffff80002a146c68,ffff80002a146c98) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 vfs_lookup(ffff80002a146c38) at vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 namei(ffff80002a146c38) at namei+0x7aa sys/kern/vfs_lookup.c:250 dounlinkat(ffff80002eb7ca58,ffffff9c,752d566f5e00,8) at dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1852 syscall(ffff80002a146e10) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a146e10) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x752d566f5df0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff800029b7bff0) 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(ffffffff83552f70) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83552f70) at __mp_lock+0x192 sys/kern/kern_lock.c:144 uvn_detach(fffffd806d897890) at uvn_detach+0x28 sys/uvm/uvm_vnode.c:310 uvm_unmap_detach(ffff800029fe5580,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1364 uvm_map_teardown(fffffd806bf9fa50) at uvm_map_teardown+0x35e sys/uvm/uvm_map.c:2518 uvmspace_free(fffffd806bf9fa50) at uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 reaper(ffff800029fd9448) at reaper+0x246 sys/kern/kern_exit.c:480 end trace frame: 0x0, count: 6 ddb{1}> trace x86_ipi_db(ffff800029b7bff0) 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(ffffffff83552f70) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff83552f70) at __mp_lock+0x192 sys/kern/kern_lock.c:144 uvn_detach(fffffd806d897890) at uvn_detach+0x28 sys/uvm/uvm_vnode.c:310 uvm_unmap_detach(ffff800029fe5580,0) at uvm_unmap_detach+0x15e sys/uvm/uvm_map.c:1364 uvm_map_teardown(fffffd806bf9fa50) at uvm_map_teardown+0x35e sys/uvm/uvm_map.c:2518 uvmspace_free(fffffd806bf9fa50) at uvmspace_free+0xcd sys/uvm/uvm_map.c:3422 reaper(ffff800029fd9448) at reaper+0x246 sys/kern/kern_exit.c:480 end trace frame: 0x0, count: -9