uvm_fault(0xfffff1006ccf95d8, 0x98, 0, 1) -> e kernel: page fault trap, code=0 Stopped at dovutimens+0x368: movl 0x98(%rax),%r12d TID PID UID PRFLAGS PFLAGS CPU COMMAND *369757 40306 0 0 0x4000000 0K syz-executor dovutimens(ffff80003c3d6d20,fffff10062a8d5f8,ffff80003c3ce9b0) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimes(ffff80003c3d6d20,ffff80003c3ceb00,ffff80003c3cea50) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2733 syscall(ffff80003c3ceb00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3ceb00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1120d7121f0, count: 11 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(0xfffff1006ccf95d8, 0x98, 0, 1) -> e ddb{0}> show kasan No such command ddb{0}> trace dovutimens(ffff80003c3d6d20,fffff10062a8d5f8,ffff80003c3ce9b0) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimes(ffff80003c3d6d20,ffff80003c3ceb00,ffff80003c3cea50) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2733 syscall(ffff80003c3ceb00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3ceb00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1120d7121f0, count: -4 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff80003c3ce980 rbx 0x29040 acpi_pdirpa+0x14eb1 rdx 0 rcx 0xffff80003c3d6d20 rax 0 r8 0x7f7fffffc000 r9 0 r10 0xa20e49ec27618a1b r11 0x5f58f0500fb3a43c r12 0xffff80003c3ce9b0 r13 0x2710 __ALIGN_SIZE+0x1710 r14 0xfffff10062a8d5f8 r15 0xffff80003c3d6d20 rip 0xffffffff813de2b8 dovutimens+0x368 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80003c3ce880 ss 0x10 dovutimens+0x368: movl 0x98(%rax),%r12d ddb{0}> show proc PROC (syz-executor) tid=369757 pid=40306 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80003c3d7780,0xffff80003c3d7260 process=0xffff800045ff5ce8 user=0xffff80003c3c9000, vmspace=0xfffff1006ccf95d8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 40306 466342 76460 0 2 0 0 syz-executor *40306 369757 76460 0 7 0 0x4000000 syz-executor 64246 211857 32962 0 2 0 0 syz-executor 64246 63183 32962 0 3 0 0x4000080 fsleep syz-executor 64246 7125 32962 0 3 0 0x4000080 fsleep syz-executor 64246 373853 32962 0 3 0 0x4000080 fsleep syz-executor 48451 160822 99820 0 3 0 0x80 nanoslp syz-executor 48451 208421 99820 0 3 0 0x4000080 fsleep syz-executor 48451 120514 99820 0 3 0 0x4000080 sbwait syz-executor 48451 383482 99820 0 3 0 0x4000080 fsleep syz-executor 48451 385062 99820 0 3 0 0x4000080 fsleep syz-executor 48451 431910 99820 0 3 0 0x4000080 fsleep syz-executor 92827 484476 91573 0 2 0 0 syz-executor 92827 20412 91573 0 3 0 0x4000080 sbwait syz-executor 79521 56524 87350 0 2 0 0 syz-executor 79521 523756 87350 0 3 0 0x4000080 kqread syz-executor 79521 137480 87350 0 2 0 0x4000000 syz-executor 79521 78429 87350 0 3 0 0x4000080 fsleep syz-executor 51732 507032 78765 0 2 0 0 syz-executor 51732 300884 78765 0 2 0 0x4000000 syz-executor 51732 195440 78765 0 2 0 0x4000000 syz-executor 51732 40297 78765 0 3 0 0x4000080 fsleep syz-executor 38243 87020 1 0 3 0x2 0x80 nanoslp getty 32962 28011 37461 0 3 0x2 0x80 nanoslp syz-executor 8131 115390 37461 0 3 0x2 0x80 nanoslp syz-executor 87350 221010 37461 0 3 0x2 0x80 nanoslp syz-executor 91573 466870 37461 0 3 0x2 0x80 nanoslp syz-executor 76460 522641 37461 0 3 0x2 0x80 nanoslp syz-executor 78765 102060 37461 0 3 0x2 0x80 nanoslp syz-executor 41882 271187 37461 0 3 0x2 0x80 wait syz-executor 99820 118653 37461 0 3 0x2 0x80 nanoslp syz-executor 37461 54673 1 0 3 0x2 0x80 kqread syz-executor 61097 388946 0 0 3 0x14000 0x200 bored smr 1651 170198 0 0 2 0x14000 0x200 zerothread 26537 249876 0 0 3 0x14000 0x200 aiodoned aiodoned 73332 130035 0 0 3 0x14000 0x200 syncer update 30881 410260 0 0 3 0x14000 0x200 cleaner cleaner 71026 246500 0 0 3 0x14000 0x200 reaper reaper 1925 351614 0 0 3 0x14000 0x200 pgdaemon pagedaemon 72089 496193 0 0 3 0x14000 0x200 bored viomb 80101 371356 0 0 3 0x14000 0x40000200 acpi0 acpi0 24146 178576 0 0 3 0x14000 0x40000200 idle1 64576 55824 0 0 3 0x14000 0x200 bored softnet1 13627 176852 0 0 3 0x14000 0x200 bored softnet0 73255 187093 0 0 3 0x14000 0x200 smrbar systqmp 23486 146234 0 0 3 0x14000 0x200 bored systq 37261 477966 0 0 3 0x14000 0x200 tmoslp softclockmp 44834 523654 0 0 3 0x14000 0x40000200 tmoslp softclock 92449 43707 0 0 3 0x14000 0x40000200 idle0 1 480869 0 0 3 0x80002 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive mutex &pmap->pm_mtx r = 0 (0xfffff1006ccf8010) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 mtx_enter+0x4b4 sys/kern/kern_lock.c:487 #2 pmap_do_remove+0xa9 rcr3 sys/arch/amd64/compile/SYZKALLER/obj/machine/cpufunc.h:139 [inline] #2 pmap_do_remove+0xa9 pmap_map_ptes sys/arch/amd64/amd64/pmap.c:441 [inline] #2 pmap_do_remove+0xa9 sys/arch/amd64/amd64/pmap.c:1834 #3 uvm_unmap_kill_entry_withlock+0x269 sys/uvm/uvm_map.c:1869 #4 uvm_map_teardown+0x117 uvm_map_addr_RBT_LEFT sys/uvm/uvm_map.h:-1 [inline] #4 uvm_map_teardown+0x117 sys/uvm/uvm_map.c:2497 #5 exit1+0x71b sys/kern/kern_exit.c:260 #6 sys_exit+0x1a sys/kern/kern_exit.c:-1 #7 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] #7 syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 #8 Xsyscall+0x128 Process 40306 (syz-executor) thread 0xffff80003c3d6d20 (369757) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b03540) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 syscall+0xaf4 mi_syscall sys/sys/syscall_mi.h:175 [inline] #1 syscall+0xaf4 sys/arch/amd64/amd64/trap.c:783 #2 Xsyscall+0x128 Process 48451 (syz-executor) thread 0xffff800045fee2b0 (120514) exclusive rrwlock inode r = 0 (0xfffff1006d106310) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621 #3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:576 #5 vget+0x2a2 sys/kern/vfs_subr.c:692 #6 cache_lookup+0x351 sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x1e3 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x963 sys/kern/vfs_lookup.c:580 #10 namei+0x7c5 sys/kern/vfs_lookup.c:250 #11 vn_open+0x178 sys/kern/vfs_vnops.c:146 #12 vndioctl+0xc43 sys/dev/vnd.c:458 #13 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #14 vn_ioctl+0xf8 sys/kern/vfs_vnops.c:537 #15 sys_ioctl+0x674 sys/kern/sys_generic.c:-1 #16 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #16 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:783 #17 Xsyscall+0x128 Process 73255 (systqmp) thread 0xffff800045ffe7c8 (187093) shared rwlock systqmp r = 0 (0xffffffff8396adb8) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11065 12031K 12478K 166960K 12610 0 pcb 17 12K 12K 166960K 78 0 rtable 195 15K 16K 166960K 441 0 pf 35 17K 19K 166960K 80 0 ifaddr 40 6K 9K 166960K 69 0 ifgroup 55 2K 2K 166960K 101 0 sysctl 4 1K 9K 166960K 9 0 counters 70 37K 38K 166960K 114 0 ioctlops 0 0K 4K 166960K 1544 0 iov 0 0K 16K 166960K 10 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1291 81K 82K 166960K 1607 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 13 0K 0K 166960K 51 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 291K 166960K 11964 0 file desc 16 61K 93K 166960K 451 0 sigio 0 0K 0K 166960K 1 0 proc 21 33K 180K 166960K 599 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 41 0 in_multi 84 5K 7K 166960K 123 0 ether_multi 1 0K 0K 166960K 4 0 mrt 1 0K 0K 166960K 12 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 133 599K 599K 166960K 133 0 exec 0 0K 1K 166960K 497 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 151 83K 167K 166960K 5893 0 UVM aobj 14 2K 2K 166960K 14 0 pinsyscall 19 38K 104K 166960K 1644 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 18 0 NDP 12 0K 2K 166960K 41 0 temp 42 9119K 9183K 166960K 14299 0 kqueue 3 6K 30K 166960K 75 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 28 0 0 1 0 1 1 0 8 0 rtpcb 120 54 0 54 1 1 0 1 0 8 0 rtentry 176 131 0 51 6 0 6 6 0 8 0 unpcb 144 185 0 177 2 1 1 2 0 8 0 syncache 336 8 0 8 1 1 0 1 0 8 0 tcpcb 736 100 0 98 4 3 1 4 0 8 0 arp 136 20 0 6 1 0 1 1 0 8 0 inpcb 328 316 0 314 4 3 1 4 0 8 0 nd6 152 27 0 8 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 14 0 14 1 1 0 1 0 8 0 pppxif 1576 5 0 5 1 1 0 1 0 8 0 pffrag 232 8 0 3 1 0 1 1 0 482 0 pffrnode 88 7 0 2 1 0 1 1 0 8 0 pffrent 40 12 0 7 1 0 1 1 0 8 0 pfosfp 40 1429 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 1 0 1 1 1 0 1 0 8 0 pfsrclim 320 1 0 1 1 1 0 1 0 8 0 pfstitem 24 48 0 0 1 0 1 1 0 8 0 pfstkey 128 50 0 2 2 0 2 2 0 8 0 pfstate 448 49 0 1 6 0 6 6 0 8 0 pfrule 1360 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 528 0 130 31 3 28 31 0 8 0 art_table 40 529 0 130 5 0 5 5 0 8 0 art_node 32 129 0 51 1 0 1 1 0 8 0 sysvmsgpl 40 2 0 2 1 1 0 1 0 8 0 semapl 72 47 0 36 1 0 1 1 0 8 0 shmpl 112 11 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2145 0 676 93 0 93 93 0 8 0 ffsino 296 2145 0 676 114 0 114 114 0 8 0 nchpl 144 2762 0 1058 64 0 64 64 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 vnodes 216 2382 0 0 133 0 133 133 0 8 0 namei 1024 9115 0 9115 3 2 1 2 0 8 1 percpumem 16 73 0 22 1 0 1 1 0 8 0 kstatmem 264 53 0 24 3 0 3 3 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 14133 0 14133 8 7 1 6 1 8 1 plimitpl 152 153 0 142 1 0 1 1 0 8 0 sigapl 424 779 0 743 7 1 6 7 0 8 0 knotepl 120 528 0 0 16 0 16 16 0 8 0 kqueuepl 224 97 0 93 1 0 1 1 0 8 0 pipepl 344 141 0 114 3 0 3 3 0 8 0 fdescpl 528 763 0 744 3 0 3 3 0 8 0 filepl 160 3570 0 3396 13 3 10 13 0 8 0 lockfpl 104 149 0 149 1 1 0 1 0 8 0 lockfspl 48 68 0 68 1 1 0 1 0 8 0 sessionpl 144 36 0 34 1 0 1 1 0 8 0 pgrppl 48 46 0 36 1 0 1 1 0 8 0 ucredpl 104 450 0 446 1 0 1 1 0 8 0 zombiepl 144 745 0 743 1 0 1 1 0 8 0 processpl 1232 779 0 743 5 1 4 5 0 8 0 procpl 664 1328 0 1276 6 1 5 6 0 8 0 sockpl 752 567 0 557 7 5 2 7 0 8 0 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl9k128 9344 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 116 0 0 15 0 15 15 0 8 0 mcl2k 2048 18 0 0 3 0 3 3 0 8 0 mextrefs 64 18 0 0 1 0 1 1 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 153 0 0 10 0 10 10 0 8 0 bufpl 272 6223 0 105 408 0 408 408 0 8 0 anonpl 32 8819 0 0 72 0 72 72 0 247 0 amapchunkpl 152 18608 0 18184 30 9 21 30 0 158 0 amappl16 200 1748 0 1723 16 12 4 14 0 8 0 amappl15 192 17 0 17 2 2 0 1 0 8 0 amappl14 184 439 0 439 1 1 0 1 0 8 0 amappl13 176 126 0 125 1 0 1 1 0 8 0 amappl12 168 1083 0 1065 2 0 2 2 0 8 0 amappl11 160 26 0 26 1 1 0 1 0 8 0 amappl10 152 68 0 68 1 1 0 1 0 8 0 amappl9 144 277 0 277 1 1 0 1 0 8 0 amappl8 136 105 0 105 1 1 0 1 0 8 0 amappl7 128 175 0 173 1 0 1 1 0 8 0 amappl6 120 170 0 170 1 1 0 1 0 8 0 amappl5 112 103 0 103 1 1 0 1 0 8 0 amappl4 104 319 0 316 1 0 1 1 0 8 0 amappl3 96 3354 0 3279 3 0 3 3 0 8 0 amappl2 88 893 0 868 2 0 2 2 0 8 0 amappl1 80 11987 0 11865 16 10 6 16 0 8 0 amappl 88 5044 0 4908 5 0 5 5 0 92 0 uvmvnodes 80 110 0 0 3 0 3 3 0 8 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 255 0 255 2 2 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 13 0 0 1 0 1 1 0 8 0 uaddrrnd 24 763 0 744 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 763 0 744 1 0 1 1 0 8 0 vmmpekpl 168 8032 0 7998 3 1 2 3 0 8 0 vmmpepl 168 56472 0 55580 92 40 52 92 0 357 0 vmsppl 488 762 0 743 5 1 4 5 0 8 0 rwobjpl 80 17930 0 17457 25 2 23 25 0 8 0 pdppl 4096 1533 0 1486 107 60 47 85 0 8 0 pvpl 32 13022 0 0 106 0 106 106 0 265 0 pmappl 256 762 0 743 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 112 696 0 71 19 0 19 19 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace dovutimens(ffff80003c3d6d20,fffff10062a8d5f8,ffff80003c3ce9b0) at dovutimens+0x368 sys/kern/vfs_syscalls.c:2691 sys_futimes(ffff80003c3d6d20,ffff80003c3ceb00,ffff80003c3cea50) at sys_futimes+0x208 sys/kern/vfs_syscalls.c:2733 syscall(ffff80003c3ceb00) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3ceb00) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1120d7121f0, count: -4 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff80002999dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 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(ffffffff83b02d40) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b02d40) at __mp_lock+0x192 sys/kern/kern_lock.c:173 exit1(ffff80003c3d6028,0,0,1) at exit1+0x720 sys/kern/kern_exit.c:260 sys_exit(ffff80003c3d6028,ffff8000317889b0,ffff800031788900) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000317889b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000317889b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x746f972d2b20, count: 7 ddb{1}> trace x86_ipi_db(ffff80002999dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 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(ffffffff83b02d40) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b02d40) at __mp_lock+0x192 sys/kern/kern_lock.c:173 exit1(ffff80003c3d6028,0,0,1) at exit1+0x720 sys/kern/kern_exit.c:260 sys_exit(ffff80003c3d6028,ffff8000317889b0,ffff800031788900) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000317889b0) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000317889b0) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:783 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x746f972d2b20, count: -8 ddb{1}>