panic: kernel diagnostic assertion "mo->ro_magic == RWLOCK_OBJ_MAGIC" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_rwlock.c", line 599 rw_obj_free: lock 0xfffffd80642cec40: mo->ro_magic (0) != RWLOCK_OBJ_MAGIC (0x5aa3c85d)
Starting stack trace...
panic(ffffffff828aa047) at panic+0x16f sys/kern/subr_prf.c:229
rw_obj_free(fffffd80642cec40) at rw_obj_free+0x108 sys/kern/kern_rwlock.c:600
amap_free(fffffd806b59bcc8) at amap_free+0x92 sys/uvm/uvm_amap.c:454
amap_wipeout(fffffd806b59bcc8) at amap_wipeout+0x243 sys/uvm/uvm_amap.c:532
uvm_unmap_detach(ffff80002a154eb0,1) at uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1354
uvm_map_teardown(fffffd80775c3a68) at uvm_map_teardown+0x2f8 sys/uvm/uvm_map.c:2554
uvmspace_free(fffffd80775c3a68) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3461
reaper(ffff80002a148cd8) at reaper+0x197 sys/kern/kern_exit.c:463
end trace frame: 0x0, count: 249
End of stack trace.