IPVS: ftp: loaded support on port[0] = 21 INFO: task syz-executor.1:24160 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.1 D26136 24160 8167 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 (loop0): Mounting V4 Filesystem XFS (loop0): totally zeroed log xfs_trans_reserve+0x63a/0x9c0 fs/xfs/xfs_trans.c:197 XFS (loop0): Invalid inode number 0x20 xfs_trans_alloc+0x2f7/0x700 fs/xfs/xfs_trans.c:289 XFS (loop0): Internal error xfs_dir_ino_validate at line 201 of file fs/xfs/libxfs/xfs_dir2.c. Caller xfs_dir2_sf_verify+0x146/0x750 fs/xfs/libxfs/xfs_dir2_sf.c:661 xfs_qm_qino_alloc+0x19a/0x950 fs/xfs/xfs_qm.c:777 xfs_qm_init_quotainos+0x563/0x730 fs/xfs/xfs_qm.c:1548 CPU: 1 PID: 32450 Comm: syz-executor.0 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 xfs_error_report fs/xfs/xfs_error.c:319 [inline] xfs_error_report+0xb0/0xc0 fs/xfs/xfs_error.c:306 xfs_dir_ino_validate fs/xfs/libxfs/xfs_dir2.c:201 [inline] xfs_dir_ino_validate+0x82/0xa0 fs/xfs/libxfs/xfs_dir2.c:192 xfs_dir2_sf_verify+0x146/0x750 fs/xfs/libxfs/xfs_dir2_sf.c:661 xfs_ifork_verify_data+0x12b/0x170 fs/xfs/libxfs/xfs_inode_fork.c:714 xfs_inode_verify_forks+0x21/0x1b0 fs/xfs/xfs_inode.c:3435 xfs_iget_cache_miss fs/xfs/xfs_icache.c:508 [inline] xfs_iget+0x918/0x2bc0 fs/xfs/xfs_icache.c:659 xfs_mountfs+0xdfa/0x1bf0 fs/xfs/xfs_mount.c:897 xfs_qm_init_quotainfo+0x146/0xd70 fs/xfs/xfs_qm.c:659 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 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 xfs_qm_mount_quotas+0x55/0x680 fs/xfs/xfs_qm.c:1432 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fca45c165fa xfs_mountfs+0x17e2/0x1bf0 fs/xfs/xfs_mount.c:1001 Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fca44186f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000baed RCX: 00007fca45c165fa RDX: 000000002000bb00 RSI: 000000002000bb40 RDI: 00007fca44186fe0 RBP: 00007fca44187020 R08: 00007fca44187020 R09: 0000000002000007 R10: 0000000002000007 R11: 0000000000000202 R12: 000000002000bb00 R13: 000000002000bb40 R14: 00007fca44186fe0 R15: 0000000020000000 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 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:0x7f1463b8c5fa Code: Bad RIP value. RSP: 002b:00007f14620fcf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000baed RCX: 00007f1463b8c5fa RDX: 000000002000bb00 RSI: 000000002000bb40 RDI: 00007f14620fcfe0 RBP: 00007f14620fd020 R08: 00007f14620fd020 R09: 0000000002000000 R10: 0000000002000000 R11: 0000000000000202 R12: 000000002000bb00 XFS (loop0): Metadata corruption detected at xfs_dir2_sf_verify+0x4da/0x750 fs/xfs/libxfs/xfs_dir2_sf.c:722, inode 0x20 data fork R13: 000000002000bb40 R14: 00007f14620fcfe0 R15: 0000000020000000 Showing all locks held in the system: 1 lock held by khungtaskd/1570: #0: 000000006428df32 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 1 lock held by systemd-journal/4687: XFS (loop0): Unmount and run xfs_repair 1 lock held by in:imklog/7842: #0: 00000000dbcc25ba (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by kworker/u4:0/9418: 4 locks held by kworker/u4:6/9548: XFS (loop0): First 75 bytes of corrupted metadata buffer: 00000000dca144c8: 05 00 00 00 00 20 05 00 30 66 69 6c 65 30 02 00 ..... ..0file0.. 2 locks held by syz-executor.1/24160: #0: 0000000008de3c82 (&type->s_umount_key#80/1){+.+.}, at: alloc_super fs/super.c:226 [inline] #0: 0000000008de3c82 (&type->s_umount_key#80/1){+.+.}, at: sget_userns+0x20b/0xcd0 fs/super.c:519 #1: 00000000aba73ba9 (sb_internal#4){.+.+}, at: sb_start_intwrite include/linux/fs.h:1626 [inline] #1: 00000000aba73ba9 (sb_internal#4){.+.+}, at: xfs_trans_alloc+0x4fc/0x700 fs/xfs/xfs_trans.c:271 1 lock held by syz-executor.0/32450: 0000000019c325ea: 00 00 23 05 00 48 66 69 6c 65 31 01 00 00 00 26 ..#..Hfile1....& ============================================= 00000000adaa0c6f: 05 00 60 66 69 6c 65 32 01 00 00 00 27 05 00 78 ..`file2....'..x 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/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: 72 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:write_comp_data+0x23/0x70 kernel/kcov.c:122 Code: 1f 84 00 00 00 00 00 49 89 f1 49 89 fa 65 48 8b 34 25 c0 df 01 00 65 8b 05 7a 59 9f 7e a9 00 01 1f 00 75 4f 8b 86 60 13 00 00 <83> f8 03 75 44 48 8b 86 68 13 00 00 8b b6 64 13 00 00 48 8b 38 48 RSP: 0018:ffff8880b5267ca8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff888096aaa530 RCX: ffffffff87d8f32a RDX: 0000000000000001 RSI: ffff8880b525e4c0 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000216 R15: ffff8880a4be7800 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa376897000 CR3: 00000000a129e000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:628 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:419 [inline] batadv_nc_worker+0x8fa/0xd50 net/batman-adv/network-coding.c:730 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 00000000c19b15bb: 66 69 6c 65 33 01 00 00 00 27 09 00 90 66 69 6c file3....'...fil 00000000122d1de3: 65 2e 63 6f 6c 64 01 00 00 00 28 e.cold....( XFS (loop0): Failed to read root inode 0x20, error 117