INFO: task syz-executor.3:12884 blocked for more than 143 seconds. Not tainted 5.18.0-syzkaller-12234-g50fd82b3a9a9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28400 pid:12884 ppid: 1 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6431 schedule+0xd2/0x1f0 kernel/sched/core.c:6503 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1911 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x378/0x530 kernel/sched/completion.c:106 flush_workqueue+0x3ed/0x13a0 kernel/workqueue.c:2861 hci_dev_open+0xdb/0x300 net/bluetooth/hci_core.c:526 hci_sock_ioctl+0x62c/0x910 net/bluetooth/hci_sock.c:1027 sock_do_ioctl+0xcc/0x230 net/socket.c:1169 sock_ioctl+0x2f1/0x640 net/socket.c:1286 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f93f0488ec7 RSP: 002b:00007ffe0da46648 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffe0da46d08 RCX: 00007f93f0488ec7 RDX: 0000000000000003 RSI: 00000000400448c9 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007f93efbff700 R09: 00007f93efbff700 R10: 00007f93efbff9d0 R11: 0000000000000246 R12: 0000000000000003 R13: 00007ffe0da467a0 R14: 00007f93f059c9b8 R15: 000000000000000c INFO: task kworker/u5:0:12929 blocked for more than 143 seconds. Not tainted 5.18.0-syzkaller-12234-g50fd82b3a9a9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u5:0 state:D stack:28712 pid:12929 ppid: 2 flags:0x00004000 Workqueue: hci3 hci_power_on Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0xa00/0x4b30 kernel/sched/core.c:6431 schedule+0xd2/0x1f0 kernel/sched/core.c:6503 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1911 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x378/0x530 kernel/sched/completion.c:106 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162 hci_dev_close_sync+0x8d/0x1150 net/bluetooth/hci_sync.c:4091 hci_dev_do_close+0x32/0x70 net/bluetooth/hci_core.c:553 hci_power_on+0x1c0/0x630 net/bluetooth/hci_core.c:981 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8bd86be0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 3 locks held by klogd/2958: 2 locks held by getty/3279: #0: ffff88814a8c1098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 3 locks held by kworker/u5:5/3646: #0: ffff88801bbd5138 ((wq_completion)hci0){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88801bbd5138 ((wq_completion)hci0){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88801bbd5138 ((wq_completion)hci0){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff88801bbd5138 ((wq_completion)hci0){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff88801bbd5138 ((wq_completion)hci0){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff88801bbd5138 ((wq_completion)hci0){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90003d8fda8 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff88807b45d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x2a/0x70 net/bluetooth/hci_core.c:551 3 locks held by kworker/u5:0/12929: #0: ffff88801cd8e938 ((wq_completion)hci3){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff88801cd8e938 ((wq_completion)hci3){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff88801cd8e938 ((wq_completion)hci3){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff88801cd8e938 ((wq_completion)hci3){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff88801cd8e938 ((wq_completion)hci3){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff88801cd8e938 ((wq_completion)hci3){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90002e1fda8 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff888042d1d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x2a/0x70 net/bluetooth/hci_core.c:551 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.18.0-syzkaller-12234-g50fd82b3a9a9 #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+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xc22/0xf90 kernel/hung_task.c:378 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 NMI backtrace for cpu 1 CPU: 1 PID: 6603 Comm: kworker/u4:28 Not tainted 5.18.0-syzkaller-12234-g50fd82b3a9a9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: 0x0 (events_unbound) RIP: 0010:cpuacct_charge+0x1cf/0x3d0 kernel/sched/cpuacct.c:342 Code: 00 00 49 83 fd 07 0f 87 af 01 00 00 41 80 3f 00 0f 85 90 01 00 00 4a 03 1c ed e0 78 7f 8b 48 89 d8 48 c1 e8 03 42 80 3c 20 00 <0f> 85 61 01 00 00 4c 01 33 48 8d bd 10 01 00 00 48 89 f8 48 c1 e8 RSP: 0018:ffffc9001593f840 EFLAGS: 00000046 RAX: 1ffff11017344f19 RBX: ffff8880b9a278c8 RCX: 0000000000000001 RDX: ffffffff8b7f78e0 RSI: 0000000000000002 RDI: ffffffff8bc78cd8 RBP: ffffffff8bc78bc0 R08: 0000000000000000 R09: ffffffff8dbbd457 R10: fffffbfff1b77a8a R11: dffffc0000000000 R12: dffffc0000000000 R13: 0000000000000000 R14: 00000000000afea6 R15: fffffbfff16fef1c FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00a6f7020 CR3: 000000000ba8e000 CR4: 0000000000350ee0 Call Trace: cgroup_account_cputime include/linux/cgroup.h:793 [inline] update_curr+0x37b/0x840 kernel/sched/fair.c:921 dequeue_entity+0x23/0xfd0 kernel/sched/fair.c:4436 dequeue_task_fair+0x238/0xea0 kernel/sched/fair.c:5785 detach_task kernel/sched/fair.c:7854 [inline] detach_tasks kernel/sched/fair.c:7992 [inline] load_balance+0xf26/0x2c40 kernel/sched/fair.c:9930 newidle_balance+0x6fb/0x1190 kernel/sched/fair.c:10939 pick_next_task_fair+0x96/0xe20 kernel/sched/fair.c:7356 __pick_next_task kernel/sched/core.c:5738 [inline] pick_next_task kernel/sched/core.c:5813 [inline] __schedule+0x3af/0x4b30 kernel/sched/core.c:6395 schedule+0xd2/0x1f0 kernel/sched/core.c:6503 worker_thread+0x15c/0x1080 kernel/workqueue.c:2457 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 49 83 fd 07 cmp $0x7,%r13 6: 0f 87 af 01 00 00 ja 0x1bb c: 41 80 3f 00 cmpb $0x0,(%r15) 10: 0f 85 90 01 00 00 jne 0x1a6 16: 4a 03 1c ed e0 78 7f add -0x74808720(,%r13,8),%rbx 1d: 8b 1e: 48 89 d8 mov %rbx,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) * 2a: 0f 85 61 01 00 00 jne 0x191 <-- trapping instruction 30: 4c 01 33 add %r14,(%rbx) 33: 48 8d bd 10 01 00 00 lea 0x110(%rbp),%rdi 3a: 48 89 f8 mov %rdi,%rax 3d: 48 rex.W 3e: c1 .byte 0xc1 3f: e8 .byte 0xe8