syzbot


netbsd test error: panic: kernel debugging assertion "rw_lock_held(&map->lock)" failed: file "/syzkaller/managers/ci2-netbsd-kubsan/kernel/

Status: upstream: reported on 2024/08/14 00:56
Reported-by: syzbot+c7c6bbf515944411762d@syzkaller.appspotmail.com
First crash: 37d, last: 37d

Sample crash report:
[  11.3802656] panic: kernel debugging assertion "rw_lock_held(&map->lock)" failed: file "/syzkaller/managers/ci2-netbsd-kubsan/kernel/sys/uvm/uvm_map.c", line 1703 
[  11.3961644] cpu0: Begin traceback...
[  11.4202438] vpanic() at netbsd:vpanic+0x2f3 sys/kern/subr_prf.c:288
[  11.5302412] kern_assert() at netbsd:kern_assert+0x63 sys/arch/amd64/amd64/db_disasm.c:1074
[  11.6202503] uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0x2fb sys/uvm/uvm_map.c:1703
[  11.6902465] uvm_unmap_remove() at netbsd:uvm_unmap_remove+0xec sys/uvm/uvm_map.c:2333
[  11.7602429] uvmspace_free() at netbsd:uvmspace_free+0x2a9 sys/uvm/uvm_map.c:4425
[  11.8402413] uvm_proc_exit() at netbsd:uvm_proc_exit+0xe7 sys/uvm/uvm_glue.c:444
[  11.9102484] exit1() at netbsd:exit1+0x4ec sys/kern/kern_exit.c:349
[  11.9802461] sys_exit() at netbsd:sys_exit+0xd4 sys/kern/kern_exit.c:181
[  12.0602461] syscall() at netbsd:syscall+0x35d sy_call sys/sys/syscallvar.h:65 [inline]
[  12.0602461] syscall() at netbsd:syscall+0x35d sy_invoke sys/sys/syscallvar.h:94 [inline]
[  12.0602461] syscall() at netbsd:syscall+0x35d sys/arch/x86/x86/syscall.c:137
[  12.0802499] --- syscall (number 1) ---
[  12.1002444] netbsd:syscall+0x35d:
[  12.1002444] cpu0: End traceback...
[  12.1110291] fatal breakpoint trap in supervisor mode
[  12.1110291] trap type 1 code 0 rip 0xffffffff8023547d cs 0x8 rflags 0x286 cr2 0xffffbe8248037000 ilevel 0 rsp 0xffffbe8248046c50
[  12.1110291] curlwp 0xffffb86b12bd66c0 pid 200.200 lowest kstack 0xffffbe82480422c0
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         ffffbe8248046c50
rbx         1
rdx         ffffb86b12bd6ab8
--db_more--

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/14 04:45 netbsd a6b90e47098b bde81f6f .config console log report [disk image] [netbsd.gdb] ci2-netbsd-kubsan netbsd test error: panic: kernel debugging assertion "rw_lock_held(&map->lock)" failed: file "/syzkaller/managers/ci2-netbsd-kubsan/kernel/
2024/08/14 02:22 netbsd 036625911e3f bde81f6f .config console log report [disk image] [netbsd.gdb] ci2-netbsd-kubsan netbsd test error: panic: kernel debugging assertion "rw_lock_held(&map->lock)" failed: file "/syzkaller/managers/ci2-netbsd-kubsan/kernel/
2024/08/14 00:55 netbsd 036625911e3f f21a18ca .config console log report [disk image] [netbsd.gdb] ci2-netbsd-kubsan netbsd test error: panic: kernel debugging assertion "rw_lock_held(&map->lock)" failed: file "/syzkaller/managers/ci2-netbsd-kubsan/kernel/
* Struck through repros no longer work on HEAD.