WARNING: locking bug in l2cap_sock_teardown_cb (2)

6 views
Skip to first unread message

syzbot

unread,
Sep 11, 2021, 1:11:28 PM9/11/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: b172b44fcb17 Linux 4.19.206
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11eda295300000
kernel config: https://syzkaller.appspot.com/x/.config?x=b9ba3521ce0be3cd
dashboard link: https://syzkaller.appspot.com/bug?extid=bd7ad758c584083eec7c
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

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+bd7ad7...@syzkaller.appspotmail.com

------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(class_idx > MAX_LOCKDEP_KEYS)
WARNING: CPU: 0 PID: 29378 at kernel/locking/lockdep.c:3393 __lock_acquire+0x1221/0x3ff0 kernel/locking/lockdep.c:3393
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 29378 Comm: kworker/0:1 Not tainted 4.19.206-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events l2cap_chan_timeout
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:__lock_acquire+0x1221/0x3ff0 kernel/locking/lockdep.c:3393
Code: d2 0f 85 2d 1f 00 00 44 8b 3d fb ce eb 0b 45 85 ff 0f 85 78 ef ff ff 48 c7 c6 e0 43 6a 88 48 c7 c7 40 19 6a 88 e8 bf 76 a7 06 <0f> 0b e9 61 ef ff ff 8b 05 f2 0e d9 0b 85 c0 0f 85 4e f9 ff ff 4c
RSP: 0018:ffff88804ab5f930 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814e0d61 RDI: ffffed100956bf18
RBP: ffff88804f3b0e0a R08: 0000000000000000 R09: 00000000000050f7
R10: 0000000000000006 R11: ffffffff8c66401b R12: 00000000000402b9
R13: ffff88804f3b04c0 R14: ffff88804f3b0e00 R15: 0000000000000000
lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline]
_raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:168
spin_lock_bh include/linux/spinlock.h:334 [inline]
lock_sock_nested+0x3b/0x110 net/core/sock.c:2864
l2cap_sock_teardown_cb+0xa0/0x6d0 net/bluetooth/l2cap_sock.c:1348
l2cap_chan_del+0xbc/0xa50 net/bluetooth/l2cap_core.c:603
l2cap_chan_close+0x1b5/0x950 net/bluetooth/l2cap_core.c:761
l2cap_chan_timeout+0x17e/0x2f0 net/bluetooth/l2cap_core.c:430
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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,
Jan 9, 2022, 12:11:15 PM1/9/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages