INFO: task syz-executor.1:808 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 XFS (loop3): Unmounting Filesystem "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D26136 808 8144 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 xlog_grant_head_wait+0x13b/0xcd0 fs/xfs/xfs_log.c:263 xlog_grant_head_check+0x3c8/0x420 fs/xfs/xfs_log.c:325 xfs_log_reserve+0x347/0xa70 fs/xfs/xfs_log.c:454 XFS (loop4): DAX enabled. Warning: EXPERIMENTAL, use at your own risk xfs_trans_reserve+0x63a/0x9c0 fs/xfs/xfs_trans.c:197 XFS (loop4): DAX unsupported by block device. Turning off DAX. xfs_trans_alloc+0x2f7/0x700 fs/xfs/xfs_trans.c:289 XFS (loop5): SB sanity check failed xfs_qm_qino_alloc+0x19a/0x950 fs/xfs/xfs_qm.c:777 XFS (loop5): Metadata corruption detected at xfs_sb_read_verify+0x3e7/0x500 fs/xfs/libxfs/xfs_sb.c:685, xfs_sb block 0xffffffffffffffff XFS (loop4): Mounting V4 Filesystem xfs_qm_init_quotainos+0x563/0x730 fs/xfs/xfs_qm.c:1548 XFS (loop4): Ending clean mount XFS (loop5): Unmount and run xfs_repair XFS (loop4): Quotacheck needed: Please wait. XFS (loop5): First 128 bytes of corrupted metadata buffer: 00000000566d5396: 58 46 53 42 00 00 02 00 00 00 00 00 00 01 00 00 XFSB............ 00000000df26461b: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ xfs_qm_init_quotainfo+0x146/0xd70 fs/xfs/xfs_qm.c:659 0000000004b04e3b: 5e 62 73 b8 21 67 42 bb 91 1b 41 8a a1 4a 12 61 ^bs.!gB...A..J.a xfs_qm_mount_quotas+0x55/0x680 fs/xfs/xfs_qm.c:1432 xfs_mountfs+0x17e2/0x1bf0 fs/xfs/xfs_mount.c:1001 00000000bc21e1ac: 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 20 .......@....... 000000000d5fe004: 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 22 .......!......." xfs_fs_fill_super+0xd0e/0x1540 fs/xfs/xfs_super.c:1720 00000000113fad30: 00 00 00 00 00 00 80 00 00 00 00 02 00 00 00 00 ................ mount_bdev+0x2fc/0x3b0 fs/super.c:1158 mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 0000000064450956: 00 00 0b 40 b4 b4 02 00 01 00 00 02 00 00 00 00 ...@............ vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 00000000e0415409: 00 00 00 00 00 00 00 00 09 09 08 01 0f 00 00 19 ................ XFS (loop5): SB validate failed with error -117. XFS (loop4): Quotacheck: Done. ksys_mount+0xcf/0x130 fs/namespace.c:3038 __do_sys_mount fs/namespace.c:3052 [inline] __se_sys_mount fs/namespace.c:3049 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3049 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fe1b1fed5fa Code: Bad RIP value. RSP: 002b:00007fe1b055df88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000baed RCX: 00007fe1b1fed5fa RDX: 000000002000bb00 RSI: 0000000020000040 RDI: 00007fe1b055dfe0 RBP: 00007fe1b055e020 R08: 00007fe1b055e020 R09: 0000000000800000 R10: 0000000000800000 R11: 0000000000000202 R12: 000000002000bb00 R13: 0000000020000040 R14: 00007fe1b055dfe0 R15: 00000000200000c0 Showing all locks held in the system: XFS (loop4): Unmounting Filesystem 1 lock held by khungtaskd/1570: #0: 00000000d8de8e9c (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7798: #0: 00000000e23146fa (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by agetty/8040: #0: 0000000027506d45 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 0000000032442296 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 4 locks held by syz-fuzzer/9789: 2 locks held by syz-executor.1/808: #0: 0000000008c57644 (&type->s_umount_key#64/1){+.+.}, at: alloc_super fs/super.c:226 [inline] #0: 0000000008c57644 (&type->s_umount_key#64/1){+.+.}, at: sget_userns+0x20b/0xcd0 fs/super.c:519 #1: 00000000afab627d (sb_internal#3){.+.+}, at: sb_start_intwrite include/linux/fs.h:1626 [inline] #1: 00000000afab627d (sb_internal#3){.+.+}, at: xfs_trans_alloc+0x4fc/0x700 fs/xfs/xfs_trans.c:271 2 locks held by syz-executor.3/4916: 2 locks held by syz-executor.0/4921: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1570 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4692 Comm: systemd-journal Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:___bpf_prog_run+0x82/0x4e80 kernel/bpf/core.c:1065 Code: 7f 08 84 c0 0f 85 f7 38 00 00 45 0f b6 3e 4a 8d 3c fd 60 b4 6f 88 4c 89 fe 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 c7 38 00 00 <43> ff 24 fc e8 45 4e f6 ff 49 8d 7e 01 48 89 f8 48 89 fa 48 c1 e8 RSP: 0018:ffff8880a0e5fa30 EFLAGS: 00000246 RAX: 1ffffffff10df74b RBX: dffffc0000000000 RCX: 1ffff110141cbf67 RDX: 0000000000000000 RSI: 00000000000000bf RDI: ffffffff886fba58 RBP: ffff8880a0e5fb00 R08: 0000000000000000 R09: 000000007fff0000 R10: 0000000000000004 R11: 0000000000000000 R12: ffffffff886fb460 R13: ffffed10141cbf62 R14: ffffc90001a97048 R15: 00000000000000bf FS: 00007f640f9078c0(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f640a629000 CR3: 00000000a0e6d000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: