syzbot


WARNING: locking bug in sco_sock_timeout
Status: upstream: reported on 2021/09/17 18:07
Reported-by: syzbot+91ba852bd0ad0581a0e3@syzkaller.appspotmail.com
First crash: 271d, last: 29d

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 3 PID: 9141 at kernel/locking/lockdep.c:203 hlock_class kernel/locking/lockdep.c:203 [inline]
WARNING: CPU: 3 PID: 9141 at kernel/locking/lockdep.c:203 hlock_class kernel/locking/lockdep.c:192 [inline]
WARNING: CPU: 3 PID: 9141 at kernel/locking/lockdep.c:203 check_wait_context kernel/locking/lockdep.c:4700 [inline]
WARNING: CPU: 3 PID: 9141 at kernel/locking/lockdep.c:203 __lock_acquire+0x1352/0x56c0 kernel/locking/lockdep.c:4977
Modules linked in:
CPU: 3 PID: 9141 Comm: kworker/3:12 Not tainted 5.17.0-rc8-syzkaller-00061-g34e047aa16c0 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Workqueue: events sco_sock_timeout
RIP: 0010:hlock_class kernel/locking/lockdep.c:203 [inline]
RIP: 0010:hlock_class kernel/locking/lockdep.c:192 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4700 [inline]
RIP: 0010:__lock_acquire+0x1352/0x56c0 kernel/locking/lockdep.c:4977
Code: 08 84 d2 0f 85 06 42 00 00 8b 35 d1 26 37 0c 85 f6 0f 85 f4 fd ff ff 48 c7 c6 20 72 ac 89 48 c7 c7 e0 65 ac 89 e8 00 e2 aa 07 <0f> 0b 31 ed e9 ae f0 ff ff e8 80 ed 7e 02 85 c0 0f 84 12 fe ff ff
RSP: 0018:ffffc900229f7a80 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffff88801aa7a760 RCX: 0000000000000000
RDX: ffff88801aa79d00 RSI: ffffffff815ff5a8 RDI: fffff5200453ef42
RBP: 0000000000001dee R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815f9c3e R11: 0000000000000000 R12: ffff88801aa7a7b0
R13: ffff88801aa79d00 R14: ffff888053850130 R15: 0000000000040000
FS:  0000000000000000(0000) GS:ffff88802cd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000f7091024 CR3: 0000000054a95000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 lock_acquire kernel/locking/lockdep.c:5639 [inline]
 lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5604
 lock_sock_nested+0x36/0xf0 net/core/sock.c:3296
 lock_sock include/net/sock.h:1668 [inline]
 sco_sock_timeout+0xd2/0x290 net/bluetooth/sco.c:97
 process_one_work+0x9ac/0x1650 kernel/workqueue.c:2307
 worker_thread+0x657/0x1110 kernel/workqueue.c:2454
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Crashes (13):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-qemu-upstream-386 2022/03/18 20:21 upstream 34e047aa16c0 e2d91b1d .config log report info WARNING: locking bug in sco_sock_timeout
ci-qemu-upstream-386 2022/01/14 04:14 upstream 147cc5838c0f b8d780ab .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-net-this-kasan-gce 2022/04/29 13:33 net 249aca0d3d63 e9076525 .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-net-this-kasan-gce 2022/01/15 02:03 net fb80445c438c 53e00b45 .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-net-this-kasan-gce 2021/09/13 05:22 net f11ee2ad25b2 5ae8508a .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/12/08 13:45 net-next 150791442e7c a4a2a501 .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/11/28 15:34 net-next d40ce48cb3a6 63eeac02 .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/11/20 19:43 net-next 520fbdf7fb19 4eb20a4e .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/11/14 22:17 net-next 1274a4eb318d 83f5c9b5 .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/10/24 19:57 net-next 4d98bb0d7ec2 282f03fb .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/09/26 00:02 net-next 24aa160d5375 8cac236e .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-linux-next-kasan-gce-root 2022/02/13 16:49 linux-next ef6b35306dd8 8b9ca619 .config log report info WARNING: locking bug in sco_sock_timeout
ci-upstream-linux-next-kasan-gce-root 2021/08/30 16:32 linux-next 93717cde744f 8f58a0ef .config log report info WARNING: locking bug in sco_sock_timeout