WARNING: ODEBUG bug in pppol2tp_release

5 views
Skip to first unread message

syzbot

unread,
Apr 10, 2021, 5:21:19 AM4/10/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 0cc24401 Linux 4.14.229
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1792db6ed00000
kernel config: https://syzkaller.appspot.com/x/.config?x=51785e7f450b788d
dashboard link: https://syzkaller.appspot.com/bug?extid=5f4eae1a76c7c99bd2ad

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

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5f4eae...@syzkaller.appspotmail.com

ODEBUG: activate active (active state 1) object type: rcu_head hint: (null)
------------[ cut here ]------------
WARNING: CPU: 1 PID: 23435 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: 23435 Comm: syz-executor.0 Not tainted 4.14.229-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x281 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x44 kernel/panic.c:547
report_bug+0x208/0x250 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+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
RSP: 0018:ffff8880408afc40 EFLAGS: 00010082
RAX: 0000000000000055 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bbbc0 RDI: ffffed1008115f7e
RBP: ffffffff878b0d40 R08: 0000000000000055 R09: 0000000000000000
R10: 0000000000000000 R11: ffff888049644440 R12: 0000000000000000
R13: 0000000000000001 R14: 1ffff11008115f91 R15: ffff8880408afd08
debug_object_activate+0x2f3/0x490 lib/debugobjects.c:446
debug_rcu_head_queue kernel/rcu/rcu.h:152 [inline]
__call_rcu.constprop.0+0x31/0x7d0 kernel/rcu/tree.c:3050
pppol2tp_release+0x263/0x3b0 net/l2tp/l2tp_ppp.c:515
__sock_release+0xcd/0x2b0 net/socket.c:602
sock_close+0x15/0x20 net/socket.c:1139
__fput+0x25f/0x7a0 fs/file_table.c:210
task_work_run+0x11f/0x190 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:191 [inline]
exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x41926b
RSP: 002b:00007ffc3d4cef40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 000000000041926b
RDX: ffffffffffffffbc RSI: 0000000000000080 RDI: 0000000000000006
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000570db0
R10: 00007ffc3d4cf030 R11: 0000000000000293 R12: 00000000000593e2
R13: 00000000000003e8 R14: 000000000056bf60 R15: 00000000000593c3

======================================================


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

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

syzbot

unread,
Apr 10, 2021, 6:15:24 AM4/10/21
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 0cc24401 Linux 4.14.229
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=178d9381d00000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13992a19d00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5f4eae...@syzkaller.appspotmail.com

ODEBUG: activate active (active state 1) object type: rcu_head hint: (null)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2086 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: 2086 Comm: syz-executor.4 Not tainted 4.14.229-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x281 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x44 kernel/panic.c:547
report_bug+0x208/0x250 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+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:debug_print_object.cold+0xa7/0xdb lib/debugobjects.c:287
RSP: 0018:ffff88808939f9c0 EFLAGS: 00010086
RAX: 0000000000000055 RBX: 0000000000000003 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff878bbbc0 RDI: ffffed1011273f2e
RBP: ffffffff878b0d40 R08: 0000000000000055 R09: 0000000000000000
R10: 0000000000000000 R11: ffff8880a097e240 R12: 0000000000000000
R13: 0000000000000001 R14: 1ffff11011273f41 R15: ffff88808939fa88
debug_object_activate+0x2f3/0x490 lib/debugobjects.c:446
debug_rcu_head_queue kernel/rcu/rcu.h:152 [inline]
__call_rcu.constprop.0+0x31/0x7d0 kernel/rcu/tree.c:3050
pppol2tp_release+0x263/0x3b0 net/l2tp/l2tp_ppp.c:515
__sock_release+0xcd/0x2b0 net/socket.c:602
sock_close+0x15/0x20 net/socket.c:1139
__fput+0x25f/0x7a0 fs/file_table.c:210
task_work_run+0x11f/0x190 kernel/task_work.c:113
get_signal+0x18a3/0x1ca0 kernel/signal.c:2234
do_signal+0x7c/0x1550 arch/x86/kernel/signal.c:792
exit_to_usermode_loop+0x160/0x200 arch/x86/entry/common.c:160
prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x466459
RSP: 002b:00007f93b1c34188 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: 0000000000000000 RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000032 RSI: 0000000020000140 RDI: 0000000000000005
RBP: 00000000004bf9fb R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60
R13: 00007ffc00e9fd7f R14: 00007f93b1c34300 R15: 0000000000022000

======================================================

Reply all
Reply to author
Forward
0 new messages