XFS (loop5): empty log check failed XFS (loop2): totally zeroed log XFS (loop5): log mount/recovery failed: error -5 XFS (loop2): Failed to read root inode 0x400000d88, error 22 XFS (loop5): log mount failed INFO: task syz-executor.0:28065 blocked for more than 140 seconds. Not tainted 5.0.0-rc5+ #63 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D26384 28065 8169 0x00000004 Call Trace: context_switch kernel/sched/core.c:2844 [inline] __schedule+0x817/0x1cc0 kernel/sched/core.c:3485 schedule+0x92/0x180 kernel/sched/core.c:3529 xlog_grant_head_wait+0x14e/0xd00 fs/xfs/xfs_log.c:263 xlog_grant_head_check+0x436/0x4a0 fs/xfs/xfs_log.c:325 xfs_log_reserve+0x371/0xae0 fs/xfs/xfs_log.c:454 xfs_log_write_unmount_record fs/xfs/xfs_log.c:854 [inline] xfs_log_unmount_write fs/xfs/xfs_log.c:953 [inline] xfs_log_quiesce+0x40d/0xcf0 fs/xfs/xfs_log.c:1020 xfs_log_unmount+0x22/0xb0 fs/xfs/xfs_log.c:1034 xfs_log_mount_cancel+0x47/0x60 fs/xfs/xfs_log.c:816 xfs_mountfs+0x1563/0x1fb0 fs/xfs/xfs_mount.c:1068 xfs_fs_fill_super+0xd0a/0x14f0 fs/xfs/xfs_super.c:1746 mount_bdev+0x307/0x3c0 fs/super.c:1159 xfs_fs_mount+0x35/0x40 fs/xfs/xfs_super.c:1820 mount_fs+0x106/0x3ff fs/super.c:1258 vfs_kern_mount.part.0+0x6f/0x410 fs/namespace.c:959 vfs_kern_mount fs/namespace.c:949 [inline] do_new_mount fs/namespace.c:2513 [inline] do_mount+0x581/0x2d30 fs/namespace.c:2847 ksys_mount+0xdb/0x150 fs/namespace.c:3063 __do_sys_mount fs/namespace.c:3077 [inline] __se_sys_mount fs/namespace.c:3074 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3074 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a8aa Code: 00 00 48 29 f0 48 3d f8 82 00 00 76 7d 48 81 ec 08 80 00 00 48 89 ac 24 00 80 00 00 48 8d ac 24 00 80 00 00 48 8b 59 20 48 85 75 67 48 8b b4 24 20 80 00 00 8b 8c 24 28 80 00 00 48 89 e7 f3 RSP: 002b:00007fa91b404a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fa91b404b30 RCX: 000000000045a8aa RDX: 00007fa91b404ad0 RSI: 0000000020000140 RDI: 00007fa91b404af0 RBP: 0000000020000140 R08: 00007fa91b404b30 R09: 00007fa91b404ad0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003 R13: 0000000000000000 R14: 00000000004dbc68 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1040: #0: 000000002b2faba4 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4389 1 lock held by rsyslogd/8009: #0: 0000000077a5feec (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:795 2 locks held by getty/8131: #0: 00000000f97221db (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002e0ae2cd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8132: #0: 00000000ab909d14 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000844a8c75 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8133: #0: 00000000611d0fd1 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000a7193bdd (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8134: #0: 00000000193342df (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000089f138b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8135: #0: 00000000e901078b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002730b68a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8136: #0: 00000000926e387d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000080be4028 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8137: #0: 000000001edacd4a (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000d29ddd96 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by syz-executor.5/30089: #0: 00000000630592a9 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000331fe1ca (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.0/28065: #0: 0000000081641031 (&type->s_umount_key#71/1){+.+.}, at: alloc_super fs/super.c:227 [inline] #0: 0000000081641031 (&type->s_umount_key#71/1){+.+.}, at: sget_userns+0x208/0xd30 fs/super.c:520 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1040 Comm: khungtaskd Not tainted 5.0.0-rc5+ #63 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x9df/0xee0 kernel/hung_task.c:287 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14673 Comm: kworker/u4:3 Not tainted 5.0.0-rc5+ #63 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:148 [inline] RIP: 0010:mark_lock+0x1/0x1380 kernel/locking/lockdep.c:3036 Code: 48 c7 c7 68 83 92 88 e8 cd 01 50 00 eb 8a 48 c7 c7 34 a6 5c 89 e8 9f 01 50 00 eb c3 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 55 <4c> 8d 4e 20 89 d1 48 b8 00 00 00 00 00 fc ff df 48 89 e5 41 57 49 RSP: 0018:ffff888083f4fa70 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000020000 RDX: 0000000000000008 RSI: ffff88804e74ead0 RDI: ffff88804e74e200 RBP: ffff888083f4fc50 R08: 0000000000000002 R09: 000000000000002b R10: ffff88804e74ead0 R11: 0000000000000000 R12: ffff88804e74eae8 R13: 000000000002002b R14: 000000000000002b R15: ffff88804e74e200 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000099eec000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x16f/0x3f0 kernel/locking/lockdep.c:3841 rcu_lock_acquire include/linux/rcupdate.h:223 [inline] rcu_read_lock include/linux/rcupdate.h:607 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:419 [inline] batadv_nc_worker+0x117/0x760 net/batman-adv/network-coding.c:730 process_one_work+0x98e/0x1790 kernel/workqueue.c:2173 worker_thread+0x98/0xe40 kernel/workqueue.c:2319 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352