INFO: task syz.4.204:6862 blocked for more than 144 seconds. Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.204 state:D stack:27824 pid:6862 tgid:6854 ppid:5826 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0xe58/0x5ad0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735 netfs_writepages+0x16c/0x8f0 fs/netfs/write_issue.c:564 do_writepages+0x1b3/0x820 mm/page-writeback.c:2708 filemap_fdatawrite_wbc mm/filemap.c:388 [inline] filemap_fdatawrite_wbc+0x104/0x160 mm/filemap.c:378 __filemap_fdatawrite_range+0xb3/0xf0 mm/filemap.c:421 v9fs_vfs_setattr+0x93a/0xab0 fs/9p/vfs_inode.c:1072 notify_change+0x6a6/0x1230 fs/attr.c:552 vfs_utimes+0x41d/0x850 fs/utimes.c:66 do_utimes_path fs/utimes.c:99 [inline] do_utimes+0x124/0x2a0 fs/utimes.c:140 do_futimesat+0x18f/0x200 fs/utimes.c:194 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f3510585d29 RSP: 002b:00007f35113dc038 EFLAGS: 00000246 ORIG_RAX: 00000000000000eb RAX: ffffffffffffffda RBX: 00007f3510776160 RCX: 00007f3510585d29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 00007f3510601b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f3510776160 R15: 00007ffc60333138 Showing all locks held in the system: 2 locks held by kworker/u8:1/12: #0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffff8880b8628a88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2c1/0x8e0 kernel/sched/psi.c:987 1 lock held by khungtaskd/30: #0: ffffffff8e1bbcc0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bbcc0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1bbcc0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 2 locks held by getty/5579: #0: ffff8880369d20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002fde2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:9/5919: #0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3211 #1: ffffc90003367d80 ((work_completion)(&rreq->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3212 1 lock held by syz.4.204/6860: #0: ffff8880589e8500 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0xb9/0x8f0 fs/netfs/write_issue.c:558 3 locks held by syz.4.204/6862: #0: ffff88805fe26420 (sb_writers#19){.+.+}-{0:0}, at: vfs_utimes+0x6b9/0x850 fs/utimes.c:36 #1: ffff8880589e8148 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: inode_lock include/linux/fs.h:831 [inline] #1: ffff8880589e8148 (&sb->s_type->i_mutex_key#24){++++}-{4:4}, at: vfs_utimes+0x3d2/0x850 fs/utimes.c:65 #2: ffff8880589e8500 (&ctx->wb_lock){+.+.}-{4:4}, at: netfs_writepages+0x16c/0x8f0 fs/netfs/write_issue.c:564 1 lock held by syz.0.452/7968: 2 locks held by syz.1.454/7981: #0: ffffffff8fedba50 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x292/0x6c0 net/core/net_namespace.c:512 #1: ffffffff8e1c75f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297 1 lock held by dhcpcd/7991: #0: ffff88807c972258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1623 [inline] #0: ffff88807c972258 (sk_lock-AF_PACKET){+.+.}-{0:0}, at: packet_do_bind+0x2c/0xf60 net/packet/af_packet.c:3253 4 locks held by dhcpcd-run-hook/7996: #0: ffff8880b863ec18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:606 [inline] #0: ffff8880b863ec18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:591 #1: ffff8880b8628a88 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2c1/0x8e0 kernel/sched/psi.c:987 #2: ffff8880254bca78 (&sig->wait_chldexit){....}-{3:3}, at: __wake_up_common_lock kernel/sched/wait.c:105 [inline] #2: ffff8880254bca78 (&sig->wait_chldexit){....}-{3:3}, at: __wake_up_sync_key+0x1c/0x50 kernel/sched/wait.c:173 #3: ffff8880321ad298 (&p->pi_lock){-.-.}-{2:2}, at: class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:551 [inline] #3: ffff8880321ad298 (&p->pi_lock){-.-.}-{2:2}, at: try_to_wake_up+0xb6/0x1490 kernel/sched/core.c:4205 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xf14/0x1240 kernel/hung_task.c:397 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 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: 35 Comm: kworker/u8:2 Not tainted 6.13.0-syzkaller-00603-g3d3a9c8b89d4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:mark_lock+0x82/0xc60 kernel/locking/lockdep.c:4710 Code: 00 f2 f2 f2 c7 40 08 00 f2 f2 f2 c7 40 10 00 00 00 f3 c7 40 14 f3 f3 f3 f3 65 48 8b 04 25 28 00 00 00 48 89 84 24 08 01 00 00 <31> c0 41 83 fe 09 0f 87 e3 00 00 00 41 83 fe 08 49 89 fc 48 89 f3 RSP: 0018:ffffc90000ab7510 EFLAGS: 00000082 RAX: 1b628cf5975ea800 RBX: ffff888020e83032 RCX: 0000000000000003 RDX: dffffc0000000000 RSI: ffff888020e83010 RDI: ffff888020e82440 RBP: ffffc90000ab7648 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff96e74cc7 R11: 0000000000000005 R12: ffffed10041d05e3 R13: ffff888020e82440 R14: 0000000000000002 R15: 1ffff92000156ea8 FS: 0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563c750b7098 CR3: 000000000df7e000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_usage kernel/locking/lockdep.c:4658 [inline] __lock_acquire+0x98e/0x3c40 kernel/locking/lockdep.c:5180 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0xf1/0x300 mm/pgtable-generic.c:402 pte_offset_map_lock include/linux/mm.h:3035 [inline] __get_locked_pte+0x79/0xc0 mm/memory.c:2006 get_locked_pte include/linux/mm.h:2740 [inline] __text_poke+0x224/0xca0 arch/x86/kernel/alternative.c:1928 text_poke_bp_batch+0x3e0/0x760 arch/x86/kernel/alternative.c:2346 text_poke_flush arch/x86/kernel/alternative.c:2515 [inline] text_poke_flush arch/x86/kernel/alternative.c:2512 [inline] text_poke_finish+0x30/0x40 arch/x86/kernel/alternative.c:2522 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x1d7/0x400 kernel/jump_label.c:920 static_key_disable_cpuslocked+0x158/0x1c0 kernel/jump_label.c:240 static_key_disable+0x1a/0x20 kernel/jump_label.c:248 toggle_allocation_gate mm/kfence/core.c:854 [inline] toggle_allocation_gate+0x147/0x260 mm/kfence/core.c:841 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3236 process_scheduled_works kernel/workqueue.c:3317 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3398 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244