INFO: task syz.4.249:7014 blocked for more than 142 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.249 state:D stack:25992 pid:7014 tgid:6996 ppid:5832 task_flags:0x400140 flags:0x00080002 Call Trace: context_switch kernel/sched/core.c:5254 [inline] __schedule+0x17c4/0x4d60 kernel/sched/core.c:6862 __schedule_loop kernel/sched/core.c:6944 [inline] schedule+0x165/0x360 kernel/sched/core.c:6959 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:7016 rwsem_down_write_slowpath+0x872/0xfe0 kernel/locking/rwsem.c:1185 __down_write_common kernel/locking/rwsem.c:1317 [inline] __down_write kernel/locking/rwsem.c:1326 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1591 inode_lock include/linux/fs.h:1063 [inline] open_last_lookups fs/namei.c:3892 [inline] path_openat+0x8da/0x3830 fs/namei.c:4131 do_filp_open+0x1fa/0x410 fs/namei.c:4161 do_sys_openat2+0x121/0x1c0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_openat fs/open.c:1468 [inline] __se_sys_openat fs/open.c:1463 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1463 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f16b858efc9 RSP: 002b:00007f16b67d5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f16b87e6180 RCX: 00007f16b858efc9 RDX: 000000000000275a RSI: 0000200000000240 RDI: ffffffffffffff9c RBP: 00007f16b8611f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f16b87e6218 R14: 00007f16b87e6180 R15: 00007fff3a030558 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8df3d960 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8df3d960 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline] #0: ffffffff8df3d960 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775 1 lock held by udevd/5196: 2 locks held by getty/5582: #0: ffff88814dfcd0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 2 locks held by syz-executor/5835: 3 locks held by syz.4.249/7010: 2 locks held by syz.4.249/7014: #0: ffff88805614a420 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:498 #1: ffff8880776c20b8 (&type->i_mutex_dir_key#9){++++}-{4:4}, at: inode_lock include/linux/fs.h:1063 [inline] #1: ffff8880776c20b8 (&type->i_mutex_dir_key#9){++++}-{4:4}, at: open_last_lookups fs/namei.c:3892 [inline] #1: ffff8880776c20b8 (&type->i_mutex_dir_key#9){++++}-{4:4}, at: path_openat+0x8da/0x3830 fs/namei.c:4131 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:337 [inline] watchdog+0xfa9/0xff0 kernel/hung_task.c:500 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 72 Comm: kworker/u8:4 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:get_flush_tlb_info+0x1ba/0x260 arch/x86/mm/tlb.c:1436 Code: 26 48 89 f8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 93 00 00 00 41 c6 46 26 00 4c 89 f0 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f <5d> e9 10 47 e2 09 cc 48 c7 c7 80 fc da 8d 4c 89 f6 e8 f0 dc 4f 03 RSP: 0018:ffffc9000213f5b0 EFLAGS: 00000086 RAX: ffff8880b8738f00 RBX: ffff88813fe58000 RCX: 0000000000000000 RDX: 00002aaaaaaac000 RSI: ffffffff8bbf25a0 RDI: ffff8880b8738f26 RBP: 000000000000000c R08: 0000000000000000 R09: 0000000000025299 R10: dffffc0000000000 R11: ffffed1027fcb0ec R12: ffff88813fe58000 R13: 0000000000000001 R14: 000000000000000c R15: 00002aaaaaaab000 FS: 0000000000000000(0000) GS:ffff888125fe2000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4fdedb4198 CR3: 000000000dd38000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: flush_tlb_mm_range+0xee/0x12d0 arch/x86/mm/tlb.c:1459 __text_poke+0x6e9/0xa10 arch/x86/kernel/alternative.c:2559 text_poke arch/x86/kernel/alternative.c:2596 [inline] smp_text_poke_batch_finish+0xd0f/0x1130 arch/x86/kernel/alternative.c:2985 arch_jump_label_transform_apply+0x1c/0x30 arch/x86/kernel/jump_label.c:146 static_key_enable_cpuslocked+0x128/0x250 kernel/jump_label.c:210 static_key_enable+0x1a/0x20 kernel/jump_label.c:223 toggle_allocation_gate+0xad/0x240 mm/kfence/core.c:852 process_one_work+0x94a/0x15d0 kernel/workqueue.c:3267 process_scheduled_works kernel/workqueue.c:3350 [inline] worker_thread+0x9b0/0xee0 kernel/workqueue.c:3431 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245