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 04 0c 00 00 00 ................ XFS (loop5): SB validate failed with error -117. INFO: task syz-executor.0:24481 blocked for more than 140 seconds. Not tainted 5.0.0-rc5+ #66 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D26560 24481 12587 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:00007fe0d4058a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fe0d4058b30 RCX: 000000000045a8aa RDX: 00007fe0d4058ad0 RSI: 0000000020000100 RDI: 00007fe0d4058af0 RBP: 0000000020000100 R08: 00007fe0d4058b30 R09: 00007fe0d4058ad0 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: 0000000058a6f328 (rcu_read_lock){....}, at: debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:4389 2 locks held by rs:main Q:Reg/7612: 1 lock held by rsyslogd/7614: #0: 000000007a539803 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0xee/0x110 fs/file.c:795 2 locks held by getty/7736: #0: 0000000048325131 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000008dc135e8 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7737: #0: 0000000025d4cdd2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002293ae1e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7738: #0: 000000000c043323 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000008fc45b51 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7739: #0: 0000000000548c1b (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000002bd4ac3c (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7740: #0: 0000000077885102 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 0000000051243d73 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7741: #0: 00000000a54919de (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 000000006773a14f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 2 locks held by getty/7742: #0: 000000000fd919ee (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341 #1: 00000000b96ee520 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2154 1 lock held by syz-executor.0/24481: #0: 0000000012795d42 (&type->s_umount_key#74/1){+.+.}, at: alloc_super fs/super.c:227 [inline] #0: 0000000012795d42 (&type->s_umount_key#74/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+ #66 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: 66 Comm: kworker/u4:2 Not tainted 5.0.0-rc5+ #66 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:trace_lock_acquire include/trace/events/lock.h:13 [inline] RIP: 0010:lock_acquire+0x2f3/0x3f0 kernel/locking/lockdep.c:3840 Code: 96 aa 7e 0f 85 4f fe ff ff e8 7a 0f a9 ff e9 45 fe ff ff 44 89 5d c0 65 ff 05 79 96 aa 7e 48 8b 05 8a b9 01 08 e8 ad d4 05 00 <44> 8b 5d c0 85 c0 74 09 80 3d e7 62 01 08 00 74 4f 65 ff 0d 55 96 RSP: 0018:ffff8880a940fc80 EFLAGS: 00000002 RAX: 0000000000000000 RBX: ffff8880a9404280 RCX: 1ffffffff12b951f RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8880a9404afc RBP: ffff8880a940fcc8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed1015d05bcf R11: 0000000000000000 R12: ffffffff889a4200 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 0000000099778000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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