INFO: task syz-executor.5:32141 blocked for more than 143 seconds. Not tainted 6.4.0-rc7-syzkaller-00041-ge660abd551f1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24216 pid:32141 ppid:5028 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x187b/0x4900 kernel/sched/core.c:6669 schedule+0xc3/0x180 kernel/sched/core.c:6745 xlog_grant_head_wait+0x387/0x910 fs/xfs/xfs_log.c:307 xlog_grant_head_check+0x299/0x480 xfs_log_reserve+0x3c4/0xb10 fs/xfs/xfs_log.c:486 xfs_trans_reserve+0x239/0x6a0 fs/xfs/xfs_trans.c:194 xfs_trans_alloc+0x420/0x810 fs/xfs/xfs_trans.c:283 xfs_qm_qino_alloc+0x414/0xa30 fs/xfs/xfs_qm.c:779 xfs_qm_init_quotainos+0x622/0x8a0 fs/xfs/xfs_qm.c:1560 xfs_qm_init_quotainfo+0x11e/0x1280 fs/xfs/xfs_qm.c:643 xfs_qm_mount_quotas+0x9b/0x620 fs/xfs/xfs_qm.c:1444 xfs_mountfs+0x1865/0x1f10 fs/xfs/xfs_mount.c:959 xfs_fs_fill_super+0xfd7/0x1230 fs/xfs/xfs_super.c:1694 get_tree_bdev+0x405/0x620 fs/super.c:1303 vfs_get_tree+0x8c/0x270 fs/super.c:1510 do_new_mount+0x28f/0xae0 fs/namespace.c:3039 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f258ce8d8ba RSP: 002b:00007f258dc7bf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000baee RCX: 00007f258ce8d8ba RDX: 000000002000bb00 RSI: 000000002000bb40 RDI: 00007f258dc7bfe0 RBP: 00007f258dc7c020 R08: 00007f258dc7c020 R09: 0000000000000003 R10: 0000000000000003 R11: 0000000000000202 R12: 000000002000bb00 R13: 000000002000bb40 R14: 00007f258dc7bfe0 R15: 0000000020000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8cf276f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8cf27ab0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8cf27520 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4755: #0: ffff888028e85098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2176 1 lock held by syz-executor.4/5033: #0: ffff888090ca20e0 (&type->s_umount_key#62){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 3 locks held by syz-executor.0/5047: 3 locks held by kworker/u4:9/6640: 2 locks held by syz-executor.5/32141: #0: ffff8880395f40e0 (&type->s_umount_key#51/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 #1: ffff8880395f4650 (sb_internal#2){.+.+}-{0:0}, at: xfs_qm_qino_alloc+0x414/0xa30 fs/xfs/xfs_qm.c:779 2 locks held by syz-executor.2/938: 2 locks held by syz-executor.1/949: #0: ffff88809150e0e0 (&type->s_umount_key#60/1){+.+.}-{3:3}, at: alloc_super+0x217/0x930 fs/super.c:228 #1: ffff8880b983c1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 2 locks held by syz-executor.5/951: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc7-syzkaller-00041-ge660abd551f1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x187/0x300 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+0xec2/0xf00 kernel/hung_task.c:379 kthread+0x2b8/0x350 kernel/kthread.c:379 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: 951 Comm: syz-executor.5 Not tainted 6.4.0-rc7-syzkaller-00041-ge660abd551f1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:preempt_latency_start kernel/sched/core.c:5795 [inline] RIP: 0010:preempt_count_add+0xb7/0x180 kernel/sched/core.c:5818 Code: f7 e8 bd 67 0d 00 85 c0 74 0a 45 31 f6 31 ff e8 af 67 0d 00 65 48 8b 1d d7 b9 a4 7e 48 81 c3 b8 14 00 00 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 6a 5b 84 00 4c 89 33 5b 41 5e 41 RSP: 0018:ffffc9000324ecb0 EFLAGS: 00000a02 RAX: 1ffff110041bb297 RBX: ffff888020dd94b8 RCX: ffffffff8ab9ed00 RDX: dffffc0000000000 RSI: ffffffff81d75893 RDI: ffffffff813cbcb0 RBP: ffffc9000324edd8 R08: 0000000000000003 R09: ffffc9000324ee90 R10: ffffc9000324edf0 R11: dffffc0000000001 R12: ffff888020dd8000 R13: 1ffff92000649db4 R14: ffffffff813cbcb0 R15: dffffc0000000000 FS: 00007faff5c7f700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9e4e7ad988 CR3: 000000007f2b9000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: unwind_next_frame+0xb0/0x2200 arch/x86/kernel/unwind_orc.c:451 arch_stack_walk+0x111/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x117/0x1c0 kernel/stacktrace.c:122 save_stack+0xfa/0x1e0 mm/page_owner.c:128 __set_page_owner+0x29/0x380 mm/page_owner.c:192 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1e6/0x210 mm/page_alloc.c:1731 prep_new_page mm/page_alloc.c:1738 [inline] get_page_from_freelist+0x321c/0x33a0 mm/page_alloc.c:3502 __alloc_pages+0x255/0x670 mm/page_alloc.c:4768 __folio_alloc+0x13/0x30 mm/page_alloc.c:4800 vma_alloc_folio+0x48a/0x9a0 mm/mempolicy.c:2240 shmem_alloc_folio mm/shmem.c:1579 [inline] shmem_alloc_and_acct_folio+0x5e7/0xe10 mm/shmem.c:1603 shmem_get_folio_gfp+0x120f/0x3470 mm/shmem.c:1948 shmem_get_folio mm/shmem.c:2079 [inline] shmem_write_begin+0x172/0x4e0 mm/shmem.c:2573 generic_perform_write+0x300/0x5e0 mm/filemap.c:3929 __generic_file_write_iter+0x17a/0x400 mm/filemap.c:4057 generic_file_write_iter+0xaf/0x310 mm/filemap.c:4089 call_write_iter include/linux/fs.h:1868 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x790/0xb20 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7faff4e3dfff Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007faff5c7ef10 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007faff4e3dfff RDX: 0000000002000000 RSI: 00007fafeb5ff000 RDI: 0000000000000003 RBP: 00007fafeb5ff000 R08: 0000000000000000 R09: 000000000000bae5 R10: 0000000002000000 R11: 0000000000000293 R12: 0000000000000000 R13: 00007faff5c7efdc R14: 00007faff5c7efe0 R15: 000000002000bbc2