00000040: 00 00 00 00 00 00 00 81 00 00 00 00 00 00 00 82 ................ 00000050: 00 00 00 01 00 00 10 00 00 00 00 01 00 00 00 00 ................ 00000060: 00 00 06 c0 b4 a4 02 00 01 00 00 10 00 00 00 00 ................ 00000070: 00 00 00 00 00 00 00 00 0c 09 08 00 00 00 00 00 ................ XFS (loop5): SB validate failed with error -117. INFO: task syz-executor4:31597 blocked for more than 140 seconds. Not tainted 5.0.0-rc4+ #58 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor4 D26416 31597 8184 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: Bad RIP value. RSP: 002b:00007f1e40813a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f1e40813b30 RCX: 000000000045a8aa RDX: 00007f1e40813ad0 RSI: 0000000020000100 RDI: 00007f1e40813af0 RBP: 0000000020000100 R08: 00007f1e40813b30 R09: 00007f1e40813ad0 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000003 R13: 0000000000000000 R14: 00000000004dbb70 R15: 00000000ffffffff Showing all locks held in the system: 1 lock held by khungtaskd/1040: #0: 00000000f459f02b (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4389 1 lock held by rsyslogd/7998: #0: 0000000036db3821 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:795 2 locks held by getty/8119: #0: 000000004232da9d (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000000df7b69e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8120: #0: 00000000bb005a8c (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000f9dac7b0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8121: #0: 00000000b44fb158 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000003acf3450 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8122: #0: 00000000daeb7c37 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000043123222 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8123: #0: 00000000ba99c9ea (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000e13b86a4 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8124: #0: 0000000016a241d7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000036afc449 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/8125: #0: 0000000055bff94b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000004966ef3c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 1 lock held by syz-executor4/31597: #0: 0000000089de80a1 (&type->s_umount_key#75/1){+.+.}, at: alloc_super fs/super.c:227 [inline] #0: 0000000089de80a1 (&type->s_umount_key#75/1){+.+.}, at: sget_userns+0x208/0xd30 fs/super.c:520 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1040 Comm: khungtaskd Not tainted 5.0.0-rc4+ #58 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 29104 Comm: kworker/1:1 Not tainted 5.0.0-rc4+ #58 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events rht_deferred_worker RIP: 0010:rht_shrink_below_30 include/linux/rhashtable.h:183 [inline] RIP: 0010:rht_deferred_worker+0x127e/0x1a40 lib/rhashtable.c:414 Code: 8e d4 04 00 00 41 8b 1c 24 be cd cc cc cc 89 cf 89 4d d0 44 8d 34 5b 4c 0f af f6 49 c1 ee 23 44 89 f6 e8 55 05 46 fe 8b 4d d0 <44> 39 f1 0f 83 92 f5 ff ff e8 44 04 46 fe 4d 8d 77 dc 48 b8 00 00 RSP: 0018:ffff88808eed7c98 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000080 RCX: 0000000000000000 RDX: 0000000000000026 RSI: 0000000000000000 RDI: 0000000000000004 RBP: ffff88808eed7d30 R08: ffff88809ff381c0 R09: fffffbfff12bcac4 R10: fffffbfff12bcac3 R11: ffffffff895e561b R12: ffff8880a9946380 R13: ffffffff895e5618 R14: 0000000000000026 R15: ffffffff895e5520 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f72b1681140 CR3: 00000000a01bb000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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