syzbot


WARNING: ODEBUG bug in nilfs_detach_log_writer

Status: upstream: reported on 2024/10/11 10:17
Subsystems: nilfs
[Documentation on labels]
Reported-by: syzbot+c4b312367c177af55bdd@syzkaller.appspotmail.com
First crash: 78d, last: 78d
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly nilfs report (Oct 2024) 0 (1) 2024/10/11 15:25
[syzbot] [nilfs?] WARNING: ODEBUG bug in nilfs_detach_log_writer 0 (1) 2024/10/11 10:17

Sample crash report:
NILFS (loop1): disposed unprocessed dirty file(s) when stopping log writer
------------[ cut here ]------------
ODEBUG: free active (active state 0) object: ffff88804a135270 object type: timer_list hint: nilfs_construction_timeout+0x0/0x40
WARNING: CPU: 1 PID: 10509 at lib/debugobjects.c:517 debug_print_object+0x17a/0x1f0 lib/debugobjects.c:514
Modules linked in:
CPU: 1 UID: 0 PID: 10509 Comm: syz-executor Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:debug_print_object+0x17a/0x1f0 lib/debugobjects.c:514
Code: e8 3b 45 3c fd 4c 8b 0b 48 c7 c7 20 02 61 8c 48 8b 74 24 08 48 89 ea 44 89 e1 4d 89 f8 ff 34 24 e8 7b 88 93 fc 48 83 c4 08 90 <0f> 0b 90 90 ff 05 64 ca 5a 0b 48 83 c4 10 5b 41 5c 41 5d 41 5e 41
RSP: 0018:ffffc90003d87958 EFLAGS: 00010282
RAX: 82bf3185606fc400 RBX: ffffffff8c0cd900 RCX: ffff88802c7a8000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff8c6103a0 R08: ffffffff8155daa2 R09: fffffbfff1cf9fd8
R10: dffffc0000000000 R11: fffffbfff1cf9fd8 R12: 0000000000000000
R13: ffffffff8c6102b8 R14: dffffc0000000000 R15: ffff88804a135270
FS:  000055558707b500(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555870965c8 CR3: 00000000549d4000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 __debug_check_no_obj_freed lib/debugobjects.c:989 [inline]
 debug_check_no_obj_freed+0x45b/0x580 lib/debugobjects.c:1019
 slab_free_hook mm/slub.c:2274 [inline]
 slab_free mm/slub.c:4580 [inline]
 kfree+0x11f/0x440 mm/slub.c:4728
 nilfs_segctor_destroy fs/nilfs2/segment.c:2828 [inline]
 nilfs_detach_log_writer+0x754/0xa50 fs/nilfs2/segment.c:2893
 nilfs_put_super+0x4d/0x160 fs/nilfs2/super.c:503
 generic_shutdown_super+0x13b/0x2d0 fs/super.c:642
 kill_block_super+0x44/0x90 fs/super.c:1696
 deactivate_locked_super+0xc6/0x130 fs/super.c:473
 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1373
 task_work_run+0x251/0x310 kernel/task_work.c:228
 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:0x7f95d657f327
Code: a8 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 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffd4adf5dc8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f95d657f327
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd4adf5e80
RBP: 00007ffd4adf5e80 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd4adf6f00
R13: 00007f95d65f0134 R14: 0000000000110fcd R15: 00007ffd4adf6f40
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/04 07:21 upstream 0c559323bbaa d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING: ODEBUG bug in nilfs_detach_log_writer
* Struck through repros no longer work on HEAD.