INFO: task syz-executor108:5081 blocked for more than 143 seconds. Not tainted 6.2.0-next-20230225-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor108 state:D stack:25448 pid:5081 ppid:5080 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0x24b4/0x5ac0 kernel/sched/core.c:6622 schedule+0xde/0x1a0 kernel/sched/core.c:6698 xlog_grant_head_wait+0x159/0xe30 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x3d9/0x420 fs/xfs/xfs_log.c:369 xfs_log_reserve+0x39d/0xb80 fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x479/0x670 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x33c/0x9f0 fs/xfs/xfs_trans.c:283 xfs_qm_qino_alloc+0x397/0xb70 fs/xfs/xfs_qm.c:779 xfs_qm_init_quotainos+0x546/0x710 fs/xfs/xfs_qm.c:1548 xfs_qm_init_quotainfo+0xce/0xc00 fs/xfs/xfs_qm.c:643 xfs_qm_mount_quotas+0x59/0x690 fs/xfs/xfs_qm.c:1432 xfs_mountfs+0x1e07/0x1f60 fs/xfs/xfs_mount.c:959 xfs_fs_fill_super+0x13c0/0x2020 fs/xfs/xfs_super.c:1676 get_tree_bdev+0x444/0x760 fs/super.c:1294 vfs_get_tree+0x8d/0x350 fs/super.c:1501 do_new_mount fs/namespace.c:3042 [inline] path_mount+0x1342/0x1e40 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3d51b0e61a RSP: 002b:00007ffd32b75c18 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00646975756f6e2c RCX: 00007f3d51b0e61a RDX: 000000002000bb00 RSI: 0000000020000000 RDI: 00007ffd32b75c30 RBP: 00007ffd32b75c30 R08: 00007ffd32b75c70 R09: 0000000000000002 R10: 0000000000008000 R11: 0000000000000206 R12: 0000000000000004 R13: 00005555572342c0 R14: 0000000000008000 R15: 00007ffd32b75c70 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c796bb0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c7968b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8c797700 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6495 2 locks held by getty/4757: #0: ffff88802c074098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by syz-executor108/5081: #0: ffff88801d9ce0e0 (&type->s_umount_key#41/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228 #1: ffff88801d9ce650 (sb_internal#2){.+.+}-{0:0}, at: xfs_qm_qino_alloc+0x397/0xb70 fs/xfs/xfs_qm.c:779 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-next-20230225-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x316/0x3e0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x3a7/0x460 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe94/0x11e0 kernel/hung_task.c:379 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 931 Comm: kworker/u4:5 Not tainted 6.2.0-next-20230225-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:pud_pfn_mask arch/x86/include/asm/pgtable_types.h:408 [inline] RIP: 0010:pud_pgtable arch/x86/include/asm/pgtable.h:857 [inline] RIP: 0010:pmd_offset include/linux/pgtable.h:111 [inline] RIP: 0010:pmd_alloc include/linux/mm.h:2571 [inline] RIP: 0010:walk_to_pmd+0x11c/0x2a0 mm/memory.c:1769 Code: 4c 89 f6 e8 16 12 c2 ff 4d 85 f6 0f 84 01 01 00 00 e8 98 15 c2 ff 49 89 dc 31 ff 41 81 e4 80 00 00 00 4c 89 e6 e8 f4 11 c2 ff <4d> 85 e4 48 b8 00 f0 ff ff ff ff 0f 00 49 bc 00 00 00 c0 ff ff 0f RSP: 0018:ffffc90004d5f970 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000012465067 RCX: ffffffff81c2902c RDX: ffff88801ed29d40 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00002aaaaaaab000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffff888012468000 R14: 0000000012465007 R15: ffff888012468000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559fe348e680 CR3: 000000000c571000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __get_locked_pte+0x27/0x270 mm/memory.c:1780 get_locked_pte include/linux/mm.h:2448 [inline] __text_poke+0x1b3/0x8e0 arch/x86/kernel/alternative.c:1584 text_poke arch/x86/kernel/alternative.c:1669 [inline] text_poke_bp_batch+0x3af/0x770 arch/x86/kernel/alternative.c:1992 text_poke_flush arch/x86/kernel/alternative.c:2161 [inline] text_poke_flush arch/x86/kernel/alternative.c:2158 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:2168 arch_jump_label_transform_apply+0x17/0x30 arch/x86/kernel/jump_label.c:146 jump_label_update+0x32f/0x410 kernel/jump_label.c:829 static_key_disable_cpuslocked+0x156/0x1b0 kernel/jump_label.c:235 static_key_disable+0x1a/0x20 kernel/jump_label.c:243 toggle_allocation_gate mm/kfence/core.c:804 [inline] toggle_allocation_gate+0x143/0x230 mm/kfence/core.c:791 process_one_work+0x9bf/0x1820 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.463 msecs