[ 5.9963880] panic: kernel debugging assertion "rw_lock_held(&map->lock)" failed: file "/syzkaller/managers/ci2-netbsd-kubsan/kernel/sys/uvm/uvm_map.c", line 1703 [ 6.0101513] cpu0: Begin traceback... [ 6.0263924] vpanic() at netbsd:vpanic+0x2f3 sys/kern/subr_prf.c:288 [ 6.0763891] kern_assert() at netbsd:kern_assert+0x63 sys/arch/amd64/amd64/db_disasm.c:1074 [ 6.1163928] uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0x2fb sys/uvm/uvm_map.c:1703 [ 6.1563893] uvm_unmap_remove() at netbsd:uvm_unmap_remove+0xec sys/uvm/uvm_map.c:2333 [ 6.1963901] uvmspace_free() at netbsd:uvmspace_free+0x2a9 sys/uvm/uvm_map.c:4425 [ 6.2363903] uvm_proc_exit() at netbsd:uvm_proc_exit+0xe7 sys/uvm/uvm_glue.c:444 [ 6.2663909] exit1() at netbsd:exit1+0x4ec sys/kern/kern_exit.c:349 [ 6.3063933] sys_exit() at netbsd:sys_exit+0xd4 sys/kern/kern_exit.c:181 [ 6.3463935] syscall() at netbsd:syscall+0x35d sy_call sys/sys/syscallvar.h:65 [inline] [ 6.3463935] syscall() at netbsd:syscall+0x35d sy_invoke sys/sys/syscallvar.h:94 [inline] [ 6.3463935] syscall() at netbsd:syscall+0x35d sys/arch/x86/x86/syscall.c:137 [ 6.3463935] --- syscall (number 1) --- [ 6.3663937] netbsd:syscall+0x35d: [ 6.3663937] cpu0: End traceback... [ 6.3663937] fatal breakpoint trap in supervisor mode [ 6.3663937] trap type 1 code 0 rip 0xffffffff8023547d cs 0x8 rflags 0x286 cr2 0xffffa80248037000 ilevel 0 rsp 0xffffa80248046c50 [ 6.3663937] curlwp 0xffff8eb952bc46c0 pid 200.200 lowest kstack 0xffffa802480422c0 Stopped in pid 200.200 (sysctl) at netbsd:breakpoint+0x5: leave breakpoint() at netbsd:breakpoint+0x5 db_panic() at netbsd:db_panic+0xec sys/ddb/db_panic.c:71 vpanic() at netbsd:vpanic+0x2f3 sys/kern/subr_prf.c:288 kern_assert() at netbsd:kern_assert+0x63 sys/arch/amd64/amd64/db_disasm.c:1074 uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0x2fb sys/uvm/uvm_map.c:1703 uvm_unmap_remove() at netbsd:uvm_unmap_remove+0xec sys/uvm/uvm_map.c:2333 uvmspace_free() at netbsd:uvmspace_free+0x2a9 sys/uvm/uvm_map.c:4425 uvm_proc_exit() at netbsd:uvm_proc_exit+0xe7 sys/uvm/uvm_glue.c:444 exit1() at netbsd:exit1+0x4ec sys/kern/kern_exit.c:349 sys_exit() at netbsd:sys_exit+0xd4 sys/kern/kern_exit.c:181 syscall() at netbsd:syscall+0x35d sy_call sys/sys/syscallvar.h:65 [inline] syscall() at netbsd:syscall+0x35d sy_invoke sys/sys/syscallvar.h:94 [inline] syscall() at netbsd:syscall+0x35d sys/arch/x86/x86/syscall.c:137 --- syscall (number 1) --- netbsd:syscall+0x35d: ds f3ea es 6c10 fs 6c60 gs 10 rdi 5 rsi 0 rbp ffffa80248046c50 rbx 1 rdx ffff8eb952bc4ab8 --db_more--