syzbot


WARNING in lookup_object_or_alloc

Status: upstream: reported on 2025/05/31 15:09
Subsystems: bcachefs
[Documentation on labels]
Reported-by: syzbot+88e6a26b68fb670364e1@syzkaller.appspotmail.com
First crash: 13d, last: 50m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [bcachefs?] WARNING in lookup_object_or_alloc 0 (1) 2025/05/31 15:09

Sample crash report:
ODEBUG: object ffffc9000213fa98 is on stack ffffc90002138000, but NOT annotated.
------------[ cut here ]------------
WARNING: CPU: 1 PID: 11590 at lib/debugobjects.c:655 debug_object_is_on_stack lib/debugobjects.c:655 [inline]
WARNING: CPU: 1 PID: 11590 at lib/debugobjects.c:655 lookup_object_or_alloc.part.0+0x2b1/0x590 lib/debugobjects.c:688
Modules linked in:
CPU: 1 UID: 0 PID: 11590 Comm: bch-copygc/loop Not tainted 6.16.0-rc1-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:debug_object_is_on_stack lib/debugobjects.c:655 [inline]
RIP: 0010:lookup_object_or_alloc.part.0+0x2b1/0x590 lib/debugobjects.c:688
Code: 0e 48 8d 7d 20 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 58 02 00 00 48 8b 55 20 4c 89 e6 48 c7 c7 e0 66 15 8c e8 a0 ea bb fc 90 <0f> 0b 90 48 83 c4 18 48 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f e9 d1
RSP: 0018:ffffc9000213f7b0 EFLAGS: 00010086
RAX: 0000000000000050 RBX: ffff888089362498 RCX: ffffffff819b01d9
RDX: 0000000000000000 RSI: ffffffff819b8066 RDI: 0000000000000005
RBP: ffff888031650000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000001 R11: 0000000000002c00 R12: ffffc9000213fa98
R13: ffff888031650000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff88812485b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000005c107000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 lookup_object_or_alloc lib/debugobjects.c:665 [inline]
 __debug_object_init+0x2a9/0x3d0 lib/debugobjects.c:743
 __init_work+0x4c/0x60 kernel/workqueue.c:677
 rhashtable_init_noprof+0x49f/0x7e0 lib/rhashtable.c:1085
 bch2_copygc_thread+0xf6/0xdd0 fs/bcachefs/movinggc.c:353
 kthread+0x3c5/0x780 kernel/kthread.c:464
 ret_from_fork+0x5d7/0x6f0 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/10 06:20 upstream 19272b37aa4f 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in lookup_object_or_alloc
2025/06/07 16:06 upstream 7a912d04415b 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in lookup_object_or_alloc
2025/05/28 04:38 upstream 015a99fa7665 874a1386 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in lookup_object_or_alloc
2025/05/27 15:04 upstream 914873bc7df9 874a1386 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in lookup_object_or_alloc
* Struck through repros no longer work on HEAD.