XFS (loop2): invalid log iosize: 1 [not 12-30] INFO: task syz-executor.5:25907 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 25907 8137 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 (loop0): SB sanity check failed XFS (loop0): Metadata corruption detected at xfs_sb_read_verify+0x3e7/0x500 fs/xfs/libxfs/xfs_sb.c:685, xfs_sb block 0xffffffffffffffff XFS (loop0): Unmount and run xfs_repair XFS (loop0): First 128 bytes of corrupted metadata buffer: 00000000f2f572a3: 58 46 53 42 00 00 02 00 00 00 00 00 00 00 10 00 XFSB............ 00000000172d95db: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ xfs_fs_fill_super+0xd0e/0x1540 fs/xfs/xfs_super.c:1720 000000003ab60435: 5e 62 73 b8 21 67 42 bb 91 1b 41 8a a1 4a 12 61 ^bs.!gB...A..J.a mount_bdev+0x2fc/0x3b0 fs/super.c:1158 00000000121c83c6: 00 00 00 00 00 00 80 40 00 00 00 00 00 00 00 20 .......@....... mount_fs+0xa3/0x310 fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 000000006f7305c0: 00 00 00 00 00 00 00 21 00 00 00 00 00 00 00 22 .......!......." vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2492 [inline] do_mount+0x115c/0x2f50 fs/namespace.c:2822 00000000e1cf616b: 00 00 00 08 00 00 80 00 00 00 00 02 00 00 00 00 ................ 0000000078138208: 00 00 0b 40 b4 b4 02 00 01 00 00 02 00 00 00 00 ...@............ ksys_mount+0xcf/0x130 fs/namespace.c:3038 00000000c86063a5: 00 00 00 00 00 00 00 00 09 09 08 01 0f 00 00 19 ................ __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 XFS (loop0): SB validate failed with error -117. RIP: 0033:0x7f32d83e062a Code: Bad RIP value. RSP: 002b:00007f32d6950f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000bb76 RCX: 00007f32d83e062a RDX: 0000000020000140 RSI: 000000002000bb40 RDI: 00007f32d6950fe0 RBP: 00007f32d6951020 R08: 00007f32d6951020 R09: 0000000002000850 R10: 0000000002000850 R11: 0000000000000202 R12: 0000000020000140 R13: 000000002000bb40 R14: 00007f32d6950fe0 R15: 00000000200000c0 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 000000007de2807b (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by in:imklog/7725: #0: 00000000bab3ce07 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by kworker/u4:6/8847: 2 locks held by syz-executor.5/25907: #0: 000000000043f4fb (&type->s_umount_key#52/1){+.+.}, at: alloc_super fs/super.c:226 [inline] #0: 000000000043f4fb (&type->s_umount_key#52/1){+.+.}, at: sget_userns+0x20b/0xcd0 fs/super.c:519 #1: 0000000090a06cc2 (sb_internal#3){.+.+}, at: sb_start_intwrite include/linux/fs.h:1626 [inline] #1: 0000000090a06cc2 (sb_internal#3){.+.+}, at: xfs_trans_alloc+0x4fc/0x700 fs/xfs/xfs_trans.c:271 2 locks held by syz-executor.5/28269: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1570 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8615 Comm: kworker/u4:5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 Workqueue: phy2 ieee80211_iface_work RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:26 [inline] RIP: 0010:__orc_find+0x7c/0xf0 arch/x86/kernel/unwind_orc.c:48 Code: e8 3f 48 c1 fa 02 48 01 d0 48 d1 f8 48 8d 5c 85 00 48 89 d8 48 c1 e8 03 42 0f b6 14 38 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 <84> d2 75 48 48 63 03 48 01 d8 48 39 c1 73 b0 4c 8d 63 fc 49 39 ec RSP: 0018:ffff888096d77818 EFLAGS: 00000006 RAX: 0000000000000003 RBX: ffffffff8b3394d0 RCX: ffffffff813e4e7b RDX: 0000000000000000 RSI: ffffffff8b91bbaa RDI: ffffffff8b3394d0 RBP: ffffffff8b3394d0 R08: 0000000000000000 R09: ffffffff8b91bbaa R10: ffff888096d779ef R11: 0000000000074071 R12: ffffffff8b3394d0 R13: ffffffff8b3394d0 R14: ffffffff8b3394d0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f46285a6000 CR3: 0000000049e99000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: orc_find arch/x86/kernel/unwind_orc.c:159 [inline] unwind_next_frame+0x339/0x1400 arch/x86/kernel/unwind_orc.c:422 __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] __kasan_slab_free+0x126/0x1f0 mm/kasan/kasan.c:521 __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x7f/0x260 mm/slab.c:3765 kfree_skbmem+0xc1/0x140 net/core/skbuff.c:595 __kfree_skb net/core/skbuff.c:655 [inline] kfree_skb+0x127/0x3d0 net/core/skbuff.c:672 ieee80211_iface_work+0x289/0x8a0 net/mac80211/iface.c:1353 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