panic: mutex 0xfffffd806a587140 not held in mtx_leave Starting stack trace... panic(ffffffff830777cb) at panic+0x1d0 sys/kern/subr_prf.c:229 mtx_leave(fffffd806a587140) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806a587058,fffffd806a587140,4,ffffffff832017c0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806a587028,fffffd806a56ced8,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806a587028,ffff800031184f70,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806a587028,ffff800031184f70,21000,3,7,5002,2b59e2e8ef8be363,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800034599468,ffff8000311850e0,ffff800031185030) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff8000311850e0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000311850e0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e8a73e02b40, 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(fffffd806d70ebb0,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(ffff800034599468,0,0) at sys_sync+0xd4 sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff800034599468,1) at vfs_syncwait+0x44 vfs_shutdown(ffff800034599468) 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(fffffd806a587140) at mtx_leave+0x17c sys/kern/kern_lock.c:335 msleep(fffffd806a587058,fffffd806a587140,4,ffffffff832017c0,0) at msleep+0x125 sys/kern/kern_synch.c:249 vm_map_lock_ln(fffffd806a587028,fffffd806a56ced8,0) at vm_map_lock_ln+0xd4 sys/uvm/uvm_map.c:5250 uvm_mapanon(fffffd806a587028,ffff800031184f70,21000,1000,2080713) at uvm_mapanon+0x292 uvm_mmapanon(fffffd806a587028,ffff800031184f70,21000,3,7,5002,2b59e2e8ef8be363,5002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff800034599468,ffff8000311850e0,ffff800031185030) at sys_mmap+0xa96 sys/uvm/uvm_mmap.c:421 syscall(ffff8000311850e0) at syscall+0xbb6 mi_syscall sys/sys/syscall_mi.h:179 [inline] syscall(ffff8000311850e0) at syscall+0xbb6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e8a73e02b40, count: 239 End of stack trace. dump to dev 4,1 not possible