INFO: task syz-executor.1:11368 blocked for more than 143 seconds. Not tainted 5.17.0-next-20220324-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:23776 pid:11368 ppid: 1 flags:0x00004002 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6415 schedule+0xd2/0x1f0 kernel/sched/core.c:6487 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x373/0x530 kernel/sched/completion.c:106 __flush_work+0x56c/0xb10 kernel/workqueue.c:3075 __cancel_work_timer+0x3f9/0x570 kernel/workqueue.c:3162 hci_cmd_sync_clear+0x22/0x270 net/bluetooth/hci_sync.c:337 hci_unregister_dev+0x16c/0x550 net/bluetooth/hci_core.c:2680 vhci_release+0x7c/0xf0 drivers/bluetooth/hci_vhci.c:568 __fput+0x286/0x9f0 fs/file_table.c:317 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:37 [inline] do_exit+0xaff/0x2a00 kernel/exit.c:795 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 __do_sys_exit_group kernel/exit.c:936 [inline] __se_sys_exit_group kernel/exit.c:934 [inline] __x64_sys_exit_group+0x3a/0x50 kernel/exit.c:934 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fe957089049 RSP: 002b:00007ffcbd6c7588 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000064 RCX: 00007fe957089049 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: 00007fe9570e225c R08: 000000000000000c R09: 0000555555d0b3b8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000016 R13: 00007ffcbd6c8860 R14: 0000555555d0b3b8 R15: 00007ffcbd6c9960 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd821a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6498 3 locks held by kworker/u4:3/64: 1 lock held by udevd/2963: 2 locks held by getty/3278: #0: ffff88814c1d0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002e732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2075 3 locks held by kworker/u5:4/3639: #0: ffff888076b56938 ((wq_completion)hci1){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888076b56938 ((wq_completion)hci1){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888076b56938 ((wq_completion)hci1){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888076b56938 ((wq_completion)hci1){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888076b56938 ((wq_completion)hci1){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888076b56938 ((wq_completion)hci1){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc9000402fda8 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff88801e461048 (&hdev->req_lock){+.+.}-{3:3}, at: hci_cmd_sync_work+0x195/0x3e0 net/bluetooth/hci_sync.c:302 3 locks held by udevd/14806: 2 locks held by dhcpcd/21116: #0: ffff8880260d6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1682 [inline] #0: ffff8880260d6130 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xdc0 net/packet/af_packet.c:3179 #1: ffffffff8bd8c4a0 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #1: ffffffff8bd8c4a0 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4fa/0x620 kernel/rcu/tree_exp.h:841 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.17.0-next-20220324-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:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 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: 11 Comm: kworker/u4:1 Not tainted 5.17.0-next-20220324-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__lock_is_held kernel/locking/lockdep.c:5410 [inline] RIP: 0010:lock_is_held_type+0x83/0x140 kernel/locking/lockdep.c:5715 Code: 48 cc 89 31 db e8 fd 0d 00 00 41 8b 84 24 60 0a 00 00 4d 8d ac 24 68 0a 00 00 65 ff 05 fe 2a a4 76 85 c0 7f 12 e9 8a 00 00 00 <83> c3 01 41 3b 9c 24 60 0a 00 00 7d 7d 48 63 c3 48 89 ee 48 8d 04 RSP: 0018:ffffc900001079b0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8bd820e0 RDI: ffff888010e1c510 RBP: ffffffff8bd820e0 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff816788ae R11: 0000000000000000 R12: ffff888010e1ba80 R13: ffff888010e1c4e8 R14: 00000000ffffffff R15: ffff888010e1c510 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2e532d3000 CR3: 000000000ba8e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:279 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_timer_start include/trace/events/timer.h:52 [inline] enqueue_timer+0x31c/0x5c0 kernel/time/timer.c:586 internal_add_timer kernel/time/timer.c:611 [inline] __mod_timer+0x825/0xe30 kernel/time/timer.c:1062 schedule_timeout+0x145/0x2a0 kernel/time/timer.c:1880 toggle_allocation_gate mm/kfence/core.c:786 [inline] toggle_allocation_gate+0x305/0x390 mm/kfence/core.c:771 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): 0: 48 cc rex.W int3 2: 89 31 mov %esi,(%rcx) 4: db e8 fucomi %st(0),%st 6: fd std 7: 0d 00 00 41 8b or $0x8b410000,%eax c: 84 24 60 test %ah,(%rax,%riz,2) f: 0a 00 or (%rax),%al 11: 00 4d 8d add %cl,-0x73(%rbp) 14: ac lods %ds:(%rsi),%al 15: 24 68 and $0x68,%al 17: 0a 00 or (%rax),%al 19: 00 65 ff add %ah,-0x1(%rbp) 1c: 05 fe 2a a4 76 add $0x76a42afe,%eax 21: 85 c0 test %eax,%eax 23: 7f 12 jg 0x37 25: e9 8a 00 00 00 jmpq 0xb4 * 2a: 83 c3 01 add $0x1,%ebx <-- trapping instruction 2d: 41 3b 9c 24 60 0a 00 cmp 0xa60(%r12),%ebx 34: 00 35: 7d 7d jge 0xb4 37: 48 63 c3 movslq %ebx,%rax 3a: 48 89 ee mov %rbp,%rsi 3d: 48 rex.W 3e: 8d .byte 0x8d 3f: 04 .byte 0x4