kernel: protection fault trap, code=0 Stopped at lf_advlock+0x2f7: incl 0x28(%r12) ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace lf_advlock(ffff8000012a4ce0,0,fffffd80703d15d8,2,ffff80002e9f05b0,40) at lf_advlock+0x2f7 ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff8000012a4ce0,0,fffffd80703d15d8,2,ffff80002e9f05b0,40) at lf_advlock+0x2f7 sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd805fd0dda0,fffffd80703d15d8,2,ffff80002e9f05b0,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:618 closef(fffffd8076fe1398,ffff8000ffff1978) at closef+0x140 syscall(ffff80002e9f06e0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002e9f06e0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8403257050, count: -5 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff80002e9f0500 rbx 0 rdx 0 rcx 0xffff8000ffff1978 rax 0xffff800029b7bff0 r8 0 r9 0x1 r10 0 r11 0xa3885ce22ad6c571 r12 0xdeadbeefdeadbeef r13 0x2 r14 0xffff8000012a4ce0 r15 0xffffffffffffffff rip 0xffffffff81bc02e7 lf_advlock+0x2f7 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e9f0470 ss 0 lf_advlock+0x2f7: incl 0x28(%r12) ddb{1}> show proc PROC (syz-executor) tid=52231 pid=48191 tcnt=4 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff8000ffff16f0,0xffff8000ffff2030 process=0xffff8000371956c8 user=0xffff80002e9eb000, vmspace=0xfffffd806c1ce6f8 estcpu=34, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 32253 326384 84243 0 2 0 syz-executor 32253 291232 84243 0 2 0x4000000 syz-executor 48191 11168 22484 0 2 0 syz-executor 48191 60849 22484 0 2 0x4000000 syz-executor *48191 52231 22484 0 7 0x4000000 syz-executor 48191 76794 22484 0 2 0x4000000 syz-executor 36419 337822 89713 0 3 0x3000 suspend syz-executor 36419 2133 89713 0 3 0x4081000 futex syz-executor 36419 317265 89713 0 3 0x4081000 futex syz-executor 36419 183331 89713 0 3 0x4081000 futex syz-executor 42956 469543 42521 0 2 0 syz-executor 42956 178385 42521 0 2 0x4000000 syz-executor 42956 463421 42521 0 3 0x4000080 fsleep syz-executor 62818 43119 43335 0 3 0 futex syz-executor 62818 217882 43335 0 2 0x4000000 syz-executor 62818 19493 43335 0 3 0x4000080 fsleep syz-executor 19314 277515 98265 0 2 0 syz-executor 19314 121073 98265 0 3 0x4000000 futex syz-executor 19314 284338 98265 0 3 0x4000080 fsleep syz-executor 44841 364906 17342 0 3 0x90 nanoslp syz-executor 44841 473734 17342 0 3 0x4000090 piperd syz-executor 44841 56813 17342 0 3 0x4000090 fsleep syz-executor 68814 393897 29521 0 2 0x2 syz-executor 42521 100115 29521 0 3 0x82 nanoslp syz-executor 89713 325288 29521 0 2 0x482 syz-executor 43335 479780 29521 0 2 0x482 syz-executor 22484 203951 29521 0 2 0x482 syz-executor 17342 491765 29521 0 2 0x482 syz-executor 84243 203824 29521 0 3 0x82 nanoslp syz-executor 98265 449376 29521 0 2 0x482 syz-executor 23201 477927 1 0 3 0x80 nanoslp init 30007 38424 0 0 3 0x14200 bored sosplice 29521 109883 44675 0 3 0x82 kqread syz-executor 44675 476611 284 0 3 0x10008a sigsusp ksh 284 456434 34140 0 3 0x98 kqread sshd-session 34140 354932 91589 0 3 0x92 kqread sshd-session 91589 106441 1 0 3 0x88 kqread sshd 40346 166245 67094 74 3 0x1100092 bpf pflogd 67094 46107 1 0 3 0x80 sbwait pflogd 50447 128038 47272 73 7 0x1100010 syslogd 47272 317333 1 0 3 0x100082 sbwait syslogd 21829 27538 1 0 3 0x100080 kqread resolvd 40579 218961 12667 77 3 0x100092 kqread dhcpleased 58176 28504 12667 77 3 0x100092 kqread dhcpleased 12667 412410 1 0 3 0x80 kqread dhcpleased 86971 238395 0 0 3 0x14200 bored smr 60401 256537 0 0 2 0x14200 zerothread 12829 327210 0 0 3 0x14200 aiodoned aiodoned 81775 25389 0 0 3 0x14200 syncer update 62061 50178 0 0 3 0x14200 cleaner cleaner 93573 346575 0 0 3 0x14200 reaper reaper 51684 198608 0 0 3 0x14200 pgdaemon pagedaemon 81194 468725 0 0 3 0x14200 bored viomb 71629 249435 0 0 3 0x40014200 acpi0 acpi0 7958 189640 0 0 3 0x40014200 idle1 67968 22097 0 0 3 0x14200 bored softnet3 89383 513583 0 0 3 0x14200 bored softnet2 13302 172957 0 0 3 0x14200 bored softnet1 92526 425683 0 0 3 0x14200 bored softnet0 28868 146333 0 0 3 0x14200 bored systqmp 62356 60788 0 0 3 0x14200 bored systq 86016 255632 0 0 3 0x14200 tmoslp softclockmp 95309 138208 0 0 3 0x40014200 tmoslp softclock 53342 361825 0 0 3 0x40014200 idle0 1 179512 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 32253 (syz-executor) thread 0xffff8000ffff0538 (291232) exclusive rwlock vmmaplk r = 0 (0xfffffd806c1ce630) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 vm_map_lock_ln+0x143 sys/uvm/uvm_map.c:5252 #3 uvmfault_lookup+0xe8 sys/uvm/uvm_fault.c:1779 #4 uvm_fault_check+0x83e uvmfault_amapcopy sys/uvm/uvm_fault.c:236 [inline] #4 uvm_fault_check+0x83e sys/uvm/uvm_fault.c:710 #5 uvm_fault+0x112 sys/uvm/uvm_fault.c:600 #6 upageflttrap+0xa9 sys/arch/amd64/amd64/trap.c:188 #7 usertrap+0x2d8 sys/arch/amd64/amd64/trap.c:436 #8 recall_trap+0x8 Process 48191 (syz-executor) thread 0xffff8000ffff1978 (52231) exclusive rwlock lockflk r = 0 (0xffffffff83477e80) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 rw_enter+0x41b sys/kern/kern_rwlock.c:309 #2 lf_advlock+0x22a sys/kern/vfs_lockf.c:261 #3 VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:618 #4 closef+0x140 #5 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #5 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #6 Xsyscall+0x128 Process 48191 (syz-executor) thread 0xffff8000ffff2020 (76794) exclusive rrwlock inode r = 0 (0xfffffd807e478e68) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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 vget+0x2bd sys/kern/vfs_subr.c:676 #6 cache_lookup+0x36e sys/kern/vfs_cache.c:222 #7 ufs_lookup+0x218 sys/ufs/ufs/ufs_lookup.c:160 #8 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85 #9 vfs_lookup+0x8fa sys/kern/vfs_lookup.c:566 #10 namei+0x7aa sys/kern/vfs_lookup.c:250 #11 ptm_vn_open+0x40 sys/kern/tty_pty.c:1013 #12 ptmioctl+0x897 sys/kern/tty_pty.c:1178 #13 VOP_IOCTL+0xac sys/kern/vfs_vops.c:264 #14 vn_ioctl+0xf6 sys/kern/vfs_vnops.c:525 #15 sys_ioctl+0x67c #16 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #16 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #17 Xsyscall+0x128 Process 42956 (syz-executor) thread 0xffff8000ffff07c0 (178385) exclusive rwlock unix r = 0 (0xffff800001344d40) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 socreate+0x21a sys/kern/uipc_socket.c:215 #2 sys_socketpair+0xcf sys/kern/uipc_syscalls.c:477 #3 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #3 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #4 Xsyscall+0x128 Process 62818 (syz-executor) thread 0xffff80002a03f458 (217882) exclusive rwlock futex r = 0 (0xffffffff834baf30) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #1 sys_futex+0x69 sys/kern/sys_futex.c:98 #2 syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] #2 syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 #3 Xsyscall+0x128 Process 50447 (syslogd) thread 0xffff8000ffffdbe8 (128038) exclusive rrwlock inode r = 0 (0xfffffd806e3f93d0) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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 sys_fsync+0x152 sys/kern/vfs_syscalls.c:2926 #6 syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] #6 syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8354be68) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1155 #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 10200 11196K 11326K 166960K 11585 0 pcb 18 14K 16K 166960K 145 0 rtable 202 5K 6K 166960K 1274 0 pf 35 17K 21K 166960K 128 0 ifaddr 41 7K 8K 166960K 177 0 ifgroup 55 2K 2K 166960K 193 0 sysctl 1 0K 0K 166960K 1 0 counters 64 36K 36K 166960K 136 0 ioctlops 0 0K 4K 166960K 1574 0 iov 1 1K 24K 166960K 26 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1424 90K 90K 166960K 2139 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 4 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 15 0 dirhash 12 2K 2K 166960K 30 0 ACPI 1690 195K 286K 166960K 12468 0 file desc 17 61K 97K 166960K 857 0 sigio 0 0K 0K 166960K 5 0 proc 63 79K 140K 166960K 1397 0 subproc 104 6K 6K 166960K 494 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 30 0 in_multi 89 6K 7K 166960K 451 0 ether_multi 1 0K 0K 166960K 7 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 79 360K 360K 166960K 79 0 exec 0 0K 1K 166960K 780 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 242 73K 92K 166960K 7829 0 UVM aobj 72 5K 5K 166960K 74 0 pinsyscall 41 82K 106K 166960K 2721 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 17 0 NDP 14 0K 2K 166960K 125 0 temp 75 6820K 7078K 166960K 30590 0 kqueue 14 22K 28K 166960K 75 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 115 0 112 1 0 1 1 0 8 0 rtentry 112 449 0 355 5 2 3 4 0 8 0 unpcb 144 204 0 184 1 0 1 1 0 8 0 syncache 336 4 0 4 2 2 0 1 0 8 0 tcpqe 32 1 0 1 1 1 0 1 0 8 0 tcpcb 808 232 0 226 16 8 8 8 0 8 7 arp 120 80 0 61 1 0 1 1 0 8 0 inpcb 336 683 0 669 20 13 7 7 0 8 5 nd6 136 115 0 94 1 0 1 1 0 8 0 pkpcb 40 3 0 3 3 2 1 1 0 8 1 kcovpl 48 38 0 30 1 0 1 1 0 8 0 ppxss 1168 4 0 4 4 4 0 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 4 0 2 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 60 0 36 1 0 1 1 0 8 0 pfstkey 128 61 0 37 1 0 1 1 0 8 0 pfstate 376 61 0 37 3 0 3 3 0 8 0 pfrule 1344 57 0 51 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1835 0 1426 35 6 29 30 0 8 3 art_table 32 1836 0 1426 4 0 4 4 0 8 0 art_node 16 447 0 363 1 0 1 1 0 8 0 sysvmsgpl 40 43 0 3 1 0 1 1 0 8 0 semapl 112 13 0 3 1 0 1 1 0 8 0 shmpl 112 71 0 2 3 1 2 3 0 8 0 dirhash 1024 29 0 12 3 0 3 3 0 8 0 dino2pl 256 2238 0 676 98 0 98 98 0 8 0 ffsino 272 2238 0 676 105 0 105 105 0 8 0 nchpl 144 2788 0 1065 65 0 65 65 0 8 0 uvmvnodes 80 2908 0 0 60 0 60 60 0 8 0 vnodes 216 2908 0 0 162 0 162 162 0 8 0 namei 1024 12702 0 12701 6 5 1 2 0 8 0 percpumem 16 82 0 36 1 0 1 1 0 8 0 kstatmem 264 96 0 72 2 0 2 2 0 8 0 scxspl 216 19556 0 19555 10 9 1 8 1 8 0 plimitpl 152 112 0 94 1 0 1 1 0 8 0 sigapl 424 1101 0 1051 7 1 6 7 0 8 0 futexpl 64 4526 0 4518 3 2 1 1 0 8 0 knotepl 120 542 0 0 17 0 17 17 0 8 0 kqueuepl 216 109 0 97 1 0 1 1 0 8 0 pipepl 320 235 0 205 3 0 3 3 0 8 0 fdescpl 496 1082 0 1051 9 4 5 6 0 8 0 filepl 152 5132 0 4869 22 10 12 16 0 8 1 lockfpl 104 86 0 84 1 0 1 1 0 8 0 lockfspl 48 43 0 41 1 0 1 1 0 8 0 sessionpl 144 53 0 45 1 0 1 1 0 8 0 pgrppl 48 93 0 77 1 0 1 1 0 8 0 ucredpl 104 843 0 829 1 0 1 1 0 8 0 zombiepl 144 1108 0 1108 2 1 1 1 0 8 1 processpl 1160 1101 0 1051 5 1 4 5 0 8 0 procpl 648 1610 0 1544 6 0 6 6 0 8 0 srpgc 96 2 0 2 1 0 1 1 0 8 1 sockpl 664 1018 0 981 22 13 9 9 0 8 5 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 136 0 0 17 0 17 17 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 31 0 0 4 0 4 4 0 8 0 mtagpl 96 5 0 0 1 0 1 1 0 8 0 mbufpl 256 308 0 0 18 0 18 18 0 8 0 bufpl 280 7038 0 561 463 0 463 463 0 8 0 anonpl 24 205054 0 201606 95 44 51 73 0 185 21 amapchunkpl 152 24455 0 23921 49 16 33 36 0 158 11 amappl16 200 4063 0 4046 16 14 2 14 0 8 1 amappl15 192 33 0 33 1 1 0 1 0 8 0 amappl14 184 177 0 166 1 0 1 1 0 8 0 amappl13 176 8 0 8 1 1 0 1 0 8 0 amappl12 168 2210 0 2180 4 2 2 3 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 11 0 10 1 0 1 1 0 8 0 amappl9 144 153 0 153 1 1 0 1 0 8 0 amappl8 136 21 0 18 1 0 1 1 0 8 0 amappl7 128 166 0 155 1 0 1 1 0 8 0 amappl6 120 463 0 462 1 0 1 1 0 8 0 amappl5 112 260 0 248 1 0 1 1 0 8 0 amappl4 104 418 0 399 1 0 1 1 0 8 0 amappl3 96 4562 0 4442 5 1 4 4 0 8 0 amappl2 88 1084 0 1018 2 0 2 2 0 8 0 amappl1 80 11485 0 10949 14 2 12 14 0 8 0 amappl 88 7224 0 7040 6 1 5 5 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 73 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1083 0 1052 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1083 0 1052 1 0 1 1 0 8 0 vmmpekpl 168 10536 0 10480 4 0 4 4 0 8 0 vmmpepl 168 73138 0 71317 92 10 82 89 0 357 2 vmsppl 440 1082 0 1052 6 2 4 5 0 8 0 rwobjpl 56 26850 0 22974 56 1 55 55 0 8 0 pdppl 4096 2173 0 2104 141 66 75 87 0 8 6 pvpl 32 28176 0 0 227 0 227 227 0 265 0 pmappl 248 1082 0 1052 3 0 3 3 0 8 0 extentpl 40 55 0 38 1 0 1 1 0 8 0 phpool 112 475 0 106 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff834c2ff0) 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 x86_bus_space_io_write_2(c010,0,2) at x86_bus_space_io_write_2+0x41 sys/arch/amd64/amd64/bus_space.c:780 vioscsi_scsi_cmd(fffffd805d3e3a48) at vioscsi_scsi_cmd+0x50d sys/dev/pv/vioscsi.c:265 scsi_xs_exec(fffffd805d3e3a48) at scsi_xs_exec+0x5d sys/scsi/scsi_base.c:1457 sdstart(fffffd805d3e3a48) at sdstart+0x4b2 sys/scsi/sd.c:709 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x181 sys/scsi/scsi_base.c:423 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x39d sys/scsi/scsi_base.c:599 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0x115 sys/scsi/scsi_base.c:538 sdstrategy(fffffd8064ffcc10) at sdstrategy+0x21b sys/scsi/sd.c:567 spec_strategy(ffff80002a069c58) at spec_strategy+0x45 sys/kern/spec_vnops.c:448 VOP_STRATEGY(fffffd807eb27798,fffffd8064ffcc10) at VOP_STRATEGY+0xcc sys/kern/vfs_vops.c:634 ufs_strategy(ffff80002a069d08) at ufs_strategy+0x1f6 VOP_STRATEGY(fffffd806e1aa998,fffffd8064ffcc10) at VOP_STRATEGY+0xcc sys/kern/vfs_vops.c:634 bwrite(fffffd8064ffcc10) at bwrite+0x293 sys/kern/vfs_bio.c:757 VOP_BWRITE(fffffd8064ffcc10) at VOP_BWRITE+0x60 sys/kern/vfs_vops.c:646 ffs_fsync(ffff80002a069e60) at ffs_fsync+0x290 sys/ufs/ffs/ffs_vnops.c:464 VOP_FSYNC(fffffd806e1aa998,fffffd807f7d3820,1,ffff8000ffffdbe8) at VOP_FSYNC+0x108 sys/kern/vfs_vops.c:311 sys_fsync(ffff8000ffffdbe8,ffff80002a06a010,ffff80002a069f60) at sys_fsync+0x16f sys/kern/vfs_syscalls.c:2926 syscall(ffff80002a06a010) at syscall+0xaf8 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002a06a010) at syscall+0xaf8 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7a25e0227ab0, count: -22 ddb{0}> machine ddbcpu 1 Stopped at lf_advlock+0x2f7: incl 0x28(%r12) ddb{1}> trace lf_advlock(ffff8000012a4ce0,0,fffffd80703d15d8,2,ffff80002e9f05b0,40) at lf_advlock+0x2f7 ls_ref sys/kern/vfs_lockf.c:138 [inline] lf_advlock(ffff8000012a4ce0,0,fffffd80703d15d8,2,ffff80002e9f05b0,40) at lf_advlock+0x2f7 sys/kern/vfs_lockf.c:278 VOP_ADVLOCK(fffffd805fd0dda0,fffffd80703d15d8,2,ffff80002e9f05b0,40) at VOP_ADVLOCK+0x87 sys/kern/vfs_vops.c:618 closef(fffffd8076fe1398,ffff8000ffff1978) at closef+0x140 syscall(ffff80002e9f06e0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff80002e9f06e0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x8403257050, count: -5