INFO: task syz-executor.2:7198 blocked for more than 143 seconds. Not tainted 5.19.0-rc3-syzkaller-00279-g8c23f235a6a8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27328 pid: 7198 ppid: 1 flags:0x00004000 Call Trace: 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:0x7f24c5488ec7 RSP: 002b:00007fff3f3276e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fff3f327da8 RCX: 00007f24c5488ec7 RDX: 0000000000000005 RSI: 00000000400448c9 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007f24c4bff700 R09: 00007f24c4bff700 R10: 00007f24c4bff9d0 R11: 0000000000000246 R12: 0000000000000003 R13: 00007fff3f327840 R14: 00007f24c559c9b8 R15: 000000000000000c INFO: task kworker/u5:0:7199 blocked for more than 143 seconds. Not tainted 5.19.0-rc3-syzkaller-00279-g8c23f235a6a8 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u5:0 state:D stack:27360 pid: 7199 ppid: 2 flags:0x00004000 Workqueue: hci5 hci_power_on Call Trace: 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 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/3284: #0: ffff888017f1e098 (&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:1/3621: #0: ffff88807ab77138 ((wq_completion)hci4){+.+.}-{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: ffff88805a00d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:551 [inline] #2: ffff88805a00d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x2d8/0x650 net/bluetooth/hci_core.c:981 3 locks held by kworker/u5:0/7199: #0: ffff88807bb87138 ((wq_completion)hci5){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90002f0fd00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff88805ae7d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:551 [inline] #2: ffff88805ae7d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x2d8/0x650 net/bluetooth/hci_core.c:981 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc3-syzkaller-00279-g8c23f235a6a8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __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 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14372 Comm: kworker/u4:24 Not tainted 5.19.0-rc3-syzkaller-00279-g8c23f235a6a8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: 0x0 (events_unbound) RIP: 0010:check_preemption_disabled+0x27/0x120 lib/smp_processor_id.c:16 Code: 8a eb 00 41 57 41 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d 70 0f d7 75 65 8b 05 e1 64 d7 75 ff ff ff 7f 74 22 65 48 8b 04 25 28 00 00 00 48 3b 44 24 08 0f RSP: 0018:ffffc9000c4b7228 EFLAGS: 00000086 RAX: 0000000080000003 RBX: 0000000000000001 RCX: ffff88807a6abb00 RDX: 0000000000000000 RSI: ffffffff8ae990a0 RDI: ffffffff8ae99060 RBP: ffffc9000c4b7310 R08: dffffc0000000000 R09: fffffbfff1c0709e R10: fffffbfff1c0709e R11: 1ffffffff1c0709d R12: 0000000000000001 R13: 00000000000003f6 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0012ff000 CR3: 000000000c88e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:341 [inline] rcu_is_watching+0x11/0xa0 kernel/rcu/tree.c:1138 rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x6b/0x130 kernel/rcu/update.c:123 trace_sched_cpu_capacity_tp+0x78/0x190 include/trace/events/sched.h:718 update_cpu_capacity kernel/sched/fair.c:8380 [inline] update_group_capacity+0x466/0x7b0 kernel/sched/fair.c:8399 update_sd_lb_stats kernel/sched/fair.c:9250 [inline] find_busiest_group kernel/sched/fair.c:9503 [inline] load_balance+0xc57/0x66e0 kernel/sched/fair.c:9891 newidle_balance+0x679/0xfb0 kernel/sched/fair.c:10939 pick_next_task_fair+0x2a4/0x9f0 kernel/sched/fair.c:7356 __pick_next_task kernel/sched/core.c:5768 [inline] pick_next_task+0xf1/0x1e40 kernel/sched/core.c:5843 __schedule+0x538/0xe20 kernel/sched/core.c:6422 schedule+0xeb/0x1b0 kernel/sched/core.c:6530 worker_thread+0xfbf/0x1330 kernel/workqueue.c:2457 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 8a eb mov %bl,%ch 2: 00 41 57 add %al,0x57(%rcx) 5: 41 56 push %r14 7: 41 54 push %r12 9: 53 push %rbx a: 48 83 ec 10 sub $0x10,%rsp e: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 15: 00 00 17: 48 89 44 24 08 mov %rax,0x8(%rsp) 1c: 65 8b 1d 70 0f d7 75 mov %gs:0x75d70f70(%rip),%ebx # 0x75d70f93 23: 65 8b 05 e1 64 d7 75 mov %gs:0x75d764e1(%rip),%eax # 0x75d7650b * 2a: a9 ff ff ff 7f test $0x7fffffff,%eax <-- trapping instruction 2f: 74 22 je 0x53 31: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 38: 00 00 3a: 48 3b 44 24 08 cmp 0x8(%rsp),%rax 3f: 0f .byte 0xf