XFS (loop5): metadata I/O error in "xlog_bread_noalign" at daddr 0x10000 len 1 error 5 XFS (loop5): empty log check failed XFS (loop5): log mount/recovery failed: error -5 XFS (loop5): log mount failed XFS (loop3): invalid logbufs value: 9 [not 2-8] INFO: task syz-executor.0:14843 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D26136 14843 8110 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_trans_reserve+0x63a/0x9c0 fs/xfs/xfs_trans.c:197 xfs_trans_alloc+0x2f7/0x700 fs/xfs/xfs_trans.c:289 xlog_finish_defer_ops fs/xfs/xfs_log_recover.c:4841 [inline] xlog_recover_process_intents+0x274/0x430 fs/xfs/xfs_log_recover.c:4947 xlog_recover_finish+0x5f/0x230 fs/xfs/xfs_log_recover.c:5839 xfs_log_mount_finish+0x135/0x450 fs/xfs/xfs_log.c:778 xfs_mountfs+0x1032/0x1bf0 fs/xfs/xfs_mount.c:974 xfs_fs_fill_super+0xd0e/0x1540 fs/xfs/xfs_super.c:1720 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 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 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:0x7fc0bd6e262a Code: Bad RIP value. RSP: 002b:00007fc0bbc52f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000bb76 RCX: 00007fc0bd6e262a RDX: 000000002000bb00 RSI: 000000002000bb40 RDI: 00007fc0bbc52fe0 RBP: 00007fc0bbc53020 R08: 00007fc0bbc53020 R09: 0000000002000850 R10: 0000000002000850 R11: 0000000000000202 R12: 000000002000bb00 R13: 000000002000bb40 R14: 00007fc0bbc52fe0 R15: 0000000020000680 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 000000008dd3ea0e (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7809: #0: 00000000b92e0233 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 3 locks held by kworker/u4:4/27779: #0: 0000000029d0bbc1 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 0000000029d0bbc1 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 000000008dd3ea0e (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 000000008dd3ea0e (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 #2: 000000000564cc22 (&base->lock){-.-.}, at: lock_timer_base+0x55/0x1b0 kernel/time/timer.c:950 2 locks held by syz-executor.0/14843: #0: 00000000f0f7a75d (&type->s_umount_key#55/1){+.+.}, at: alloc_super fs/super.c:226 [inline] #0: 00000000f0f7a75d (&type->s_umount_key#55/1){+.+.}, at: sget_userns+0x20b/0xcd0 fs/super.c:519 #1: 00000000d1ab645d (sb_internal#2){.+.+}, at: sb_start_intwrite include/linux/fs.h:1626 [inline] #1: 00000000d1ab645d (sb_internal#2){.+.+}, at: xfs_trans_alloc+0x4fc/0x700 fs/xfs/xfs_trans.c:271 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1571 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/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: 8081 Comm: syz-fuzzer Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0033:0x515e2e Code: d3 44 0f b6 63 03 43 8d 14 14 42 8d 04 1a 48 83 c7 fc 49 89 fa 48 f7 df 48 c1 ff 3f 48 83 e7 04 48 01 fb 48 83 c1 fc 4c 89 d7 <48> 83 f9 04 7d b0 eb a4 44 0f b6 14 3b 48 ff c7 44 01 d2 01 d0 48 RSP: 002b:000000c00051d748 EFLAGS: 00000217 RAX: 00000000037b347e RBX: 00007f0f87888720 RCX: 0000000000000dc0 RDX: 000000000000703f RSI: 00000000065c9b20 RDI: 00000000065ca8e0 RBP: 000000c00051d778 R08: 00007f0f878894e0 R09: 00000000001c9b20 R10: 00000000065ca8e0 R11: 00000000037ac43f R12: 0000000000000000 R13: 0000000000ff7f63 R14: 000000c01e05c1a0 R15: 0000000000007e62 FS: 000000c000510490 GS: 0000000000000000