syzbot


WARNING: locking bug in finish_task_switch

Status: auto-obsoleted due to no activity on 2023/05/29 00:22
Subsystems: bluetooth net
[Documentation on labels]
Reported-by: syzbot+edec84a8b77e5a0cae31@syzkaller.appspotmail.com
First crash: 1528d, last: 415d
Cause bisection: introduced by (bisect log) :
commit 7152c88e556bcbee525689063c260cd296f295a8
Author: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Date: Tue Oct 18 19:44:11 2016 +0000

  [media] c8sectpfe: don't break long lines

Crash: WARNING in nf_unregister_net_hook (log)
Repro: C syz .config
  
Fix bisection the fix commit could be any of (bisect log):
  caffb99b6929 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
  9e9fb7655ed5 Merge tag 'net-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
  
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING: locking bug in finish_lock_switch bluetooth C done error 5 1395d 1475d 0/26 closed as dup on 2021/01/20 04:57
Discussions (1)
Title Replies (including bot) Last reply
WARNING: locking bug in finish_task_switch 0 (1) 2020/01/13 19:34
Last patch testing requests (10)
Created Duration User Patch Repo Result
2023/05/09 01:52 28m retest repro linux-next OK log
2023/05/09 01:52 28m retest repro linux-next OK log
2023/05/09 00:26 28m retest repro linux-next OK log
2023/05/09 00:26 28m retest repro linux-next OK log
2023/05/09 00:26 29m retest repro upstream OK log
2023/05/09 00:26 28m retest repro upstream OK log
2023/05/09 00:26 28m retest repro linux-next OK log
2022/10/12 11:30 17m retest repro linux-next error OK
2022/10/11 23:30 18m retest repro linux-next error OK
2022/10/11 18:30 17m retest repro linux-next error OK
Fix bisection attempts (15)
Created Duration User Patch Repo Result
2021/09/01 15:06 22m bisect fix upstream job log (2)
2021/08/02 06:35 18m bisect fix upstream job log (0) log
2021/07/02 01:05 19m bisect fix upstream job log (0) log
2021/06/01 10:08 21m bisect fix upstream job log (0) log
2021/05/02 09:35 20m bisect fix upstream job log (0) log
2021/04/02 03:42 20m bisect fix upstream job log (0) log
2021/03/01 16:41 27m bisect fix upstream job log (0) log
2021/02/15 14:23 0m bisect fix upstream error job log (0)
2021/01/16 13:56 26m bisect fix upstream job log (0) log
2020/12/17 00:14 25m bisect fix upstream job log (0) log
2020/11/11 03:34 18m bisect fix upstream job log (0) log
2020/10/12 02:18 19m bisect fix upstream job log (0) log
2020/09/11 16:23 18m bisect fix upstream job log (0) log
2020/08/10 17:18 18m bisect fix upstream job log (0) log
2020/07/10 23:01 21m bisect fix upstream job log (0) log

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(1)
WARNING: CPU: 0 PID: 16583 at kernel/locking/lockdep.c:183 hlock_class kernel/locking/lockdep.c:183 [inline]
WARNING: CPU: 0 PID: 16583 at kernel/locking/lockdep.c:183 hlock_class kernel/locking/lockdep.c:172 [inline]
WARNING: CPU: 0 PID: 16583 at kernel/locking/lockdep.c:183 check_wait_context kernel/locking/lockdep.c:4054 [inline]
WARNING: CPU: 0 PID: 16583 at kernel/locking/lockdep.c:183 __lock_acquire+0x1a51/0x4c50 kernel/locking/lockdep.c:4305
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 16583 Comm: syz-executor246 Not tainted 5.7.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x188/0x20d lib/dump_stack.c:118
 panic+0x2e3/0x75c kernel/panic.c:221
 __warn.cold+0x2f/0x35 kernel/panic.c:582
 report_bug+0x27b/0x2f0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:175 [inline]
 fixup_bug arch/x86/kernel/traps.c:170 [inline]
 do_error_trap+0x12b/0x220 arch/x86/kernel/traps.c:267
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:hlock_class kernel/locking/lockdep.c:183 [inline]
RIP: 0010:hlock_class kernel/locking/lockdep.c:172 [inline]
RIP: 0010:check_wait_context kernel/locking/lockdep.c:4054 [inline]
RIP: 0010:__lock_acquire+0x1a51/0x4c50 kernel/locking/lockdep.c:4305
Code: 90 ca 89 8a e8 10 d6 57 00 8b 0d da 8a 30 09 85 c9 0f 85 7e ed ff ff 48 c7 c6 40 98 2b 88 48 c7 c7 c0 97 2b 88 e8 37 2f eb ff <0f> 0b 31 d2 e9 6f ec ff ff 8b 94 24 58 01 00 00 85 d2 0f 84 6f 03
RSP: 0018:ffffc9000816f610 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000000000
RDX: 0000000040000000 RSI: ffffffff815ce7f1 RDI: fffff5200102deb4
RBP: 000000000000062b R08: ffff88809f3c2040 R09: fffffbfff13366fd
R10: ffffffff899b37e3 R11: fffffbfff13366fc R12: ffff88809f3c2040
R13: 000000000000002b R14: 0000000000000001 R15: dffffc0000000000
 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934
 finish_lock_switch kernel/sched/core.c:3105 [inline]
 finish_task_switch+0x13f/0x750 kernel/sched/core.c:3206
 context_switch kernel/sched/core.c:3370 [inline]
 __schedule+0x93f/0x1ff0 kernel/sched/core.c:4083
 preempt_schedule_irq+0xb0/0x150 kernel/sched/core.c:4341
 retint_kernel+0x1b/0x2b
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:759 [inline]
RIP: 0010:lock_acquire+0x267/0x8f0 kernel/locking/lockdep.c:4937
Code: 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 c6 05 00 00 48 83 3d c5 36 3b 08 00 0f 84 65 04 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df 48 03 44 24 08 48 c7
RSP: 0018:ffffc9000816fa70 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff132980c RBX: ffff88809f3c2040 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: ffffffff8c336c98 RDI: 0000000000000282
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff8c468417 R11: fffffbfff188d082 R12: 0000000000000000
R13: ffff888095e6d138 R14: 0000000000000000 R15: 0000000000000000
 flush_workqueue+0x11f/0x14f0 kernel/workqueue.c:2779
 hci_dev_open+0xdb/0x280 net/bluetooth/hci_core.c:1651
 hci_sock_bind+0x427/0x1140 net/bluetooth/hci_sock.c:1200
 __sys_bind+0x20e/0x250 net/socket.c:1662
 __do_sys_bind net/socket.c:1673 [inline]
 __se_sys_bind net/socket.c:1671 [inline]
 __x64_sys_bind+0x6f/0xb0 net/socket.c:1671
 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295
 entry_SYSCALL_64_after_hwframe+0x49/0xb3
