INFO: task syz.3.15:3507 blocked for more than 143 seconds. Not tainted 6.12.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.15 state:D stack:13320 pid:3507 tgid:3506 ppid:3092 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0x6b2/0xa40 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xac/0x140 kernel/sched/core.c:6782 bit_wait+0xc/0x50 kernel/sched/wait_bit.c:199 __wait_on_bit+0xd0/0x160 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x9a/0xc0 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] netfs_dispatch_unbuffered_reads fs/netfs/direct_read.c:107 [inline] netfs_unbuffered_read fs/netfs/direct_read.c:146 [inline] netfs_unbuffered_read_iter_locked+0x3fc/0x6b0 fs/netfs/direct_read.c:231 netfs_unbuffered_read_iter+0x3c/0x60 fs/netfs/direct_read.c:266 new_sync_read fs/read_write.c:488 [inline] vfs_read+0x2ad/0x300 fs/read_write.c:569 ksys_read+0x70/0xe0 fs/read_write.c:712 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x8d/0x170 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f73f1b7e819 RSP: 002b:00007f73f299d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f73f1d35fa0 RCX: 00007f73f1b7e819 RDX: 0000000000002020 RSI: 000000002001b640 RDI: 0000000000000006 RBP: 00007f73f1bf175e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f73f1d35fa0 R15: 00007ffc64505ca8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff835dbe50 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff835dbe50 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff835dbe50 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x30/0x100 kernel/locking/lockdep.c:6720 2 locks held by getty/1634: #0: ffff888100abb8a0 (&tty->ldisc_sem){....}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x40 drivers/tty/tty_ldisc.c:243 #1: ffffc900030f72f0 (&ldata->atomic_read_lock){....}-{3:3}, at: n_tty_read+0x23d/0x910 drivers/tty/n_tty.c:2211 2 locks held by syz.3.15/3507: #0: ffff88810e2b9778 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff88817db90148 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 2 locks held by syz.4.16/3925: #0: ffff888104b8b8f8 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff88817db90730 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 2 locks held by syz.5.17/4344: #0: ffff88810675acf8 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff88817db90d18 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 2 locks held by syz.6.18/4763: #0: ffff888104b8b5f8 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff888174958148 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 2 locks held by syz.7.19/5182: #0: ffff888106395478 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff88817db91300 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 2 locks held by syz.8.20/5600: #0: ffff88810e2b9178 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff888174958730 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 2 locks held by syz.9.21/6018: #0: ffff88810e2b98f8 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff88817db918e8 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 2 locks held by syz.0.22/6436: #0: ffff8881073d7a78 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff888174958d18 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 2 locks held by syz.1.23/6854: #0: ffff88810f7389f8 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff88817db91ed0 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 2 locks held by syz.2.24/7272: #0: ffff88810f738cf8 (&f->f_pos_lock){....}-{3:3}, at: fdget_pos+0x70/0xa0 fs/file.c:1160 #1: ffff88817db924b8 (&sb->s_type->i_mutex_key#20){....}-{3:3}, at: netfs_start_io_direct+0x8f/0xb0 fs/netfs/locking.c:188 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 29 Comm: khungtaskd Not tainted 6.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x3e/0xe0 lib/dump_stack.c:120 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0x5e4/0x610 kernel/hung_task.c:379 kthread+0xea/0x100 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 37 Comm: kworker/u8:2 Not tainted 6.12.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:find_next_bit include/linux/find.h:66 [inline] RIP: 0010:cpumask_any_but include/linux/cpumask.h:407 [inline] RIP: 0010:flush_tlb_mm_range+0x107/0x1d0 arch/x86/mm/tlb.c:1023 Code: 8f 30 68 01 41 89 85 e0 ee 02 00 49 8d be 80 08 00 00 41 0f b6 86 80 08 00 00 31 c9 ba 08 00 00 00 48 89 c6 48 d3 ee 48 d3 e6 <48> 85 f6 74 1a f3 48 0f bc ce 83 f9 07 77 0e 41 39 cc 75 09 ff c1 RSP: 0018:ffffc9000013fc58 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 00002aaaaaaac000 RCX: 0000000000000000 RDX: 0000000000000008 RSI: 0000000000000000 RDI: ffff888100070880 RBP: 00002aaaaaaab000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff81042410 R12: 0000000000000000 R13: ffff888237c00000 R14: ffff888100070000 R15: 0000000000007781 FS: 0000000000000000(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555764f54a8 CR3: 00000000034aa000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __text_poke+0x32b/0x440 arch/x86/kernel/alternative.c:1947 text_poke arch/x86/kernel/alternative.c:1984 [inline] text_poke_bp_batch+0x25f/0x310 arch/x86/kernel/alternative.c:2373 text_poke_flush arch/x86/kernel/alternative.c:2486 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2493 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked kernel/jump_label.c:240 [inline] static_key_disable+0x40/0x60 kernel/jump_label.c:248 toggle_allocation_gate+0xe6/0x130 mm/kfence/core.c:854 process_one_work kernel/workqueue.c:3229 [inline] process_scheduled_works+0x2ab/0x5c0 kernel/workqueue.c:3310 worker_thread+0x23e/0x2e0 kernel/workqueue.c:3391 kthread+0xea/0x100 kernel/kthread.c:389 ret_from_fork+0x32/0x40 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244