2022-08-03 08:07:26

by syzbot

[permalink] [raw]
Subject: [syzbot] linux-next test error: WARNING: ODEBUG bug in mgmt_index_removed


syzbot found the following issue on:

HEAD commit: 42d670bda02f Add linux-next specific files for 20220802
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=17ed503a080000
kernel config: https://syzkaller.appspot.com/x/.config?x=5e2cda601d1924a
dashboard link: https://syzkaller.appspot.com/bug?extid=b42805125f9a096b735d
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: [email protected]

------------[ cut here ]------------
ODEBUG: assert_init not available (active state 0) object type: timer_list hint: 0x0
WARNING: CPU: 0 PID: 3614 at lib/debugobjects.c:509 debug_print_object+0x16e/0x250 lib/debugobjects.c:509
Modules linked in:
CPU: 0 PID: 3614 Comm: syz-executor.0 Not tainted 5.19.0-next-20220802-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:509
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd 60 01 49 8a 4c 89 ee 48 c7 c7 00 f5 48 8a e8 63 95 38 05 <0f> 0b 83 05 65 62 dd 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc90003c2f6e8 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000
RDX: ffff88807eefbb00 RSI: ffffffff8161ee98 RDI: fffff52000785ecf
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff89eeff60
R13: ffffffff8a48fbc0 R14: ffffffff816b2060 R15: 1ffff92000785ee8
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0006a7000 CR3: 000000001841e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
debug_object_assert_init lib/debugobjects.c:899 [inline]
debug_object_assert_init+0x1f4/0x2e0 lib/debugobjects.c:870
debug_timer_assert_init kernel/time/timer.c:792 [inline]
debug_assert_init kernel/time/timer.c:837 [inline]
del_timer+0x6d/0x110 kernel/time/timer.c:1257
try_to_grab_pending+0x6d/0xd0 kernel/workqueue.c:1275
__cancel_work_timer+0xa6/0x570 kernel/workqueue.c:3121
mgmt_index_removed+0x187/0x2e0 net/bluetooth/mgmt.c:8939
hci_unregister_dev+0x34f/0x4e0 net/bluetooth/hci_core.c:2688
vhci_release+0x7c/0xf0 drivers/bluetooth/hci_vhci.c:568
__fput+0x277/0x9d0 fs/file_table.c:320
task_work_run+0xdd/0x1a0 kernel/task_work.c:177
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xc39/0x2b60 kernel/exit.c:813
do_group_exit+0xd0/0x2a0 kernel/exit.c:943
get_signal+0x238c/0x2610 kernel/signal.c:2858
arch_do_signal_or_restart+0x82/0x2300 arch/x86/kernel/signal.c:869
exit_to_user_mode_loop kernel/entry/common.c:166 [inline]
exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
RIP: 0033:0x7f986b488b47
Code: Unable to access opcode bytes at RIP 0x7f986b488b1d.
RSP: 002b:00007ffd39d91238 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f986b488b47
RDX: 00007ffd39d91270 RSI: 00007ffd39d91270 RDI: 00007ffd39d91300
RBP: 00007ffd39d91300 R08: 0000000000000001 R09: 00007ffd39d910d0
R10: 0000555556f9a853 R11: 0000000000000206 R12: 00007f986b4e22a6
R13: 00007ffd39d923c0 R14: 0000555556f9a810 R15: 00007ffd39d92400

This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at [email protected].

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.