INFO: task kworker/u5:3:3644 blocked for more than 143 seconds. Not tainted 5.19.0-rc2-syzkaller-00241-g4b35035bcf80 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u5:3 state:D stack:25432 pid: 3644 ppid: 2 flags:0x00004000 Workqueue: hci6 hci_power_on Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6428 schedule+0xeb/0x1b0 kernel/sched/core.c:6500 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6559 __mutex_lock_common+0xecf/0x26c0 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 hci_dev_do_open net/bluetooth/hci_core.c:480 [inline] hci_power_on+0x178/0x650 net/bluetooth/hci_core.c:963 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 INFO: task syz-executor.5:5835 blocked for more than 143 seconds. Not tainted 5.19.0-rc2-syzkaller-00241-g4b35035bcf80 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27040 pid: 5835 ppid: 3637 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6428 schedule+0xeb/0x1b0 kernel/sched/core.c:6500 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_unregister_dev+0x1b1/0x460 net/bluetooth/hci_core.c:2685 hci_uart_tty_close+0x1a7/0x280 drivers/bluetooth/hci_ldisc.c:548 tty_ldisc_kill drivers/tty/tty_ldisc.c:608 [inline] tty_ldisc_release+0x23c/0x510 drivers/tty/tty_ldisc.c:776 tty_release_struct+0x27/0xd0 drivers/tty/tty_io.c:1694 tty_release+0xc06/0xe60 drivers/tty/tty_io.c:1865 __fput+0x3b9/0x820 fs/file_table.c:317 task_work_run+0x146/0x1c0 kernel/task_work.c:177 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x134/0x160 kernel/entry/common.c:169 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7ff36123bd4b RSP: 002b:00007fff453603b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007ff36123bd4b RDX: 00007ff3613a01e0 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007ff36139d960 R08: 0000000000000000 R09: 00007ff3613a01e8 R10: 00007fff453604b0 R11: 0000000000000293 R12: 000000000003772b R13: 00007fff453604b0 R14: 00007ff36139bf60 R15: 0000000000000032 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cb1ece0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 5 locks held by kworker/0:3/2939: #0: ffff8880b9a39b98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 #1: ffff8880b9a27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x567/0x820 kernel/sched/psi.c:889 #2: ffff8880b9a27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_enqueue kernel/sched/stats.h:136 [inline] #2: ffff8880b9a27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: enqueue_task kernel/sched/core.c:2068 [inline] #2: ffff8880b9a27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: activate_task+0x34e/0x3f0 kernel/sched/core.c:2097 #3: ffffffff917b39c8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_active_state+0x67/0x410 lib/debugobjects.c:924 #4: ffffffff9185b770 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:977 [inline] #4: ffffffff9185b770 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xc5/0x650 lib/debugobjects.c:1020 1 lock held by klogd/2966: #0: ffff8880b9a39b98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 2 locks held by getty/3287: #0: ffff8880272fd098 (&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:3/3644: #0: ffff888074154938 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc900030afd00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff888033171048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open net/bluetooth/hci_core.c:480 [inline] #2: ffff888033171048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x178/0x650 net/bluetooth/hci_core.c:963 2 locks held by kworker/u4:9/4014: #0: ffff8880b9a39b98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 #1: ffff8880b9a27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4fa/0x820 kernel/sched/psi.c:880 3 locks held by syz-executor.5/5835: #0: ffff888073882098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline] #0: ffff888073882098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:336 [inline] #0: ffff888073882098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:367 [inline] #0: ffff888073882098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_release+0x5b/0x510 drivers/tty/tty_ldisc.c:775 #1: ffff888073883098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: __tty_ldisc_lock_nested drivers/tty/tty_ldisc.c:296 [inline] #1: ffff888073883098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:338 [inline] #1: ffff888073883098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:367 [inline] #1: ffff888073883098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_release+0x7f/0x510 drivers/tty/tty_ldisc.c:775 #2: ffff888033171048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:551 [inline] #2: ffff888033171048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1a9/0x460 net/bluetooth/hci_core.c:2685 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc2-syzkaller-00241-g4b35035bcf80 #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:220 [inline] watchdog+0xd18/0xd60 kernel/hung_task.c:378 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: 4761 Comm: kworker/u4:15 Not tainted 5.19.0-rc2-syzkaller-00241-g4b35035bcf80 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0x4/0x120 lib/smp_processor_id.c:13 Code: c7 c7 80 23 97 8a e8 3b 01 00 00 65 ff 0d 00 40 d8 75 5b c3 cc cc 48 c7 c7 40 8c e9 8a 48 c7 c6 80 8c e9 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 RSP: 0018:ffffc900015e7948 EFLAGS: 00000282 RAX: 0000000000046d01 RBX: 1ffff920002bcf30 RCX: 0000000080000001 RDX: 0000000000000000 RSI: ffffffff8ae98c80 RDI: ffffffff8ae98c40 RBP: ffffc900015e7a08 R08: dffffc0000000000 R09: fffffbfff1c070b6 R10: fffffbfff1c070b6 R11: 1ffffffff1c070b5 R12: dffffc0000000000 R13: 1ffff920002bcf54 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00dc4f018 CR3: 0000000026f95000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lockdep_current_cpu_online+0x33/0x120 kernel/rcu/tree.c:1185 rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_sched_held+0x74/0x130 kernel/rcu/update.c:123 trace_lock_acquire+0x7d/0x1d0 include/trace/events/lock.h:24 lock_acquire+0xa5/0x400 kernel/locking/lockdep.c:5636 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:269 rcu_read_lock include/linux/rcupdate.h:695 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:719 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 ---------------- Code disassembly (best guess): 0: c7 c7 80 23 97 8a mov $0x8a972380,%edi 6: e8 3b 01 00 00 callq 0x146 b: 65 ff 0d 00 40 d8 75 decl %gs:0x75d84000(%rip) # 0x75d84012 12: 5b pop %rbx 13: c3 retq 14: cc int3 15: cc int3 16: 48 c7 c7 40 8c e9 8a mov $0xffffffff8ae98c40,%rdi 1d: 48 c7 c6 80 8c e9 8a mov $0xffffffff8ae98c80,%rsi 24: eb 00 jmp 0x26 26: 41 57 push %r15 28: 41 56 push %r14 * 2a: 41 54 push %r12 <-- trapping instruction 2c: 53 push %rbx 2d: 48 83 ec 10 sub $0x10,%rsp 31: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 38: 00 00 3a: 48 89 44 24 08 mov %rax,0x8(%rsp) 3f: 65 gs