panic: mutex 0xfffffd80663fca00 not held in mtx_leave Starting stack trace... panic(ffffffff830777cb) at panic+0x1d0 sys/kern/subr_prf.c:229 mtx_leave(fffffd80663fca00) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd80663fc918,fffffd80663fca00,4,ffffffff832017c0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd80663fc8e8,fffffd806ebe6788,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd80663fc8e8,ffff8000371e5f50,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd80663fc8e8,ffff8000371e5f50,21000,3,7,5002,89469a155a9b1f8,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff80003727a7d0,ffff8000371e60c0,ffff8000371e6010) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff8000371e60c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371e60c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7218ce566b20, count: 248 End of stack trace. syncing disks...panic: kernel diagnostic assertion "rw_write_held(uobj->vmobjlock)" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_vnode.c", line 611 Starting stack trace... panic(ffffffff830e780f) at panic+0x1d0 sys/kern/subr_prf.c:229 __assert(ffffffff8309a24d,ffffffff82fdf167,263,ffffffff8301d9e9) at __assert+0x29 uvn_flush(fffffd806d523b60,0,0,31) at uvn_flush+0xdfd sys/uvm/uvm_vnode.c:754 uvm_vnp_sync(ffff800000b5e000) at uvm_vnp_sync+0x1e7 sys/uvm/uvm_vnode.c:1542 sys_sync(ffff80003727a7d0,0,0) at sys_sync+0xd4 sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff80003727a7d0,1) at vfs_syncwait+0x44 vfs_shutdown(ffff80003727a7d0) at vfs_shutdown+0x97 sys/kern/vfs_subr.c:1788 boot(100) at boot+0x15c sys/arch/amd64/amd64/machdep.c:907 reboot(100) at reboot+0xb1 panic(ffffffff830777cb) at panic+0x1f9 sys/kern/subr_prf.c:231 mtx_leave(fffffd80663fca00) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd80663fc918,fffffd80663fca00,4,ffffffff832017c0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd80663fc8e8,fffffd806ebe6788,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd80663fc8e8,ffff8000371e5f50,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd80663fc8e8,ffff8000371e5f50,21000,3,7,5002,89469a155a9b1f8,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff80003727a7d0,ffff8000371e60c0,ffff8000371e6010) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff8000371e60c0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000371e60c0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7218ce566b20, count: 239 End of stack trace. dump to dev 4,1 not possible