000000006df7eb98: 00 00 0b 40 b4 b4 02 00 01 00 00 02 00 00 00 00 ...@............ 0000000099e36dc7: 00 00 00 00 00 00 00 00 09 09 08 01 0f 00 00 19 ................ XFS (loop3): SB validate failed with error -117. INFO: task syz-executor.5:30143 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.5 D26136 30143 8158 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 base_sock_release(00000000a28bf016) sk=00000000d25761e0 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 base_sock_release(00000000d0f9feba) sk=0000000016dd35d0 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:0x7fd85289f5fa Code: Bad RIP value. RSP: 002b:00007fd850e0ff88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000baed RCX: 00007fd85289f5fa RDX: 000000002000bb00 RSI: 000000002000bb40 RDI: 00007fd850e0ffe0 RBP: 00007fd850e10020 R08: 00007fd850e10020 R09: 0000000002000000 R10: 0000000002000000 R11: 0000000000000202 R12: 000000002000bb00 R13: 000000002000bb40 R14: 00007fd850e0ffe0 R15: 0000000020000000 Showing all locks held in the system: 1 lock held by khungtaskd/1571: #0: 00000000183a9c12 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 XFS (loop4): Mounting V4 Filesystem 1 lock held by in:imklog/7776: #0: 00000000c4f8b1eb (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by agetty/7781: XFS (loop4): Failed to read root inode 0x1e, error 22 #0: 0000000030813669 (&tty->ldisc_sem){++++}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:272 #1: 00000000fa03de07 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x217/0x1950 drivers/tty/n_tty.c:2154 3 locks held by syz-executor.0/8142: #0: 00000000fa34b0e2 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000fa34b0e2 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 00000000183a9c12 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 00000000183a9c12 (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 #2: 000000004253215b (&base->lock){-.-.}, at: lock_timer_base+0x55/0x1b0 kernel/time/timer.c:950 3 locks held by syz-executor.1/8145: #0: 00000000fa34b0e2 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000fa34b0e2 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 #1: 00000000183a9c12 (rcu_read_lock){....}, at: trace_sched_stat_runtime include/trace/events/sched.h:428 [inline] #1: 00000000183a9c12 (rcu_read_lock){....}, at: update_curr+0x2c3/0x870 kernel/sched/fair.c:857 #2: 00000000fa34b0e2 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #2: 00000000fa34b0e2 (&rq->lock){-.-.}, at: ttwu_queue kernel/sched/core.c:1841 [inline] #2: 00000000fa34b0e2 (&rq->lock){-.-.}, at: try_to_wake_up+0x6d0/0x1050 kernel/sched/core.c:2052 2 locks held by kworker/0:0/18789: #0: 000000007ef026dd ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 0000000038610aec ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 2 locks held by syz-executor.5/30143: #0: 000000007fa74096 (&type->s_umount_key#57/1){+.+.}, at: alloc_super fs/super.c:226 [inline] #0: 000000007fa74096 (&type->s_umount_key#57/1){+.+.}, at: sget_userns+0x20b/0xcd0 fs/super.c:519 #1: 000000007e8ed969 (sb_internal#3){.+.+}, at: sb_start_intwrite include/linux/fs.h:1626 [inline] #1: 000000007e8ed969 (sb_internal#3){.+.+}, at: xfs_trans_alloc+0x4fc/0x700 fs/xfs/xfs_trans.c:271 2 locks held by syz-executor.2/797: #0: 000000004957e275 (&sb->s_type->i_mutex_key#13){+.+.}, at: inode_lock include/linux/fs.h:748 [inline] #0: 000000004957e275 (&sb->s_type->i_mutex_key#13){+.+.}, at: __sock_release+0x86/0x2a0 net/socket.c:598 #1: 00000000a94d56ad (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: 00000000a94d56ad (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1571 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16529 Comm: kworker/u4:2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__read_once_size include/linux/compiler.h:263 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:69 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x1c/0x50 kernel/kcov.c:101 Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 8b 34 24 65 48 8b 04 25 c0 df 01 00 65 8b 15 cc 59 9f 7e 81 e2 00 01 1f 00 75 2b <8b> 90 60 13 00 00 83 fa 02 75 20 48 8b 88 68 13 00 00 8b 80 64 13 RSP: 0018:ffff88821be47c08 EFLAGS: 00000046 RAX: ffff88808fbac0c0 RBX: 0000000000000201 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff83772099 RDI: ffffffff8868d9c0 RBP: ffffffff8868d9c0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88808fbac0c0 R13: ffffffff87d8da80 R14: 0000000000000015 R15: ffff88823a8260c0 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7c6fb15000 CR3: 0000000096a6a000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __this_cpu_preempt_check+0x9/0x20 lib/smp_processor_id.c:62 __local_bh_enable_ip+0x1e6/0x270 kernel/softirq.c:184 spin_unlock_bh include/linux/spinlock.h:374 [inline] batadv_nc_purge_paths+0x22d/0x310 net/batman-adv/network-coding.c:482 batadv_nc_worker+0x6fa/0xd50 net/batman-adv/network-coding.c:731 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415