EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue ====================================================== WARNING: possible circular locking dependency detected 4.19.211-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.5/24958 is trying to acquire lock: 0000000026c3f5c3 (&dquot->dq_lock){+.+.}, at: dquot_commit+0x4d/0x400 fs/quota/dquot.c:469 but task is already holding lock: 00000000ab9b4ba6 (&ei->i_data_sem/2){++++}, at: ext4_map_blocks+0x740/0x1a50 fs/ext4/inode.c:650 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (&ei->i_data_sem/2){++++}: ext4_map_blocks+0x33e/0x1a50 fs/ext4/inode.c:578 ext4_getblk+0x3f9/0x4f0 fs/ext4/inode.c:993 ext4_bread+0x7c/0x210 fs/ext4/inode.c:1043 ext4_quota_read+0x216/0x2e0 fs/ext4/super.c:5962 find_tree_dqentry+0x77/0x700 fs/quota/quota_tree.c:579 find_tree_dqentry+0x200/0x700 fs/quota/quota_tree.c:590 find_dqentry fs/quota/quota_tree.c:602 [inline] qtree_read_dquot+0x107/0x700 fs/quota/quota_tree.c:622 v2_read_dquot+0xce/0x120 fs/quota/quota_v2.c:334 dquot_acquire+0x121/0x490 fs/quota/dquot.c:428 ext4_acquire_dquot+0x1e7/0x2d0 fs/ext4/super.c:5666 dqget+0x785/0xfc0 fs/quota/dquot.c:896 __dquot_initialize+0x3bd/0xb70 fs/quota/dquot.c:1470 ext4_orphan_cleanup fs/ext4/super.c:2681 [inline] ext4_fill_super+0x8202/0xc850 fs/ext4/super.c:4549 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 -> #1 (&s->s_dquot.dqio_sem){++++}: v2_read_dquot+0x49/0x120 fs/quota/quota_v2.c:333 dquot_acquire+0x121/0x490 fs/quota/dquot.c:428 ext4_acquire_dquot+0x1e7/0x2d0 fs/ext4/super.c:5666 dqget+0x785/0xfc0 fs/quota/dquot.c:896 __dquot_initialize+0x3bd/0xb70 fs/quota/dquot.c:1470 ext4_orphan_cleanup fs/ext4/super.c:2681 [inline] ext4_fill_super+0x8202/0xc850 fs/ext4/super.c:4549 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 -> #0 (&dquot->dq_lock){+.+.}: __mutex_lock_common kernel/locking/mutex.c:937 [inline] __mutex_lock+0xd7/0x1190 kernel/locking/mutex.c:1078 dquot_commit+0x4d/0x400 fs/quota/dquot.c:469 ext4_write_dquot+0x1e7/0x280 fs/ext4/super.c:5650 ext4_mark_dquot_dirty+0x111/0x1a0 fs/ext4/super.c:5701 mark_dquot_dirty fs/quota/dquot.c:341 [inline] mark_all_dquot_dirty fs/quota/dquot.c:379 [inline] __dquot_alloc_space+0x37e/0x860 fs/quota/dquot.c:1702 dquot_alloc_space_nodirty include/linux/quotaops.h:298 [inline] dquot_alloc_space include/linux/quotaops.h:311 [inline] dquot_alloc_block include/linux/quotaops.h:335 [inline] ext4_mb_new_blocks+0x58c/0x4370 fs/ext4/mballoc.c:4534 ext4_ext_map_blocks+0x2aa2/0x7390 fs/ext4/extents.c:4493 ext4_map_blocks+0x7a2/0x1a50 fs/ext4/inode.c:657 ext4_getblk+0xad/0x4f0 fs/ext4/inode.c:993 ext4_bread+0x7c/0x210 fs/ext4/inode.c:1043 ext4_append+0x155/0x370 fs/ext4/namei.c:66 ext4_init_new_dir fs/ext4/namei.c:2659 [inline] ext4_mkdir+0x5bd/0xe10 fs/ext4/namei.c:2706 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819 do_mkdirat+0x262/0x2d0 fs/namei.c:3842 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe other info that might help us debug this: Chain exists of: &dquot->dq_lock --> &s->s_dquot.dqio_sem --> &ei->i_data_sem/2 Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&ei->i_data_sem/2); lock(&s->s_dquot.dqio_sem); lock(&ei->i_data_sem/2); lock(&dquot->dq_lock); *** DEADLOCK *** 4 locks held by syz-executor.5/24958: #0: 00000000c241f095 (sb_writers#3){.+.+}, at: sb_start_write include/linux/fs.h:1579 [inline] #0: 00000000c241f095 (sb_writers#3){.+.+}, at: mnt_want_write+0x3a/0xb0 fs/namespace.c:360 #1: 00000000016ae376 (&type->i_mutex_dir_key#3/1){+.+.}, at: inode_lock_nested include/linux/fs.h:783 [inline] #1: 00000000016ae376 (&type->i_mutex_dir_key#3/1){+.+.}, at: filename_create+0x15a/0x490 fs/namei.c:3638 #2: 00000000ab9b4ba6 (&ei->i_data_sem/2){++++}, at: ext4_map_blocks+0x740/0x1a50 fs/ext4/inode.c:650 #3: 00000000b793d0fe (dquot_srcu){....}, at: i_dquot fs/quota/dquot.c:921 [inline] #3: 00000000b793d0fe (dquot_srcu){....}, at: __dquot_alloc_space+0x1ad/0x860 fs/quota/dquot.c:1662 stack backtrace: CPU: 1 PID: 24958 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_circular_bug.constprop.0.cold+0x2d7/0x41e kernel/locking/lockdep.c:1222 check_prev_add kernel/locking/lockdep.c:1866 [inline] check_prevs_add kernel/locking/lockdep.c:1979 [inline] validate_chain kernel/locking/lockdep.c:2420 [inline] __lock_acquire+0x30c9/0x3ff0 kernel/locking/lockdep.c:3416 gfs2: fsid=: Trying to join cluster "lock_nolock", "" lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908 __mutex_lock_common kernel/locking/mutex.c:937 [inline] __mutex_lock+0xd7/0x1190 kernel/locking/mutex.c:1078 gfs2: fsid=: Now mounting FS... dquot_commit+0x4d/0x400 fs/quota/dquot.c:469 ext4_write_dquot+0x1e7/0x280 fs/ext4/super.c:5650 ext4_mark_dquot_dirty+0x111/0x1a0 fs/ext4/super.c:5701 mark_dquot_dirty fs/quota/dquot.c:341 [inline] mark_all_dquot_dirty fs/quota/dquot.c:379 [inline] __dquot_alloc_space+0x37e/0x860 fs/quota/dquot.c:1702 dquot_alloc_space_nodirty include/linux/quotaops.h:298 [inline] dquot_alloc_space include/linux/quotaops.h:311 [inline] dquot_alloc_block include/linux/quotaops.h:335 [inline] ext4_mb_new_blocks+0x58c/0x4370 fs/ext4/mballoc.c:4534 gfs2: fsid=.s: first mount done, others may mount ext4_ext_map_blocks+0x2aa2/0x7390 fs/ext4/extents.c:4493 ext4_map_blocks+0x7a2/0x1a50 fs/ext4/inode.c:657 ext4_getblk+0xad/0x4f0 fs/ext4/inode.c:993 ext4_bread+0x7c/0x210 fs/ext4/inode.c:1043 ext4_append+0x155/0x370 fs/ext4/namei.c:66 ext4_init_new_dir fs/ext4/namei.c:2659 [inline] ext4_mkdir+0x5bd/0xe10 fs/ext4/namei.c:2706 vfs_mkdir+0x508/0x7a0 fs/namei.c:3819 do_mkdirat+0x262/0x2d0 fs/namei.c:3842 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f99e27b80f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f99d8928168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f99e28d8120 RCX: 00007f99e27b80f9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: ffffffffffffff9c RBP: 00007f99e2813ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdfa1d8edf R14: 00007f99d8928300 R15: 0000000000022000 sched: RT throttling activated sysfs: cannot create duplicate filename '/fs/gfs2/' CPU: 1 PID: 24975 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 sysfs_warn_dup.cold+0x1c/0x29 fs/sysfs/dir.c:30 sysfs_create_dir_ns+0x228/0x280 fs/sysfs/dir.c:63 create_dir lib/kobject.c:88 [inline] kobject_add_internal+0x2a5/0x9c0 lib/kobject.c:247 kobject_add_varg lib/kobject.c:382 [inline] kobject_init_and_add+0x101/0x160 lib/kobject.c:453 gfs2_sys_fs_add+0x18e/0x440 fs/gfs2/sys.c:659 fill_super+0x1240/0x2550 fs/gfs2/ops_fstype.c:1103 gfs2_mount+0x4c0/0x5a0 fs/gfs2/ops_fstype.c:1316 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:0x7f639256e62a 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:00007f6390adef88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001343f RCX: 00007f639256e62a RDX: 0000000020000100 RSI: 0000000020013440 RDI: 00007f6390adefe0 RBP: 00007f6390adf020 R08: 00007f6390adf020 R09: 0000000000000081 R10: 0000000000000081 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020013440 R14: 00007f6390adefe0 R15: 0000000020000140 kobject_add_internal failed for  with -EEXIST, don't try to register things with the same name in the same directory. gfs2: fsid=: error -17 adding sysfs files EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue Quota error (device loop3): write_blk: dquota write failed Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue gfs2: fsid=: Trying to join cluster "lock_nolock", "" gfs2: fsid=: Now mounting FS... gfs2: fsid=.s: first mount done, others may mount EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata Quota error (device loop3): write_blk: dquota write failed EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata Quota error (device loop3): write_blk: dquota write failed Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota gfs2: fsid=: Trying to join cluster "lock_nolock", "" gfs2: fsid=: Now mounting FS... EXT4-fs (loop3): 1 truncate cleaned up gfs2: fsid=.s: fatal: invalid metadata block bh = 18 (type: exp=4, found=17) function = gfs2_meta_indirect_buffer, file = fs/gfs2/meta_io.c, line = 419 EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue gfs2: fsid=.s: about to withdraw this file system gfs2: fsid=.s: withdrawn CPU: 1 PID: 25051 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 gfs2_lm_withdraw.cold+0x1f8/0x24c fs/gfs2/util.c:75 gfs2_metatype_check_ii+0x6a/0xb0 fs/gfs2/util.c:224 gfs2_metatype_check_i fs/gfs2/util.h:114 [inline] gfs2_meta_indirect_buffer+0x261/0x400 fs/gfs2/meta_io.c:419 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:73 [inline] gfs2_inode_refresh+0x95/0xde0 fs/gfs2/glops.c:412 inode_go_lock+0x234/0x4a0 fs/gfs2/glops.c:442 do_promote+0x46f/0xd80 fs/gfs2/glock.c:362 finish_xmote+0x478/0xda0 fs/gfs2/glock.c:522 do_xmote+0x538/0x670 fs/gfs2/glock.c:590 run_queue+0x24f/0x580 fs/gfs2/glock.c:655 gfs2_glock_nq+0x9ee/0x1360 fs/gfs2/glock.c:1114 gfs2_glock_nq_init fs/gfs2/glock.h:228 [inline] check_journal_clean+0xe7/0x1f0 fs/gfs2/ops_fstype.c:612 init_journal fs/gfs2/ops_fstype.c:729 [inline] init_inodes+0xc8a/0x1cf0 fs/gfs2/ops_fstype.c:783 fill_super+0x18a6/0x2550 fs/gfs2/ops_fstype.c:1153 gfs2_mount+0x4c0/0x5a0 fs/gfs2/ops_fstype.c:1316 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:0x7f639256e62a 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:00007f6390adef88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001343f RCX: 00007f639256e62a RDX: 0000000020000100 RSI: 0000000020013440 RDI: 00007f6390adefe0 RBP: 00007f6390adf020 R08: 00007f6390adf020 R09: 0000000000000081 R10: 0000000000000081 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020013440 R14: 00007f6390adefe0 R15: 0000000020000140 gfs2: fsid=.s: Error locking journal for spectator mount. gfs2: fsid=: Trying to join cluster "lock_nolock", "" gfs2: fsid=: Now mounting FS... gfs2: fsid=.s: first mount done, others may mount EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata Quota error (device loop3): write_blk: dquota write failed Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue IPVS: ftp: loaded support on port[0] = 21 EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata Quota error (device loop3): write_blk: dquota write failed Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata Quota error (device loop3): write_blk: dquota write failed Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue gfs2: fsid=: Trying to join cluster "lock_nolock", "" gfs2: fsid=: Now mounting FS... gfs2: fsid=.s: fatal: invalid metadata block bh = 18 (type: exp=4, found=18) function = gfs2_meta_indirect_buffer, file = fs/gfs2/meta_io.c, line = 419 gfs2: fsid=.s: about to withdraw this file system gfs2: fsid=.s: withdrawn CPU: 0 PID: 25225 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 gfs2_lm_withdraw.cold+0x1f8/0x24c fs/gfs2/util.c:75 gfs2_metatype_check_ii+0x6a/0xb0 fs/gfs2/util.c:224 gfs2_metatype_check_i fs/gfs2/util.h:114 [inline] gfs2_meta_indirect_buffer+0x261/0x400 fs/gfs2/meta_io.c:419 gfs2_meta_inode_buffer fs/gfs2/meta_io.h:73 [inline] gfs2_inode_refresh+0x95/0xde0 fs/gfs2/glops.c:412 inode_go_lock+0x234/0x4a0 fs/gfs2/glops.c:442 do_promote+0x46f/0xd80 fs/gfs2/glock.c:362 finish_xmote+0x478/0xda0 fs/gfs2/glock.c:522 do_xmote+0x538/0x670 fs/gfs2/glock.c:590 run_queue+0x24f/0x580 fs/gfs2/glock.c:655 gfs2_glock_nq+0x9ee/0x1360 fs/gfs2/glock.c:1114 gfs2_glock_nq_init fs/gfs2/glock.h:228 [inline] check_journal_clean+0xe7/0x1f0 fs/gfs2/ops_fstype.c:612 init_journal fs/gfs2/ops_fstype.c:729 [inline] init_inodes+0xc8a/0x1cf0 fs/gfs2/ops_fstype.c:783 fill_super+0x18a6/0x2550 fs/gfs2/ops_fstype.c:1153 gfs2_mount+0x4c0/0x5a0 fs/gfs2/ops_fstype.c:1316 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:0x7f639256e62a 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:00007f6390adef88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001343f RCX: 00007f639256e62a RDX: 0000000020000100 RSI: 0000000020013440 RDI: 00007f6390adefe0 RBP: 00007f6390adf020 R08: 00007f6390adf020 R09: 0000000000000081 R10: 0000000000000081 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020013440 R14: 00007f6390adefe0 R15: 0000000020000140 EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue sysfs: cannot create duplicate filename '/fs/gfs2/' CPU: 0 PID: 25247 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 sysfs_warn_dup.cold+0x1c/0x29 fs/sysfs/dir.c:30 sysfs_create_dir_ns+0x228/0x280 fs/sysfs/dir.c:63 create_dir lib/kobject.c:88 [inline] kobject_add_internal+0x2a5/0x9c0 lib/kobject.c:247 kobject_add_varg lib/kobject.c:382 [inline] kobject_init_and_add+0x101/0x160 lib/kobject.c:453 gfs2_sys_fs_add+0x18e/0x440 fs/gfs2/sys.c:659 fill_super+0x1240/0x2550 fs/gfs2/ops_fstype.c:1103 gfs2_mount+0x4c0/0x5a0 fs/gfs2/ops_fstype.c:1316 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 gfs2: fsid=.s: Error locking journal for spectator mount. 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:0x7f356ae8562a 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:00007f35693f5f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001343f RCX: 00007f356ae8562a RDX: 0000000020000100 RSI: 0000000020013440 RDI: 00007f35693f5fe0 RBP: 00007f35693f6020 R08: 00007f35693f6020 R09: 0000000000000081 R10: 0000000000000081 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020013440 R14: 00007f35693f5fe0 R15: 0000000020000140 kobject_add_internal failed for  with -EEXIST, don't try to register things with the same name in the same directory. gfs2: fsid=: error -17 adding sysfs files EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata gfs2: fsid=: Trying to join cluster "lock_nolock", "" __quota_error: 6 callbacks suppressed Quota error (device loop3): write_blk: dquota write failed gfs2: fsid=: Now mounting FS... Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota gfs2: fsid=.s: first mount done, others may mount EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue sysfs: cannot create duplicate filename '/fs/gfs2/' CPU: 0 PID: 25364 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 sysfs_warn_dup.cold+0x1c/0x29 fs/sysfs/dir.c:30 sysfs_create_dir_ns+0x228/0x280 fs/sysfs/dir.c:63 create_dir lib/kobject.c:88 [inline] kobject_add_internal+0x2a5/0x9c0 lib/kobject.c:247 kobject_add_varg lib/kobject.c:382 [inline] kobject_init_and_add+0x101/0x160 lib/kobject.c:453 gfs2_sys_fs_add+0x18e/0x440 fs/gfs2/sys.c:659 fill_super+0x1240/0x2550 fs/gfs2/ops_fstype.c:1103 gfs2_mount+0x4c0/0x5a0 fs/gfs2/ops_fstype.c:1316 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:0x7f639256e62a 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:00007f6390adef88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001343f RCX: 00007f639256e62a RDX: 0000000020000100 RSI: 0000000020013440 RDI: 00007f6390adefe0 RBP: 00007f6390adf020 R08: 00007f6390adf020 R09: 0000000000000081 R10: 0000000000000081 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020013440 R14: 00007f6390adefe0 R15: 0000000020000140 wlan1: No active IBSS STAs - trying to scan for other IBSS networks with same SSID (merge) kobject_add_internal failed for  with -EEXIST, don't try to register things with the same name in the same directory. gfs2: fsid=: error -17 adding sysfs files EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata Quota error (device loop3): write_blk: dquota write failed Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata Quota error (device loop3): write_blk: dquota write failed Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota EXT4-fs (loop3): 1 truncate cleaned up EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue gfs2: fsid=: Trying to join cluster "lock_nolock", "" sysfs: cannot create duplicate filename '/fs/gfs2/' CPU: 1 PID: 25486 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 gfs2: fsid=: Now mounting FS... Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 sysfs_warn_dup.cold+0x1c/0x29 fs/sysfs/dir.c:30 sysfs_create_dir_ns+0x228/0x280 fs/sysfs/dir.c:63 create_dir lib/kobject.c:88 [inline] kobject_add_internal+0x2a5/0x9c0 lib/kobject.c:247 kobject_add_varg lib/kobject.c:382 [inline] kobject_init_and_add+0x101/0x160 lib/kobject.c:453 gfs2_sys_fs_add+0x18e/0x440 fs/gfs2/sys.c:659 fill_super+0x1240/0x2550 fs/gfs2/ops_fstype.c:1103 gfs2_mount+0x4c0/0x5a0 fs/gfs2/ops_fstype.c:1316 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:0x7f639256e62a 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:00007f6390adef88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001343f RCX: 00007f639256e62a RDX: 0000000020000100 RSI: 0000000020013440 RDI: 00007f6390adefe0 RBP: 00007f6390adf020 R08: 00007f6390adf020 R09: 0000000000000081 R10: 0000000000000081 R11: 0000000000000202 R12: 0000000020000100 R13: 0000000020013440 R14: 00007f6390adefe0 R15: 0000000020000140 EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata Quota error (device loop3): write_blk: dquota write failed Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota kobject_add_internal failed for  with -EEXIST, don't try to register things with the same name in the same directory. EXT4-fs (loop3): 1 truncate cleaned up gfs2: fsid=: error -17 adding sysfs files EXT4-fs (loop3): mounted filesystem without journal. Opts: nobarrier,noblock_validity,nolazytime,barrier=0x000000007fff0038,data_err=abort,resgid=0x0000000000000000,resuid=0x000000000000ee00,resgid=0x000000000000ee01,resgid=0x000000000000ee002,errors=continue gfs2: fsid=.s: first mount done, others may mount EXT4-fs error (device loop3): ext4_mb_mark_diskspace_used:2995: comm syz-executor.3: Allocating blocks 41-42 which overlap fs metadata Quota error (device loop3): write_blk: dquota write failed Quota error (device loop3): qtree_write_dquot: Error -117 occurred while creating quota EXT4-fs (loop3): 1 truncate cleaned up