INFO: task kworker/u5:0:21096 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u5:0 state:D stack:28352 pid:21096 ppid: 2 flags:0x00004000 Workqueue: hci7 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_preempt_disabled+0xf/0x20 kernel/sched/core.c:6589 __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.0:21127 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26584 pid:21127 ppid: 3634 flags:0x00004004 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_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_hangup+0x432/0x610 drivers/tty/tty_ldisc.c:724 __tty_hangup+0x494/0x6d0 drivers/tty/tty_io.c:637 tty_vhangup drivers/tty/tty_io.c:707 [inline] tty_ioctl+0x606/0xc60 drivers/tty/tty_io.c:2718 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:0x7fb3fc689109 RSP: 002b:00007fb3fd8ce168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb3fc79bf60 RCX: 00007fb3fc689109 RDX: 0000000000000000 RSI: 0000000000005437 RDI: 0000000000000003 RBP: 00007fb3fc6e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc30a5750f R14: 00007fb3fd8ce300 R15: 0000000000022000 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 3 locks held by kworker/u4:5/1146: #0: ffff8880b9b39b58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 #1: ffff8880b9b27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff8880b9b282d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x12a/0x270 kernel/time/timer.c:999 2 locks held by getty/3283: #0: ffff88814b1f0098 (&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:0/21096: #0: ffff88807d763138 ((wq_completion)hci7){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc90014687d00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff88802458d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open net/bluetooth/hci_core.c:480 [inline] #2: ffff88802458d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x178/0x650 net/bluetooth/hci_core.c:963 3 locks held by syz-executor.0/21127: #0: ffff88801d5811c0 (&tty->legacy_mutex){+.+.}-{3:3}, at: __tty_hangup+0xc3/0x6d0 drivers/tty/tty_io.c:597 #1: ffff88801d581098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline] #1: ffff88801d581098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x6a/0xb0 drivers/tty/tty_ldisc.c:314 #2: ffff88802458d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:551 [inline] #2: ffff88802458d048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_unregister_dev+0x1a9/0x460 net/bluetooth/hci_core.c:2685 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 1146 Comm: kworker/u4:5 Not tainted 5.19.0-rc5-syzkaller-00105-g9f09069cde34 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 Workqueue: phy3 ieee80211_iface_work RIP: 0010:rcu_lock_acquire+0x0/0x30 include/linux/rcupdate.h:268 Code: 1e d5 f7 e9 d3 fd ff ff e8 6d 1e d5 f7 0f 0b e9 21 ff ff ff e8 61 1e d5 f7 e8 ac f9 4d f7 e9 b8 fd ff ff 0f 1f 80 00 00 00 00 4b 1e d5 f7 e8 46 1e d5 f7 48 c7 c7 20 e8 b1 8c 31 f6 31 d2 b9 RSP: 0018:ffffc9000506f878 EFLAGS: 00000283 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffff8880205ed880 RDX: 0000000000000000 RSI: ffffffff8de08460 RDI: ffffffff8cb1e820 RBP: ffffc9000506f9b0 R08: 0000000000000003 R09: ffffffff89b1c392 R10: 0000000000000002 R11: ffff8880205ed880 R12: dffffc0000000000 R13: ffff888079009ca8 R14: ffffc9000506f900 R15: ffffc9000506f908 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c019e2a160 CR3: 0000000072063000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:695 [inline] ieee80211_bss_info_update+0x3ee/0xc30 net/mac80211/scan.c:177 ieee80211_rx_bss_info net/mac80211/ibss.c:1119 [inline] ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1610 [inline] ieee80211_ibss_rx_queued_mgmt+0x1659/0x28c0 net/mac80211/ibss.c:1639 ieee80211_iface_process_skb net/mac80211/iface.c:1527 [inline] ieee80211_iface_work+0x757/0xcd0 net/mac80211/iface.c:1581 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), 3 bytes skipped: 0: e9 d3 fd ff ff jmpq 0xfffffdd8 5: e8 6d 1e d5 f7 callq 0xf7d51e77 a: 0f 0b ud2 c: e9 21 ff ff ff jmpq 0xffffff32 11: e8 61 1e d5 f7 callq 0xf7d51e77 16: e8 ac f9 4d f7 callq 0xf74df9c7 1b: e9 b8 fd ff ff jmpq 0xfffffdd8 20: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) * 27: e8 4b 1e d5 f7 callq 0xf7d51e77 <-- trapping instruction 2c: e8 46 1e d5 f7 callq 0xf7d51e77 31: 48 c7 c7 20 e8 b1 8c mov $0xffffffff8cb1e820,%rdi 38: 31 f6 xor %esi,%esi 3a: 31 d2 xor %edx,%edx 3c: b9 .byte 0xb9