syzbot


WARNING: ODEBUG bug in delete_node (2)

Status: moderation: reported on 2024/05/26 13:47
Subsystems: bcachefs
[Documentation on labels]
Reported-by: syzbot+167fadeebdc24576d543@syzkaller.appspotmail.com
First crash: 26d, last: 15d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in delete_node fs 4 1418d 1420d 0/27 auto-closed as invalid on 2020/09/27 15:26

Sample crash report:
------------[ cut here ]------------
ODEBUG: activate active (active state 0) object: ffff888059c65618 object type: rcu_head hint: 0x0
WARNING: CPU: 0 PID: 5114 at lib/debugobjects.c:517 debug_print_object+0x17a/0x1f0 lib/debugobjects.c:514
Modules linked in:
CPU: 0 PID: 5114 Comm: syz-executor.1 Not tainted 6.10.0-rc1-syzkaller-00296-g89be4025b0db #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:debug_print_object+0x17a/0x1f0 lib/debugobjects.c:514
Code: e8 5b 2f 4a fd 4c 8b 0b 48 c7 c7 80 28 1f 8c 48 8b 74 24 08 48 89 ea 44 89 e1 4d 89 f8 ff 34 24 e8 4b e7 a9 fc 48 83 c4 08 90 <0f> 0b 90 90 ff 05 7c ee fd 0a 48 83 c4 10 5b 41 5c 41 5d 41 5e 41
RSP: 0018:ffffc900036c78b8 EFLAGS: 00010286
RAX: 8cc42d080cfee000 RBX: ffffffff8bcbd380 RCX: ffff888061f6da00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff8c1f2a00 R08: ffffffff815846c2 R09: 1ffff920006d8eb4
R10: dffffc0000000000 R11: fffff520006d8eb5 R12: 0000000000000000
R13: ffffffff8c1f2918 R14: dffffc0000000000 R15: ffff888059c65618
FS:  00005555938a5480(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe0f40d8275 CR3: 000000001fa2e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 debug_object_activate+0x357/0x510 lib/debugobjects.c:732
 debug_rcu_head_queue kernel/rcu/rcu.h:227 [inline]
 __call_rcu_common kernel/rcu/tree.c:3057 [inline]
 call_rcu+0x97/0xa70 kernel/rcu/tree.c:3176
 radix_tree_node_free lib/radix-tree.c:310 [inline]
 delete_node+0x1ac/0x770 lib/radix-tree.c:573
 radix_tree_delete_item+0x2e0/0x3f0 lib/radix-tree.c:1430
 __bch2_fs_stop+0x230/0x540 fs/bcachefs/super.c:625
 generic_shutdown_super+0x136/0x2d0 fs/super.c:642
 bch2_kill_sb+0x41/0x50 fs/bcachefs/fs.c:2034
 deactivate_locked_super+0xc4/0x130 fs/super.c:473
 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1267
 task_work_run+0x24f/0x310 kernel/task_work.c:180
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218
 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f18b567e217
Code: b0 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 b0 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007fff81af6118 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f18b567e217
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007fff81af61d0
RBP: 00007fff81af61d0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007fff81af7290
R13: 00007f18b56c8336 R14: 0000000000011491 R15: 0000000000000004
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/02 01:11 upstream 89be4025b0db 3113787f .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING: ODEBUG bug in delete_node
2024/05/24 21:38 upstream 8f6a15f095a6 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING: ODEBUG bug in delete_node
2024/05/22 13:41 upstream b6394d6f7159 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING: ODEBUG bug in delete_node
* Struck through repros no longer work on HEAD.