syzbot


netbsd test error: panic: rw_vector_enter,NUM: uninitialized lock (lock=ADDR, from=ADDR)

Status: auto-obsoleted due to no activity on 2024/11/11 22:26
Reported-by: syzbot+bee411773e59021ccf0b@syzkaller.appspotmail.com
First crash: 99d, last: 99d

Sample crash report:
[   1.0000000] panic: rw_vector_enter,300: uninitialized lock (lock=0xffffffff86a71db8, from=ffffffff85082f06)
[   1.0000000] cpu0: Begin traceback...
[   1.0000000] vpanic() at netbsd:vpanic+0xc9d
[   1.0000000] panic() at netbsd:panic+0x1b3
[   1.0000000] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x5e8
[   1.0000000] rw_enter() at netbsd:rw_enter+0x1db
[   1.0000000] uvm_fault_internal() at netbsd:uvm_fault_internal+0x516 uvmfault_lookup sys/uvm/uvm_fault_i.h:128 [inline]
[   1.0000000] uvm_fault_internal() at netbsd:uvm_fault_internal+0x516 uvm_fault_check sys/uvm/uvm_fault.c:991 [inline]
[   1.0000000] uvm_fault_internal() at netbsd:uvm_fault_internal+0x516 sys/uvm/uvm_fault.c:901
[   1.0000000] trap() at netbsd:trap+0x20ac
[   1.0000000] --- trap (number 6) ---
[   1.0000000] uvm_map_lookup_entry_bytree() at netbsd:uvm_map_lookup_entry_bytree+0x385 sys/uvm/uvm_map.c:1668
[   1.0000000] uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0xa60
[   1.0000000] uvm_map_findspace() at netbsd:uvm_map_findspace+0x1614 sys/uvm/uvm_map.c:2004
[   1.0000000] uvm_map_prepare() at netbsd:uvm_map_prepare+0xf5e sys/uvm/uvm_map.c:1185
[   1.0000000] uvm_km_bootstrap() at netbsd:uvm_km_bootstrap+0x62f sys/uvm/uvm_km.c:317
[   1.0000000] uvm_init() at netbsd:uvm_init+0x162 sys/uvm/uvm_init.c:135
[   1.0000000] main() at netbsd:main+0x38a sys/kern/init_main.c:318
[   1.0000000] cpu0: End traceback...
[   1.0000000] fatal breakpoint trap in supervisor mode
[   1.0000000] trap type 1 code 0 rip 0xffffffff80236885 cs 0x8 rflags 0x286 cr2 0x18 ilevel 0x8 rsp 0xffffffff86e81e80
[   1.0000000] curlwp 0xffffffff86a6fe00 pid 0.0 lowest kstack 0xffffffff86e7b2c0
Stopped in pid 0.0 (system) at  netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0xc9d
panic() at netbsd:panic+0x1b3
lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x5e8
rw_enter() at netbsd:rw_enter+0x1db
uvm_fault_internal() at netbsd:uvm_fault_internal+0x516 uvmfault_lookup sys/uvm/uvm_fault_i.h:128 [inline]
uvm_fault_internal() at netbsd:uvm_fault_internal+0x516 uvm_fault_check sys/uvm/uvm_fault.c:991 [inline]
uvm_fault_internal() at netbsd:uvm_fault_internal+0x516 sys/uvm/uvm_fault.c:901
trap() at netbsd:trap+0x20ac
--- trap (number 6) ---
uvm_map_lookup_entry_bytree() at netbsd:uvm_map_lookup_entry_bytree+0x385 sys/uvm/uvm_map.c:1668
uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0xa60
uvm_map_findspace() at netbsd:uvm_map_findspace+0x1614 sys/uvm/uvm_map.c:2004
uvm_map_prepare() at netbsd:uvm_map_prepare+0xf5e sys/uvm/uvm_map.c:1185
uvm_km_bootstrap() at netbsd:uvm_km_bootstrap+0x62f sys/uvm/uvm_km.c:317
uvm_init() at netbsd:uvm_init+0x162 sys/uvm/uvm_init.c:135
main() at netbsd:main+0x38a sys/kern/init_main.c:318
ds          a228
es          6423
fs          1e70
gs          0
rdi         5
rsi         0
rbp         ffffffff86e81e80
--db_more--

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/13 22:25 netbsd 4561671c22f3 f21a18ca .config console log report [disk image] [netbsd.gdb] ci2-netbsd-kmsan netbsd test error: panic: rw_vector_enter,NUM: uninitialized lock (lock=ADDR, from=ADDR)
2024/08/13 21:39 netbsd 4561671c22f3 f21a18ca .config console log report [disk image] [netbsd.gdb] ci2-netbsd netbsd test error: panic: rw_vector_enter,NUM: uninitialized lock (lock=ADDR, from=ADDR)
* Struck through repros no longer work on HEAD.