WARNING: ODEBUG bug in del_timer

9 views
Skip to first unread message

syzbot

unread,
Apr 13, 2019, 1:07:11 AM4/13/19
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 1ec8f1f0 Linux 4.14.111
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=170a28f3200000
kernel config: https://syzkaller.appspot.com/x/.config?x=fdadf290ea9fc6f9
dashboard link: https://syzkaller.appspot.com/bug?extid=85eff29cdc3f3bbd82ae
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+85eff2...@syzkaller.appspotmail.com

CR0: actual=0x0000000000000020, shadow=0x0000000000000000,
gh_mask=fffffffffffffff7
protocol 88fb is buggy, dev hsr_slave_0
protocol 88fb is buggy, dev hsr_slave_1
ODEBUG: assert_init not available (active state 0) object type: timer_list
hint: (null)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 30 at lib/debugobjects.c:287
debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 30 Comm: kworker/u4:2 Not tainted 4.14.111 #1
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Workqueue: tipc_send tipc_send_work
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x138/0x19c lib/dump_stack.c:53
panic+0x1f2/0x438 kernel/panic.c:182
__warn.cold+0x2f/0x34 kernel/panic.c:546
report_bug+0x216/0x254 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:944
RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
RSP: 0018:ffff8880a9edf9d8 EFLAGS: 00010286
RAX: 0000000000000061 RBX: 0000000000000005 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff866d0860 RDI: ffffed10153dbf31
RBP: ffff8880a9edfa00 R08: 0000000000000061 R09: ffff8880a9ed48f0
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff866cba60
R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880a127a018
debug_object_assert_init lib/debugobjects.c:656 [inline]
debug_object_assert_init+0x232/0x300 lib/debugobjects.c:627
debug_timer_assert_init kernel/time/timer.c:707 [inline]
debug_assert_init kernel/time/timer.c:755 [inline]
del_timer+0x67/0xf0 kernel/time/timer.c:1150
tipc_subscrb_subscrp_delete+0x16a/0x3a0 net/tipc/subscr.c:207
tipc_subscrb_delete net/tipc/subscr.c:238 [inline]
tipc_subscrb_release_cb+0x18/0x30 net/tipc/subscr.c:316
tipc_close_conn+0x179/0x210 net/tipc/server.c:203
tipc_send_to_sock net/tipc/server.c:538 [inline]
tipc_send_work+0x470/0x5a0 net/tipc/server.c:564
process_one_work+0x868/0x1610 kernel/workqueue.c:2114
worker_thread+0x5d9/0x1050 kernel/workqueue.c:2248
kthread+0x31c/0x430 kernel/kthread.c:232
ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This bug 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 syzk...@googlegroups.com.

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

syzbot

unread,
Apr 17, 2019, 4:55:06 AM4/17/19
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 58b454eb Linux 4.14.112
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1702e66b200000
kernel config: https://syzkaller.appspot.com/x/.config?x=8b0e7ab7678533ab
dashboard link: https://syzkaller.appspot.com/bug?extid=85eff29cdc3f3bbd82ae
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=149e3f10a00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=115c441d200000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+85eff2...@syzkaller.appspotmail.com

audit: type=1400 audit(1555490930.863:36): avc: denied { map } for
pid=6933 comm="syz-executor597" path="/root/syz-executor597558006"
dev="sda1" ino=16482 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023
tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1
ODEBUG: assert_init not available (active state 0) object type: timer_list
hint: 0xffff8880a04e5030
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5 at lib/debugobjects.c:287
debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 5 Comm: kworker/u4:0 Not tainted 4.14.112 #2
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS
Google 01/01/2011
Workqueue: tipc_send tipc_send_work
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x138/0x19c lib/dump_stack.c:53
panic+0x1f2/0x438 kernel/panic.c:182
__warn.cold+0x2f/0x34 kernel/panic.c:546
report_bug+0x216/0x254 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:944
RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
RSP: 0018:ffff8880a9cd79d8 EFLAGS: 00010286
RAX: 0000000000000063 RBX: 0000000000000005 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff866d0860 RDI: ffffed101539af31
RBP: ffff8880a9cd7a00 R08: 0000000000000063 R09: ffff8880a9cc2a30
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff866cba60
R13: ffff8880a04e5030 R14: 0000000000000000 R15: ffff8880a04e5018
Reply all
Reply to author
Forward
0 new messages