syzbot


WARNING: ODEBUG bug in __init_work (2)

Status: auto-closed as invalid on 2021/07/22 04:03
Subsystems: cgroups
[Documentation on labels]
Reported-by: syzbot+686eece98256a0e9189e@syzkaller.appspotmail.com
First crash: 1099d, last: 1099d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING: ODEBUG bug in __init_work net syz done 1 1495d 1494d 15/26 fixed on 2020/05/10 10:41
linux-4.14 WARNING: ODEBUG bug in __init_work 2 1245d 1272d 0/1 auto-closed as invalid on 2021/03/27 20:06
upstream WARNING: ODEBUG bug in __init_work (3) cgroups 1 818d 814d 0/26 auto-closed as invalid on 2022/05/29 09:19
upstream WARNING: ODEBUG bug in __init_work (4) rdma 1 91d 87d 0/26 auto-obsoleted due to no activity on 2024/03/25 20:45
linux-4.19 WARNING: ODEBUG bug in __init_work C error 24 588d 1221d 0/1 upstream: reported C repro on 2020/12/22 12:22

Sample crash report:
------------[ cut here ]------------
ODEBUG: init active (active state 0) object type: work_struct hint: css_killed_work_fn+0x0/0x5e0 kernel/cgroup/cgroup.c:3763
WARNING: CPU: 0 PID: 13 at lib/debugobjects.c:505 debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Modules linked in:
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd a0 3b c2 89 4c 89 ee 48 c7 c7 a0 2f c2 89 e8 cf cb f7 04 <0f> 0b 83 05 b5 ee f8 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc90000d27ab8 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff8880115c0000 RSI: ffffffff815c5205 RDI: fffff520001a4f49
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815bdf9e R11: 0000000000000000 R12: ffffffff896ac380
R13: ffffffff89c234a0 R14: ffffffff8149b600 R15: ffffffff90091a38
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fccb9a77718 CR3: 0000000051d5b000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 __debug_object_init+0x524/0xd10 lib/debugobjects.c:588
 __init_work+0x48/0x50 kernel/workqueue.c:503
 css_release+0x1a/0x110 kernel/cgroup/cgroup.c:5011
 percpu_ref_put_many include/linux/percpu-refcount.h:322 [inline]
 percpu_ref_put include/linux/percpu-refcount.h:338 [inline]
 css_put include/linux/cgroup.h:404 [inline]
 put_css_set_locked+0xc0e/0xff0 kernel/cgroup/cgroup.c:939
 put_css_set kernel/cgroup/cgroup-internal.h:193 [inline]
 put_css_set kernel/cgroup/cgroup-internal.h:180 [inline]
 cgroup_free+0x9d/0x1a0 kernel/cgroup/cgroup.c:6192
 __put_task_struct+0x113/0x400 kernel/fork.c:735
 put_task_struct include/linux/sched/task.h:113 [inline]
 delayed_put_task_struct+0x1f6/0x340 kernel/exit.c:173
 rcu_do_batch kernel/rcu/tree.c:2559 [inline]
 rcu_core+0x74a/0x12f0 kernel/rcu/tree.c:2794
 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345
 run_ksoftirqd kernel/softirq.c:652 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:644
 smpboot_thread_fn+0x655/0x9e0 kernel/smpboot.c:165
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/23 04:03 bpf-next 64ef3ddfa95e 590921a5 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: ODEBUG bug in __init_work
* Struck through repros no longer work on HEAD.