INFO: task syz-executor.0:2380 blocked for more than 143 seconds. Not tainted 6.7.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:13400 pid:2380 tgid:2380 ppid:1979 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0x613/0x9b0 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xab/0x110 kernel/sched/core.c:6817 schedule_timeout+0x88/0x190 kernel/time/timer.c:2159 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common+0xfa/0x1c0 kernel/sched/completion.c:127 __flush_workqueue+0x313/0x5a0 kernel/workqueue.c:3310 drain_workqueue+0x7f/0x120 kernel/workqueue.c:3423 destroy_workqueue+0x57/0x3c0 kernel/workqueue.c:4916 hci_release_dev+0x69/0x5a0 net/bluetooth/hci_core.c:2774 bt_host_release+0x2c/0x40 net/bluetooth/hci_sysfs.c:94 device_release+0x31/0x70 kobject_cleanup lib/kobject.c:682 [inline] kobject_release lib/kobject.c:716 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x61/0x180 lib/kobject.c:733 hci_uart_tty_close+0xa5/0x120 drivers/bluetooth/hci_ldisc.c:552 tty_ldisc_close drivers/tty/tty_ldisc.c:455 [inline] tty_ldisc_kill+0x66/0xc0 drivers/tty/tty_ldisc.c:607 tty_ldisc_release+0x10c/0x120 drivers/tty/tty_ldisc.c:775 tty_release_struct+0x10/0x80 drivers/tty/tty_io.c:1692 tty_release+0x501/0x660 drivers/tty/tty_io.c:1863 __fput+0xf4/0x290 fs/file_table.c:376 __do_sys_close fs/open.c:1554 [inline] __se_sys_close+0x6a/0xc0 fs/open.c:1539 do_syscall_64+0x94/0x1a0 entry_SYSCALL_64_after_hwframe+0x6f/0x77 RIP: 0033:0x7f2cc6c7cc9a RSP: 002b:00007ffd59c44210 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f2cc6c7cc9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000032 R08: 0000001b2f560000 R09: 00007f2cc6dabf8c R10: 00007ffd59c44360 R11: 0000000000000293 R12: 00007f2cc68001d8 R13: ffffffffffffffff R14: 00007f2cc6800000 R15: 000000000000a37f Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff83b7ec80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff83b7ec80 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff83b7ec80 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x30/0x100 kernel/locking/lockdep.c:6614 2 locks held by getty/1414: #0: ffff888100e8f8a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x40 drivers/tty/tty_ldisc.c:243 #1: ffffc90002c872f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x242/0x910 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.0/2380: #0: ffff88810abc28a0 (&tty->ldisc_sem){....}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:289 [inline] #0: ffff88810abc28a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_lock_pair_timeout drivers/tty/tty_ldisc.c:352 [inline] #0: ffff88810abc28a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_lock_pair drivers/tty/tty_ldisc.c:366 [inline] #0: ffff88810abc28a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_release+0xa7/0x120 drivers/tty/tty_ldisc.c:774 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x83/0xd0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x146/0x160 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x8e/0x140 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x5da/0x600 kernel/hung_task.c:379 kthread+0xe9/0x100 kernel/kthread.c:388 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 527 Comm: kworker/u4:4 Not tainted 6.7.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:__default_send_IPI_dest_field+0x3e/0x60 arch/x86/kernel/apic/ipi.c:186 Code: 5f ff 00 10 00 00 74 0f f3 90 f7 04 25 00 c3 5f ff 00 10 00 00 75 f1 c1 e5 18 89 2c 25 10 c3 5f ff 09 de 89 34 25 00 c3 5f ff <5b> 5d c3 cc cc cc cc e8 16 ff ff ff be 00 04 00 00 eb da 66 2e 0f RSP: 0018:ffffc900016abc08 EFLAGS: 00000002 RAX: 8a1a8314aab2ba00 RBX: 0000000000000800 RCX: ffff8881012cb700 RDX: 0000000000000800 RSI: 00000000000008fb RDI: 0000000000000002 RBP: 0000000002000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff810663b0 R12: ffffffff8103dbe0 R13: ffff888237d34b80 R14: 0000000000000000 R15: ffff888237c30480 FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa273dbd58 CR3: 0000000003a44000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: _flat_send_IPI_mask arch/x86/kernel/apic/apic_flat_64.c:36 [inline] flat_send_IPI_mask+0x34/0x80 arch/x86/kernel/apic/apic_flat_64.c:44 arch_send_call_function_single_ipi arch/x86/include/asm/smp.h:101 [inline] send_call_function_single_ipi kernel/smp.c:117 [inline] smp_call_function_many_cond+0x57a/0xae0 kernel/smp.c:837 on_each_cpu_cond_mask+0x3a/0x70 kernel/smp.c:1023 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:2087 [inline] text_poke_bp_batch+0x21c/0x310 arch/x86/kernel/alternative.c:2359 text_poke_flush arch/x86/kernel/alternative.c:2488 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2495 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked kernel/jump_label.c:205 [inline] static_key_enable+0x40/0x60 kernel/jump_label.c:218 toggle_allocation_gate+0x3a/0x130 mm/kfence/core.c:826 process_one_work kernel/workqueue.c:2742 [inline] process_scheduled_works+0x250/0x500 kernel/workqueue.c:2818 worker_thread+0x23d/0x300 kernel/workqueue.c:2899 kthread+0xe9/0x100 kernel/kthread.c:388 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242