syzbot


UBSAN: array-index-out-of-bounds in rcu_is_watching

Status: closed as invalid on 2024/09/13 10:29
Subsystems: mm
[Documentation on labels]
First crash: 369d, last: 366d

Sample crash report:
==================================================================
------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in ./include/linux/context_tracking.h:126:25
index 2475582464 is out of range for type 'unsigned long[8]'
CPU: 0 UID: 0 PID: 5478 Comm: syz.3.39 Not tainted 6.11.0-rc4-next-20240822-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
 ubsan_epilogue lib/ubsan.c:231 [inline]
 __ubsan_handle_out_of_bounds+0x121/0x150 lib/ubsan.c:429
 rcu_is_watching_curr_cpu include/linux/context_tracking.h:126 [inline]
 rcu_is_watching+0xa5/0xb0 kernel/rcu/tree.c:737
 trace_lock_release include/trace/events/lock.h:69 [inline]
 lock_release+0xbf/0xa30 kernel/locking/lockdep.c:5836
 </TASK>
---[ end trace ]---
Kernel panic - not syncing: UBSAN: panic_on_warn set ...
Shutting down cpus with NMI
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/23 01:14 linux-next 6a7917c89f21 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root UBSAN: array-index-out-of-bounds in rcu_is_watching
2024/08/22 12:27 linux-next 6a7917c89f21 ca02180f .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root UBSAN: array-index-out-of-bounds in rcu_is_watching
2024/08/20 19:37 linux-next bb1b0acdcd66 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root UBSAN: array-index-out-of-bounds in rcu_is_watching
2024/08/22 17:06 linux-next 6a7917c89f21 295a4b50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root KASAN: stack-out-of-bounds Write in rcu_is_watching
* Struck through repros no longer work on HEAD.