INFO: task kworker/u5:4:3654 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00049-gc1084b6c5620 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u5:4 state:D stack:26912 pid: 3654 ppid: 2 flags:0x00004000 Workqueue: hci6 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:19471 blocked for more than 143 seconds. Not tainted 5.19.0-rc5-syzkaller-00049-gc1084b6c5620 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26448 pid:19471 ppid: 3641 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_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:0x7f238a23bd4b RSP: 002b:00007fffe4231130 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f238a23bd4b RDX: 00007f238a3a01c0 RSI: ffffffffffffffff RDI: 0000000000000003 RBP: 00007f238a39d960 R08: 0000000000000000 R09: 00007f238a3a01c8 R10: 00007fffe4231230 R11: 0000000000000293 R12: 0000000000202a89 R13: 00007fffe4231230 R14: 00007f238a39bf60 R15: 0000000000000032 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 1 lock held by klogd/2965: 1 lock held by dhcpcd/3187: 2 locks held by getty/3292: #0: ffff8880272ad098 (&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:4/3654: #0: ffff888075dcf138 ((wq_completion)hci6){+.+.}-{0:0}, at: process_one_work+0x796/0xd10 kernel/workqueue.c:2262 #1: ffffc9000320fd00 ((work_completion)(&hdev->power_on)){+.+.}-{0:0}, at: process_one_work+0x7d0/0xd10 kernel/workqueue.c:2264 #2: ffff88803e2bd048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_open net/bluetooth/hci_core.c:480 [inline] #2: ffff88803e2bd048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_power_on+0x178/0x650 net/bluetooth/hci_core.c:963 3 locks held by syz-executor.0/19471: #0: ffff88807d7e9098 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:290 [inline] #0: ffff88807d7e9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:346 [inline] #0: ffff88807d7e9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:367 [inline] #0: ffff88807d7e9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_release+0xb3/0x510 drivers/tty/tty_ldisc.c:775 #1: ffff88807d7ec098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: __tty_ldisc_lock_nested drivers/tty/tty_ldisc.c:296 [inline] #1: ffff88807d7ec098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:348 [inline] #1: ffff88807d7ec098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:367 [inline] #1: ffff88807d7ec098 (&tty->ldisc_sem/1){+.+.}-{0:0}, at: tty_ldisc_release+0xd7/0x510 drivers/tty/tty_ldisc.c:775 #2: ffff88803e2bd048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close net/bluetooth/hci_core.c:551 [inline] #2: ffff88803e2bd048 (&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: 28 Comm: khungtaskd Not tainted 5.19.0-rc5-syzkaller-00049-gc1084b6c5620 #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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 5.19.0-rc5-syzkaller-00049-gc1084b6c5620 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 RIP: 0010:stack_trace_consume_entry+0x108/0x270 kernel/stacktrace.c:93 Code: 8d 1c c3 48 89 d8 48 c1 e8 03 80 3c 10 00 74 1a 4d 89 cf 48 89 df 49 89 d6 49 89 f5 e8 61 e3 64 00 4d 89 f9 4c 89 ee 4c 89 f2 <48> 89 33 41 8b 19 41 8a 04 14 84 c0 0f 85 30 01 00 00 3b 5d 00 0f RSP: 0018:ffffc900001b6970 EFLAGS: 00000246 RAX: 1ffff92000036d7f RBX: ffffc900001b6bf8 RCX: ffffffff8f4c5000 RDX: dffffc0000000000 RSI: ffffffff8159cdc6 RDI: ffffc900001b6aac RBP: ffffc900001b6aa8 R08: 0000000000000015 R09: ffffc900001b6ab0 R10: fffff52000036d44 R11: 1ffff92000036d42 R12: 1ffff92000036d55 R13: 1ffff92000036d55 R14: 0000000000000016 R15: 1ffff92000036d56 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c008441ec8 CR3: 0000000075a1d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x106/0x140 arch/x86/kernel/stacktrace.c:27 stack_trace_save+0x12d/0x1f0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] __kasan_slab_alloc+0xb2/0xe0 mm/kasan/common.c:469 kasan_slab_alloc include/linux/kasan.h:224 [inline] slab_post_alloc_hook mm/slab.h:750 [inline] slab_alloc_node mm/slub.c:3243 [inline] slab_alloc mm/slub.c:3251 [inline] __kmem_cache_alloc_lru mm/slub.c:3258 [inline] kmem_cache_alloc+0x199/0x2f0 mm/slub.c:3268 skb_ext_maybe_cow net/core/skbuff.c:6331 [inline] skb_ext_add+0x1be/0x8d0 net/core/skbuff.c:6397 nf_bridge_unshare net/bridge/br_netfilter_hooks.c:160 [inline] br_nf_forward_ip+0xc3/0x1300 net/bridge/br_netfilter_hooks.c:589 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_slow+0xae/0x1e0 net/netfilter/core.c:620 nf_hook+0x26e/0x3d0 include/linux/netfilter.h:262 NF_HOOK include/linux/netfilter.h:305 [inline] __br_forward+0x43d/0x710 net/bridge/br_forward.c:115 deliver_clone net/bridge/br_forward.c:131 [inline] maybe_deliver net/bridge/br_forward.c:189 [inline] br_flood+0x683/0x890 net/bridge/br_forward.c:231 br_handle_frame_finish+0x1349/0x1810 net/bridge/br_input.c:193 br_nf_hook_thresh+0x478/0x560 net/bridge/br_netfilter_hooks.c:1039 br_nf_pre_routing_finish_ipv6+0x94a/0xbd0 NF_HOOK include/linux/netfilter.h:307 [inline] br_nf_pre_routing_ipv6+0x294/0x340 net/bridge/br_netfilter_ipv6.c:236 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline] nf_hook_bridge_pre net/bridge/br_input.c:255 [inline] br_handle_frame+0x8c5/0x10e0 net/bridge/br_input.c:399 __netif_receive_skb_core+0x1448/0x3c00 net/core/dev.c:5374 __netif_receive_skb_one_core net/core/dev.c:5478 [inline] __netif_receive_skb+0x11a/0x500 net/core/dev.c:5594 process_backlog+0x4f8/0x8b0 net/core/dev.c:5922 __napi_poll+0xbe/0x4b0 net/core/dev.c:6488 napi_poll net/core/dev.c:6555 [inline] net_rx_action+0x76c/0x10b0 net/core/dev.c:6666 __do_softirq+0x382/0x793 kernel/softirq.c:571 run_ksoftirqd+0xc1/0x120 kernel/softirq.c:934 smpboot_thread_fn+0x533/0x9d0 kernel/smpboot.c:164 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 ---------------- Code disassembly (best guess): 0: 8d 1c c3 lea (%rbx,%rax,8),%ebx 3: 48 89 d8 mov %rbx,%rax 6: 48 c1 e8 03 shr $0x3,%rax a: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) e: 74 1a je 0x2a 10: 4d 89 cf mov %r9,%r15 13: 48 89 df mov %rbx,%rdi 16: 49 89 d6 mov %rdx,%r14 19: 49 89 f5 mov %rsi,%r13 1c: e8 61 e3 64 00 callq 0x64e382 21: 4d 89 f9 mov %r15,%r9 24: 4c 89 ee mov %r13,%rsi 27: 4c 89 f2 mov %r14,%rdx * 2a: 48 89 33 mov %rsi,(%rbx) <-- trapping instruction 2d: 41 8b 19 mov (%r9),%ebx 30: 41 8a 04 14 mov (%r12,%rdx,1),%al 34: 84 c0 test %al,%al 36: 0f 85 30 01 00 00 jne 0x16c 3c: 3b 5d 00 cmp 0x0(%rbp),%ebx 3f: 0f .byte 0xf