NetBSD-Syzbot archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



Hello,

syzbot found the following issue on:

HEAD commit:    4561671c22f3 uvm_map(9): Sprinkle invariant assertions int..
git tree:       netbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=1067fc05980000
kernel config:  https://syzkaller.appspot.com/x/.config?x=fab579639ba4bf0a
dashboard link: https://syzkaller.appspot.com/bug?extid=bee411773e59021ccf0b
compiler:       g++ (Debian 12.2.0-14) 12.2.0

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/bde98e9c9418/disk-4561671c.raw.xz
netbsd.gdb: https://storage.googleapis.com/syzbot-assets/eb31071c688f/netbsd-4561671c.gdb.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+bee411773e59021ccf0b%syzkaller.appspotmail.com@localhost

[   1.0000000] panic: rw_vector_enter,300: uninitialized lock (lock=0xffffffff8358f8c8, from=ffffffff81aa93b9)
[   1.0000000] cpu0: Begin traceback...
[   1.0000000] vpanic() at netbsd:vpanic+0x27a sys/kern/subr_prf.c:288
[   1.0000000] panic() at netbsd:panic+0x9d sys/kern/subr_prf.c:1084
[   1.0000000] lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x2f1 sys/kern/subr_lockdebug.c:487
[   1.0000000] rw_enter() at netbsd:rw_enter+0x77b sys/kern/kern_rwlock.c:300
[   1.0000000] uvm_fault_internal() at netbsd:uvm_fault_internal+0x37f uvmfault_lookup sys/uvm/uvm_fault_i.h:128 [inline]
[   1.0000000] uvm_fault_internal() at netbsd:uvm_fault_internal+0x37f uvm_fault_check sys/uvm/uvm_fault.c:991 [inline]
[   1.0000000] uvm_fault_internal() at netbsd:uvm_fault_internal+0x37f sys/uvm/uvm_fault.c:901
[   1.0000000] trap() at netbsd:trap+0x863 sys/arch/amd64/amd64/trap.c:519
[   1.0000000] --- trap (number 6) ---
[   1.0000000] __asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_1byte_isvalid sys/kern/subr_asan.c:311 [inline]
[   1.0000000] __asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_2byte_isvalid sys/kern/subr_asan.c:324 [inline]
[   1.0000000] __asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_4byte_isvalid sys/kern/subr_asan.c:344 [inline]
[   1.0000000] __asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_8byte_isvalid sys/kern/subr_asan.c:364 [inline]
[   1.0000000] __asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_check sys/kern/subr_asan.c:421 [inline]
[   1.0000000] __asan_load8() at netbsd:__asan_load8+0x6c sys/kern/subr_asan.c:1208
[   1.0000000] uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0x136 uvm_map_lookup_entry_bytree sys/uvm/uvm_map.c:1668 [inline]
[   1.0000000] uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0x136 sys/uvm/uvm_map.c:1731
[   1.0000000] uvm_map_findspace() at netbsd:uvm_map_findspace+0x3bd sys/uvm/uvm_map.c:2004
[   1.0000000] uvm_map_prepare() at netbsd:uvm_map_prepare+0x4f2 sys/uvm/uvm_map.c:1185
[   1.0000000] uvm_km_bootstrap() at netbsd:uvm_km_bootstrap+0x1a6 sys/uvm/uvm_km.c:317
[   1.0000000] uvm_init() at netbsd:uvm_init+0xd8 sys/uvm/uvm_init.c:135
[   1.0000000] main() at netbsd:main+0x14a 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 0xffffffff80232415 cs 0x8 rflags 0x202 cr2 0xffff900000000003 ilevel 0x8 rsp 0xffffffff83886170
[   1.0000000] curlwp 0xffffffff83353640 pid 0.0 lowest kstack 0xffffffff8387f2c0
Stopped in pid 0.0 (system) 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
panic() at netbsd:panic+0x9d sys/kern/subr_prf.c:1084
lockdebug_wantlock() at netbsd:lockdebug_wantlock+0x2f1 sys/kern/subr_lockdebug.c:487
rw_enter() at netbsd:rw_enter+0x77b sys/kern/kern_rwlock.c:300
uvm_fault_internal() at netbsd:uvm_fault_internal+0x37f uvmfault_lookup sys/uvm/uvm_fault_i.h:128 [inline]
uvm_fault_internal() at netbsd:uvm_fault_internal+0x37f uvm_fault_check sys/uvm/uvm_fault.c:991 [inline]
uvm_fault_internal() at netbsd:uvm_fault_internal+0x37f sys/uvm/uvm_fault.c:901
trap() at netbsd:trap+0x863 sys/arch/amd64/amd64/trap.c:519
--- trap (number 6) ---
__asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_1byte_isvalid sys/kern/subr_asan.c:311 [inline]
__asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_2byte_isvalid sys/kern/subr_asan.c:324 [inline]
__asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_4byte_isvalid sys/kern/subr_asan.c:344 [inline]
__asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_8byte_isvalid sys/kern/subr_asan.c:364 [inline]
__asan_load8() at netbsd:__asan_load8+0x6c kasan_shadow_check sys/kern/subr_asan.c:421 [inline]
__asan_load8() at netbsd:__asan_load8+0x6c sys/kern/subr_asan.c:1208
uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0x136 uvm_map_lookup_entry_bytree sys/uvm/uvm_map.c:1668 [inline]
uvm_map_lookup_entry() at netbsd:uvm_map_lookup_entry+0x136 sys/uvm/uvm_map.c:1731
uvm_map_findspace() at netbsd:uvm_map_findspace+0x3bd sys/uvm/uvm_map.c:2004
uvm_map_prepare() at netbsd:uvm_map_prepare+0x4f2 sys/uvm/uvm_map.c:1185
uvm_km_bootstrap() at netbsd:uvm_km_bootstrap+0x1a6 sys/uvm/uvm_km.c:317
uvm_init() at netbsd:uvm_init+0xd8 sys/uvm/uvm_init.c:135
main() at netbsd:main+0x14a sys/kern/init_main.c:318
ds          0
es          0
fs          8ab3
gs          69c
rdi         5
rsi         0
--db_more--

---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller%googlegroups.com@localhost.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

-- 
You received this message because you are subscribed to the Google Groups "syzkaller-netbsd-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-netbsd-bugs+unsubscribe%googlegroups.com@localhost.
To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-netbsd-bugs/0000000000006bd7d6061f97713c%40google.com.


Home | Main Index | Thread Index | Old Index