syzbot


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

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

Sample crash report:
[   6.7311457] panic: kernel debugging assertion "rw_lock_held(&map->lock)" failed: file "/syzkaller/managers/ci2-netbsd/kernel/sys/uvm/uvm_map.c", line 1703 
[   6.7411681] cpu0: Begin traceback...
[   6.7511452] vpanic() at netbsd:vpanic+0x27a sys/kern/subr_prf.c:288
[   6.7811396] _sub_D_65535_0() at netbsd:_sub_D_65535_0+-0xc9f4
[   6.8211412] uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0x1f4 sys/uvm/uvm_map.c:1703
[   6.8511453] uvm_unmap_remove() at netbsd:uvm_unmap_remove+0xc3 sys/uvm/uvm_map.c:2333
[   6.8811421] uvmspace_free() at netbsd:uvmspace_free+0x201 sys/uvm/uvm_map.c:4425
[   6.9211432] uvm_proc_exit() at netbsd:uvm_proc_exit+0xbb sys/uvm/uvm_glue.c:444
[   6.9511453] exit1() at netbsd:exit1+0x3fc sys/kern/kern_exit.c:349
[   6.9811423] sys_exit() at netbsd:sys_exit+0x94 sys/kern/kern_exit.c:181
[   7.0111424] syscall() at netbsd:syscall+0x35c sy_call sys/sys/syscallvar.h:65 [inline]
[   7.0111424] syscall() at netbsd:syscall+0x35c sy_invoke sys/sys/syscallvar.h:94 [inline]
[   7.0111424] syscall() at netbsd:syscall+0x35c sys/arch/x86/x86/syscall.c:137
[   7.0218754] --- syscall (number 1) ---
[   7.0311422] netbsd:syscall+0x35c:
[   7.0311422] cpu0: End traceback...
[   7.0311422] fatal breakpoint trap in supervisor mode
[   7.0422321] trap type 1 code 0 rip 0xffffffff80232415 cs 0x8 rflags 0x286 cr2 0xffffcd0248289000 ilevel 0 rsp 0xffffcd024829d960
[   7.0422321] curlwp 0xffffcd0012a20b80 pid 200.200 lowest kstack 0xffffcd02482962c0
Stopped in pid 200.200 (sysctl) at      netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
db_panic() at netbsd:db_panic+0x105 sys/ddb/db_panic.c:71
vpanic() at netbsd:vpanic+0x27a sys/kern/subr_prf.c:288
_sub_D_65535_0() at netbsd:_sub_D_65535_0+-0xc9f4
uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0x1f4 sys/uvm/uvm_map.c:1703
uvm_unmap_remove() at netbsd:uvm_unmap_remove+0xc3 sys/uvm/uvm_map.c:2333
uvmspace_free() at netbsd:uvmspace_free+0x201 sys/uvm/uvm_map.c:4425
uvm_proc_exit() at netbsd:uvm_proc_exit+0xbb sys/uvm/uvm_glue.c:444
exit1() at netbsd:exit1+0x3fc sys/kern/kern_exit.c:349
sys_exit() at netbsd:sys_exit+0x94 sys/kern/kern_exit.c:181
syscall() at netbsd:syscall+0x35c sy_call sys/sys/syscallvar.h:65 [inline]
syscall() at netbsd:syscall+0x35c sy_invoke sys/sys/syscallvar.h:94 [inline]
syscall() at netbsd:syscall+0x35c sys/arch/x86/x86/syscall.c:137
--- syscall (number 1) ---
netbsd:syscall+0x35c:
ds          0
es          0
fs          8ab3
gs          4ec
rdi         5
rsi         0
rbp         ffffcd024829d960
rbx         1
rdx         0
--db_more--

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