syzbot


WARNING: ODEBUG bug in __mod_timer

Status: fixed on 2023/09/28 17:51
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+7937ba6a50bdd00fffdf@syzkaller.appspotmail.com
Fix commit: 8b64d420fe24 debugobjects: Recheck debug_objects_enabled before reporting
First crash: 359d, last: 359d
Duplicate bugs (2)
duplicates (2):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING: ODEBUG bug in exit_to_user_mode_prepare (2) kernel 1 352d 352d 0/26 closed as dup on 2023/05/29 14:49
WARNING: ODEBUG bug in sctp_transport_free sctp 1 343d 340d 0/26 closed as dup on 2023/05/29 14:46
Discussions (10)
Title Replies (including bot) Last reply
[PATCH AUTOSEL 4.14 1/5] debugobjects: Recheck debug_objects_enabled before reporting 2 (2) 2023/07/02 19:42
[PATCH AUTOSEL 4.19 1/5] debugobjects: Recheck debug_objects_enabled before reporting 2 (2) 2023/07/02 19:42
[PATCH AUTOSEL 5.4 1/5] debugobjects: Recheck debug_objects_enabled before reporting 1 (1) 2023/07/02 19:42
[PATCH AUTOSEL 5.10 2/7] debugobjects: Recheck debug_objects_enabled before reporting 1 (1) 2023/07/02 19:41
[PATCH AUTOSEL 5.15 02/10] debugobjects: Recheck debug_objects_enabled before reporting 1 (1) 2023/07/02 19:41
[PATCH AUTOSEL 6.1 04/12] debugobjects: Recheck debug_objects_enabled before reporting 1 (1) 2023/07/02 19:41
[PATCH AUTOSEL 6.3 04/14] debugobjects: Recheck debug_objects_enabled before reporting 1 (1) 2023/07/02 19:40
[PATCH AUTOSEL 6.4 05/15] debugobjects: Recheck debug_objects_enabled before reporting 1 (1) 2023/07/02 19:40
[PATCH] debugobjects: turn off debug_objects_enabled from debug_objects_oom() 4 (4) 2023/06/07 12:20
[syzbot] [kernel?] WARNING: ODEBUG bug in __mod_timer 0 (1) 2023/05/29 14:31

Sample crash report:
WARNING: CPU: 1 PID: 5171 at lib/debugobjects.c:505 debug_print_object+0x194/0x2c0 lib/debugobjects.c:505
Modules linked in:
CPU: 1 PID: 5171 Comm: kworker/1:5 Not tainted 6.3.0-rc7-next-20230420-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: rcu_gp wait_rcu_exp_gp
RIP: 0010:debug_print_object+0x194/0x2c0 lib/debugobjects.c:505
Code: df 48 89 fe 48 c1 ee 03 80 3c 16 00 0f 85 c7 00 00 00 48 8b 14 dd c0 0f a7 8a 50 4c 89 ee 48 c7 c7 80 03 a7 8a e8 7c ec 35 fd <0f> 0b 58 83 05 86 75 63 0a 01 48 83 c4 20 5b 5d 41 5c 41 5d 41 5e
RSP: 0018:ffffc900056af890 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000
RDX: ffff88801e71d7c0 RSI: ffffffff814be0c7 RDI: 0000000000000001
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: ffffffff8a4ecb40
R13: ffffffff8aa70a60 R14: ffffc900056af950 R15: ffffffff817267d0
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020404030 CR3: 000000002bc8b000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 debug_object_assert_init+0x20f/0x310 lib/debugobjects.c:912
 debug_timer_assert_init kernel/time/timer.c:792 [inline]
 debug_assert_init kernel/time/timer.c:837 [inline]
 __mod_timer+0x9b/0xe80 kernel/time/timer.c:1020
 schedule_timeout+0x149/0x2b0 kernel/time/timer.c:2166
 synchronize_rcu_expedited_wait_once kernel/rcu/tree_exp.h:572 [inline]
 synchronize_rcu_expedited_wait kernel/rcu/tree_exp.h:624 [inline]
 rcu_exp_wait_wake+0x2ae/0x1550 kernel/rcu/tree_exp.h:693
 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
 kthread+0x33e/0x440 kernel/kthread.c:379
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/04/21 05:11 linux-next 44bf136283e5 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in __mod_timer
* Struck through repros no longer work on HEAD.