Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [bluetooth?] BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | 1 (4) | 2024/07/11 11:53 |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] [bluetooth?] BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | 1 (4) | 2024/07/11 11:53 |
Created | Duration | User | Patch | Repo | Result |
---|---|---|---|---|---|
2024/08/19 03:42 | 1h19m | retest repro | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | OK log | |
2024/07/11 11:10 | 26m | hdanton@sina.com | patch | https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | OK log |
BUG: workqueue leaked atomic, lock or RCU: kworker/u9:0[52] preempt=0x00000000 lock=0->1 RCU=0->0 workfn=hci_rx_work 1 lock held by kworker/u9:0/52: #0: ffff0000d9876518 (&chan->lock/1){+.+.}-{3:3}, at: l2cap_chan_lock include/net/bluetooth/l2cap.h:827 [inline] #0: ffff0000d9876518 (&chan->lock/1){+.+.}-{3:3}, at: l2cap_conless_channel net/bluetooth/l2cap_core.c:6764 [inline] #0: ffff0000d9876518 (&chan->lock/1){+.+.}-{3:3}, at: l2cap_recv_frame+0x610/0xc934 net/bluetooth/l2cap_core.c:6830 CPU: 1 PID: 52 Comm: kworker/u9:0 Not tainted 6.10.0-rc7-syzkaller-gef445d1539dd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: hci0 hci_rx_work Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 process_one_work+0xdc0/0x15b8 kernel/workqueue.c:3269 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x938/0xecc kernel/workqueue.c:3409 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 ====================================================== WARNING: possible circular locking dependency detected 6.10.0-rc7-syzkaller-gef445d1539dd #0 Not tainted ------------------------------------------------------ kworker/u9:0/52 is trying to acquire lock: ffff0000d385e948 ((wq_completion)hci0#2){+.+.}-{0:0}, at: process_one_work+0x624/0x15b8 kernel/workqueue.c:3222 but task is already holding lock: ffff0000d9876518 (&chan->lock/1){+.+.}-{3:3}, at: l2cap_chan_lock include/net/bluetooth/l2cap.h:827 [inline] ffff0000d9876518 (&chan->lock/1){+.+.}-{3:3}, at: l2cap_conless_channel net/bluetooth/l2cap_core.c:6764 [inline] ffff0000d9876518 (&chan->lock/1){+.+.}-{3:3}, at: l2cap_recv_frame+0x610/0xc934 net/bluetooth/l2cap_core.c:6830 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (&chan->lock/1){+.+.}-{3:3}: __lock_release kernel/locking/lockdep.c:5468 [inline] lock_release+0x334/0x9b8 kernel/locking/lockdep.c:5774 process_one_work+0x8a0/0x15b8 kernel/workqueue.c:3255 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x938/0xecc kernel/workqueue.c:3409 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 -> #0 ((wq_completion)hci0#2){+.+.}-{0:0}: check_prev_add kernel/locking/lockdep.c:3134 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain kernel/locking/lockdep.c:3869 [inline] __lock_acquire+0x3384/0x763c kernel/locking/lockdep.c:5137 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5754 process_one_work+0x668/0x15b8 kernel/workqueue.c:3223 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x938/0xecc kernel/workqueue.c:3409 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&chan->lock/1); lock((wq_completion)hci0#2); lock(&chan->lock/1); lock((wq_completion)hci0#2); *** DEADLOCK *** 1 lock held by kworker/u9:0/52: #0: ffff0000d9876518 (&chan->lock/1){+.+.}-{3:3}, at: l2cap_chan_lock include/net/bluetooth/l2cap.h:827 [inline] #0: ffff0000d9876518 (&chan->lock/1){+.+.}-{3:3}, at: l2cap_conless_channel net/bluetooth/l2cap_core.c:6764 [inline] #0: ffff0000d9876518 (&chan->lock/1){+.+.}-{3:3}, at: l2cap_recv_frame+0x610/0xc934 net/bluetooth/l2cap_core.c:6830 stack backtrace: CPU: 1 PID: 52 Comm: kworker/u9:0 Not tainted 6.10.0-rc7-syzkaller-gef445d1539dd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: hci0 hci_cmd_timeout Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 print_circular_bug+0x150/0x1b8 kernel/locking/lockdep.c:2060 check_noncircular+0x310/0x404 kernel/locking/lockdep.c:2187 check_prev_add kernel/locking/lockdep.c:3134 [inline] check_prevs_add kernel/locking/lockdep.c:3253 [inline] validate_chain kernel/locking/lockdep.c:3869 [inline] __lock_acquire+0x3384/0x763c kernel/locking/lockdep.c:5137 lock_acquire+0x240/0x728 kernel/locking/lockdep.c:5754 process_one_work+0x668/0x15b8 kernel/workqueue.c:3223 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x938/0xecc kernel/workqueue.c:3409 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Bluetooth: hci0: command tx timeout BUG: workqueue leaked atomic, lock or RCU: kworker/u9:0[52] preempt=0x00000000 lock=1->0 RCU=0->0 workfn=hci_cmd_timeout INFO: lockdep is turned off. CPU: 1 PID: 52 Comm: kworker/u9:0 Not tainted 6.10.0-rc7-syzkaller-gef445d1539dd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: hci0 hci_cmd_timeout Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:317 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:324 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:114 dump_stack+0x1c/0x28 lib/dump_stack.c:123 process_one_work+0xdc0/0x15b8 kernel/workqueue.c:3269 process_scheduled_works kernel/workqueue.c:3329 [inline] worker_thread+0x938/0xecc kernel/workqueue.c:3409 kthread+0x288/0x310 kernel/kthread.c:389 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860 Bluetooth: hci0: command tx timeout Bluetooth: hci0: command tx timeout Bluetooth: hci0: command tx timeout
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024/07/10 23:44 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | ef445d1539dd | e7213be3 | .config | console log | report | syz / log | C | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | |
2024/08/04 22:47 | upstream | a5dbd76a8942 | 1786a2a8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/08/04 22:46 | upstream | a5dbd76a8942 | 1786a2a8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/08/03 11:30 | upstream | 17712b7ea075 | 53683cf2 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/30 01:56 | upstream | 94ede2a3e913 | 5187fc86 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/24 20:16 | upstream | 786c8248dbd3 | b24754ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/24 20:16 | upstream | 786c8248dbd3 | b24754ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/24 18:59 | upstream | 786c8248dbd3 | b24754ac | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/23 15:40 | upstream | 66ebbdfdeb09 | 708c10c4 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/21 13:48 | upstream | 2c9b3512402e | b88348e9 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-badwrites-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/07 17:02 | upstream | c6653f49e4fd | bc4ebbb5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/07 17:00 | upstream | c6653f49e4fd | bc4ebbb5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/07 16:59 | upstream | c6653f49e4fd | bc4ebbb5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/18 08:50 | linux-next | 73399b58e5e5 | 03114f55 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/16 11:21 | linux-next | 4f40be61af99 | b66b37bd | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/06/28 08:27 | linux-next | 642a16ca7994 | b62c7d46 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-linux-next-kasan-gce-root | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/08/05 02:26 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | c912bf709078 | 1786a2a8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/08/03 20:50 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | c912bf709078 | 1786a2a8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/08/02 05:55 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | c912bf709078 | 1e9c4cf3 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/09 07:50 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 1a6f53de2eb9 | bc23a442 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/09 06:24 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 1a6f53de2eb9 | bc23a442 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/09 06:24 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 1a6f53de2eb9 | bc23a442 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/09 05:31 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 1a6f53de2eb9 | bc23a442 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/09 05:31 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 1a6f53de2eb9 | bc23a442 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/08 23:26 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 1a6f53de2eb9 | cde64f7d | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/08 23:26 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 1a6f53de2eb9 | cde64f7d | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/08 23:26 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 1a6f53de2eb9 | cde64f7d | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] | ||
2024/07/08 23:26 | git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci | 1a6f53de2eb9 | cde64f7d | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-gce-arm64 | BUG: workqueue leaked atomic, lock or RCU: kworker/u9:NUM[NUM] |