INFO: task kworker/u5:3:3618 blocked for more than 143 seconds. Not tainted 5.18.0-rc4-next-20220427-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u5:3 state:D stack:27712 pid: 3618 ppid: 2 flags:0x00004000 Workqueue: hci1 hci_power_on Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xaa0/0x4cd0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1883 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:3097 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3184 hci_dev_close_sync+0x8d/0x1150 net/bluetooth/hci_sync.c:4092 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:298 INFO: task syz-executor.0:26152 blocked for more than 143 seconds. Not tainted 5.18.0-rc4-next-20220427-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28008 pid:26152 ppid: 1 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xaa0/0x4cd0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1883 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x378/0x530 kernel/sched/completion.c:106 flush_workqueue+0x44e/0x1440 kernel/workqueue.c:2883 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:1122 sock_ioctl+0x2f1/0x640 net/socket.c:1239 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+0x44/0xae RIP: 0033:0x7fc6d8e88ea7 RSP: 002b:00007fffa8c75708 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fffa8c75dc8 RCX: 00007fc6d8e88ea7 RDX: 0000000000000001 RSI: 00000000400448c9 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007fc6d85ff700 R09: 00007fc6d85ff700 R10: 00007fc6d85ff9d0 R11: 0000000000000246 R12: 0000000000000003 R13: 00007fffa8c75860 R14: 00007fc6d8f9c9b8 R15: 000000000000000c Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bd84b50 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:502 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bd847d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:502 1 lock held by khungtaskd/29: #0: ffffffff8bd856a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by kworker/u4:3/55: #0: ffff8880b9d3a018 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:541 #1: ffff8880b9d27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x176/0x4e0 kernel/sched/psi.c:880 2 locks held by getty/3280: #0: ffff888140bf3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002ce62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2118 3 locks held by kworker/u5:3/3618: #0: ffff8880748e2938 ((wq_completion)hci1){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff8880748e2938 ((wq_completion)hci1){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff8880748e2938 ((wq_completion)hci1){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff8880748e2938 ((wq_completion)hci1){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff8880748e2938 ((wq_completion)hci1){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff8880748e2938 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9000319fda8 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff888063f09048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x2a/0x70 net/bluetooth/hci_core.c:551 2 locks held by kworker/u4:11/5009: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.18.0-rc4-next-20220427-syzkaller #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:264 [inline] watchdog+0xcb4/0xf10 kernel/hung_task.c:422 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 55 Comm: kworker/u4:3 Not tainted 5.18.0-rc4-next-20220427-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:rcu_is_watching+0x0/0xb0 kernel/rcu/tree.c:1134 Code: 66 62 00 e9 2c ff ff ff 66 90 48 c7 c7 20 fc cd 89 e8 94 47 0e 08 65 8a 05 31 c7 9e 7e 0f be c0 c3 66 0f 1f 84 00 00 00 00 00 <55> 53 65 ff 05 97 86 9d 7e e8 52 47 0e 08 48 c7 c3 10 b0 03 00 83 RSP: 0018:ffffc900013dfb80 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff9200027bf75 RCX: ffffffff815e3078 RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff8dba21d0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8dba21d7 R10: fffffbfff1b7443a R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8bd856a0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f511f44b990 CR3: 0000000023884000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x1c/0x70 kernel/rcu/update.c:123 trace_lock_acquire include/trace/events/lock.h:24 [inline] lock_acquire+0x480/0x570 kernel/locking/lockdep.c:5636 rcu_lock_acquire include/linux/rcupdate.h:270 [inline] rcu_read_lock include/linux/rcupdate.h:696 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:719 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:298 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: e9 2c ff ff ff jmpq 0xffffff31 5: 66 90 xchg %ax,%ax 7: 48 c7 c7 20 fc cd 89 mov $0xffffffff89cdfc20,%rdi e: e8 94 47 0e 08 callq 0x80e47a7 13: 65 8a 05 31 c7 9e 7e mov %gs:0x7e9ec731(%rip),%al # 0x7e9ec74b 1a: 0f be c0 movsbl %al,%eax 1d: c3 retq 1e: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 25: 00 00 * 27: 55 push %rbp <-- trapping instruction 28: 53 push %rbx 29: 65 ff 05 97 86 9d 7e incl %gs:0x7e9d8697(%rip) # 0x7e9d86c7 30: e8 52 47 0e 08 callq 0x80e4787 35: 48 c7 c3 10 b0 03 00 mov $0x3b010,%rbx 3c: 83 .byte 0x83