INFO: task syz-executor.2:27672 blocked for more than 143 seconds.
Not tainted 5.19.0-rc4-syzkaller-00036-gd9b2ba67917c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:26936 pid:27672 ppid: 1 flags:0x00004000
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6458
schedule+0xeb/0x1b0 kernel/sched/core.c:6530
schedule_timeout+0xac/0x300 kernel/time/timer.c:1911
do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
__flush_workqueue+0x76a/0x16a0 kernel/workqueue.c:2861
hci_dev_open+0x136/0x2a0 net/bluetooth/hci_core.c:526
sock_do_ioctl+0x151/0x450 net/socket.c:1169
sock_ioctl+0x481/0x770 net/socket.c:1286
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f7e38488ec7
RSP: 002b:00007ffce5990588 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffce5990c48 RCX: 00007f7e38488ec7
RDX: 0000000000000002 RSI: 00000000400448c9 RDI: 0000000000000003
RBP: 0000000000000003 R08: 00007f7e37bff700 R09: 00007f7e37bff700
R10: 00007f7e37bff9d0 R11: 0000000000000246 R12: 0000000000000003
R13: 00007ffce59906e0 R14: 00007f7e3859c9b8 R15: 000000000000000c
</TASK>
INFO: task kworker/u5:0:27680 blocked for more than 143 seconds.
Not tainted 5.19.0-rc4-syzkaller-00036-gd9b2ba67917c #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u5:0 state:D stack:27360 pid:27680 ppid: 2 flags:0x00004000
Workqueue: hci2 hci_power_on
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0x957/0xe20 kernel/sched/core.c:6458
schedule+0xeb/0x1b0 kernel/sched/core.c:6530
schedule_timeout+0xac/0x300 kernel/time/timer.c:1911
do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
__flush_work kernel/workqueue.c:3075 [inline]
__cancel_work_timer+0x585/0x740 kernel/workqueue.c:3162
hci_dev_close_sync+0x31/0xcc0 net/bluetooth/hci_sync.c:4091
hci_dev_do_close net/bluetooth/hci_core.c:553 [inline]
hci_power_on+0x2e1/0x650 net/bluetooth/hci_core.c:981
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
</TASK>
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8cb1e820 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3286:
#0: ffff888026779098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d162e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124
3 locks held by kworker/u5:8/3644:
#0: ffff88807834d938 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc900031ffd00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffff888077449048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:551 [inline]
#2: ffff888077449048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x2d8/0x650 net/bluetooth/hci_core.c:981
3 locks held by kworker/u4:12/5377:
3 locks held by kworker/u5:0/27680:
#0: ffff888079905938 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262
#1: ffffc90002e1fd00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264
#2: ffff8880264c1048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:551 [inline]
#2: ffff8880264c1048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x2d8/0x650 net/bluetooth/hci_core.c:981
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc4-syzkaller-00036-gd9b2ba67917c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xcf9/0xd40 kernel/hung_task.c:369
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 25141 Comm: kworker/0:30 Not tainted 5.19.0-rc4-syzkaller-00036-gd9b2ba67917c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_power_efficient wg_ratelimiter_gc_entries
RIP: 0010:arch_irqs_disabled_flags arch/x86/include/asm/irqflags.h:125 [inline]
RIP: 0010:lock_acquire+0x174/0x400 kernel/locking/lockdep.c:5666
Code: 08 4c 89 ff e8 fd aa 72 00 48 8d 5c 24 60 4c 8b bc 24 80 00 00 00 fa 48 c7 c7 a0 2f 8d 8a e8 73 7d c3 08 65 ff 05 cc ba 9a 7e <45> 31 c9 41 f7 c7 00 02 00 00 41 0f 94 c1 4c 89 f7 8b 74 24 24 8b
RSP: 0018:ffffc900045e7a60 EFLAGS: 00000002
RAX: 0000000000000000 RBX: ffffc900045e7ac0 RCX: 0000000080000002
RDX: 0000000000000000 RSI: ffffffff8a8d2fa0 RDI: ffffffff8ae996c0
RBP: ffffc900045e7bc0 R08: dffffc0000000000 R09: fffffbfff1c071de
R10: fffffbfff1c071de R11: 1ffffffff1c071dd R12: dffffc0000000000
R13: 1ffff920008bcf54 R14: ffffffff8d41ae58 R15: 0000000000000246
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c006f6b000 CR3: 000000007e0de000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:349 [inline]
wg_ratelimiter_gc_entries+0x5c/0x4a0 drivers/net/wireguard/ratelimiter.c:63
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
</TASK>
----------------
Code disassembly (best guess):
0: 08 4c 89 ff or %cl,-0x1(%rcx,%rcx,4)
4: e8 fd aa 72 00 callq 0x72ab06
9: 48 8d 5c 24 60 lea 0x60(%rsp),%rbx
e: 4c 8b bc 24 80 00 00 mov 0x80(%rsp),%r15
15: 00
16: fa cli
17: 48 c7 c7 a0 2f 8d 8a mov $0xffffffff8a8d2fa0,%rdi
1e: e8 73 7d c3 08 callq 0x8c37d96
23: 65 ff 05 cc ba 9a 7e incl %gs:0x7e9abacc(%rip) # 0x7e9abaf6
* 2a: 45 31 c9 xor %r9d,%r9d <-- trapping instruction
2d: 41 f7 c7 00 02 00 00 test $0x200,%r15d
34: 41 0f 94 c1 sete %r9b
38: 4c 89 f7 mov %r14,%rdi
3b: 8b 74 24 24 mov 0x24(%rsp),%esi
3f: 8b .byte 0x8b