RIP: 0033:0x446ca9
Code: e8 dc e6 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 2b 06 fc ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f45bde1edb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: ffffffffffffffda RBX: 00000000006dcc28 RCX: 0000000000446ca9
RDX: 0000000000000006 RSI: 0000000020000080 RDI: 0000000000000004
RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc2c
R13: 00007ffc436c210f R14: 00007f45bde1f9c0 R15: 20c49ba5e353f7cf
Shutting down cpus with NMI
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (131):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/24 21:32 upstream caffb99b6929 bd28eb9d .config console log report syz C ci-upstream-kasan-gce-root
2020/05/24 19:53 upstream caffb99b6929 bd28eb9d .config console log report syz C ci-upstream-kasan-gce-selinux-root
2020/05/21 07:41 linux-next ac935d227366 c61086ab .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/05/18 10:18 linux-next ac935d227366 37bccd4e .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/03/17 18:29 linux-next 770fbb32d34e 749688d2 .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2020/01/12 00:12 linux-next 6c09d7dbb7d3 4c04afaa .config console log report syz C ci-upstream-linux-next-kasan-gce-root
2023/01/29 00:22 bpf-next 16809afdcbad 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/28 22:56 bpf-next 16809afdcbad 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/28 21:03 bpf-next 16809afdcbad 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/28 11:06 bpf-next d8285883fd41 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/28 00:38 bpf-next d8285883fd41 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/27 23:26 bpf-next d8285883fd41 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/27 19:51 bpf-next a5f3a3f7c172 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/27 15:10 bpf-next a5f3a3f7c172 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/27 12:10 bpf-next a5f3a3f7c172 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/26 22:11 bpf-next 0164776a2ce7 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/26 21:29 bpf-next 0164776a2ce7 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/26 14:16 bpf-next 0164776a2ce7 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/26 12:43 bpf-next 0164776a2ce7 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/26 07:27 bpf-next 0164776a2ce7 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/25 16:52 bpf-next b613d335a743 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/25 12:06 bpf-next 0eb9d19e2201 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/25 11:03 bpf-next 0eb9d19e2201 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/25 05:53 bpf-next 0eb9d19e2201 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/25 01:36 bpf-next 0eb9d19e2201 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/24 18:02 bpf-next ea403bb7b315 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/24 15:54 bpf-next ea403bb7b315 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/24 14:44 bpf-next ea403bb7b315 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/24 13:27 bpf-next ea403bb7b315 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/23 22:26 bpf-next 74d23931f409 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/23 20:56 bpf-next 74d23931f409 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/23 20:10 bpf-next 74d23931f409 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/23 17:39 bpf-next 84150795a49a 9dfcf09c .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/23 13:15 bpf-next 84150795a49a 44388686 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/23 09:48 bpf-next 84150795a49a 44388686 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/23 07:03 bpf-next 84150795a49a 44388686 .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/23 03:19 bpf-next 84150795a49a 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/22 13:55 bpf-next 84150795a49a 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/22 05:02 bpf-next 84150795a49a 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/21 03:48 bpf-next 84150795a49a 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/20 19:02 bpf-next 00b8f39f1d15 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/20 16:48 bpf-next 00b8f39f1d15 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/20 08:42 bpf-next 00b8f39f1d15 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/20 06:14 bpf-next 00b8f39f1d15 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/20 03:25 bpf-next 00b8f39f1d15 559a440a .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/19 21:36 bpf-next 92afc5329a5b 1b826a2f .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/19 15:33 bpf-next 92afc5329a5b 1b826a2f .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/19 11:58 bpf-next 92afc5329a5b 1b826a2f .config console log report info ci-upstream-bpf-next-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/11 18:27 net-next-old 60d86034b14e 96166539 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING: locking bug in finish_task_switch
2023/01/14 16:48 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING: locking bug in finish_task_switch
2020/05/18 06:50 upstream b9bbe6ed63b2 37bccd4e .config console log report ci-upstream-kasan-gce-root
2020/03/07 08:59 upstream fb279f4e2386 fd2a5f28 .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.