INFO: task syz-executor157:5068 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-14321-g0a924817d2ed #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor157 state:D stack:20400 pid:5068 ppid:5067 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6555 schedule+0xcb/0x190 kernel/sched/core.c:6631 xlog_grant_head_wait+0x317/0x530 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x28c/0x470 xfs_log_reserve+0x310/0x6f0 fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x231/0x690 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x410/0x610 fs/xfs/xfs_trans.c:283 xfs_qm_qino_alloc+0x281/0x960 fs/xfs/xfs_qm.c:779 xfs_qm_init_quotainos+0x616/0x890 fs/xfs/xfs_qm.c:1548 xfs_qm_init_quotainfo+0x122/0x1000 fs/xfs/xfs_qm.c:643 xfs_qm_mount_quotas+0x98/0x610 fs/xfs/xfs_qm.c:1432 xfs_mountfs+0x1860/0x1ef0 fs/xfs/xfs_mount.c:959 xfs_fs_fill_super+0xf95/0x11f0 fs/xfs/xfs_super.c:1666 get_tree_bdev+0x400/0x620 fs/super.c:1282 vfs_get_tree+0x88/0x270 fs/super.c:1489 do_new_mount+0x289/0xad0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f36dd55a5fa RSP: 002b:00007ffe1cea4bb8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00646975756f6e2c RCX: 00007f36dd55a5fa RDX: 000000002000bb00 RSI: 0000000020000000 RDI: 00007ffe1cea4bd0 RBP: 00007ffe1cea4bd0 R08: 00007ffe1cea4c10 R09: 0000000000000002 R10: 0000000000008000 R11: 0000000000000206 R12: 0000000000000004 R13: 00005555563722c0 R14: 0000000000008000 R15: 00007ffe1cea4c10 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d326e90 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d327690 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d326cc0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4747: #0: ffff88802822e098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 2 locks held by syz-executor157/5068: #0: ffff88802b68c0e0 (&type->s_umount_key#41/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 #1: ffff88802b68c650 (sb_internal#2){.+.+}-{0:0}, at: xfs_qm_qino_alloc+0x281/0x960 fs/xfs/xfs_qm.c:779 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-14321-g0a924817d2ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 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: 9 Comm: kworker/u4:0 Not tainted 6.1.0-syzkaller-14321-g0a924817d2ed #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:lock_is_held_type+0x117/0x180 kernel/locking/lockdep.c:5713 Code: 00 48 c7 c7 60 cc ed 8a e8 46 14 00 00 b8 ff ff ff ff 65 0f c1 05 09 e6 51 75 83 f8 01 75 38 9c 8f 04 24 f7 04 24 00 02 00 00 <75> 46 41 f7 c4 00 02 00 00 74 01 fb 65 48 8b 04 25 28 00 00 00 48 RSP: 0018:ffffc900000e7638 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 0000000000000006 RCX: 0000000080000002 RDX: 0000000000000000 RSI: ffffffff8aedcc60 RDI: ffffffff8b4bbfe0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1d2cabe R10: fffffbfff1d2cabe R11: 1ffffffff1d2cabd R12: 0000000000000046 R13: ffff88813fed0000 R14: 00000000ffffffff R15: ffffffff8d326c40 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005611ada35680 CR3: 000000000d08e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x87/0x110 kernel/rcu/update.c:125 trace_tlb_flush+0x93/0x210 include/trace/events/tlb.h:38 switch_mm_irqs_off+0x5f6/0x9c0 unuse_temporary_mm arch/x86/kernel/alternative.c:1518 [inline] __text_poke+0x69e/0x900 arch/x86/kernel/alternative.c:1628 text_poke arch/x86/kernel/alternative.c:1671 [inline] text_poke_bp_batch+0x64c/0x850 arch/x86/kernel/alternative.c:2027 text_poke_flush arch/x86/kernel/alternative.c:2131 [inline] text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:2138 arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146 static_key_disable_cpuslocked+0xc8/0x1b0 kernel/jump_label.c:235 static_key_disable+0x16/0x20 kernel/jump_label.c:243 toggle_allocation_gate+0x1a8/0x240 mm/kfence/core.c:804 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308