mount_fs+0xa3/0x30c 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:2469 [inline] do_mount+0x113c/0x2f10 fs/namespace.c:2799 general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 31814 Comm: syz-executor.3 Not tainted 4.19.152-syzkaller #0 ksys_mount+0xcf/0x130 fs/namespace.c:3015 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 RIP: 0010:set_rgrp_preferences fs/gfs2/rgrp.c:984 [inline] RIP: 0010:gfs2_ri_update+0x289/0x520 fs/gfs2/rgrp.c:1012 Code: e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 1c 7f 51 fe 49 8d 7f 74 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 68 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 RSP: 0018:ffff88802a0cf630 EFLAGS: 00010203 entry_SYSCALL_64_after_hwframe+0x49/0xbe RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000e6ab000 RIP: 0033:0x4608aa RDX: 000000000000000e RSI: ffffffff83134d94 RDI: 0000000000000074 Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RBP: ffff88808f1c15c0 R08: 0000000000000000 R09: 0000000000000000 RSP: 002b:00007f31dcdf2a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f31dcdf2b20 RCX: 00000000004608aa R13: 0000000000000000 R14: ffff88808f1c15bc R15: 0000000000000000 RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f31dcdf2ae0 FS: 00007f0719d26700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 RBP: 00007f31dcdf2ae0 R08: 00007f31dcdf2b20 R09: 0000000020000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 CR2: 0000000001590004 CR3: 000000009d747000 CR4: 00000000001406e0 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: gfs2_rindex_update+0x3ba/0x430 fs/gfs2/rgrp.c:1052 init_inodes+0x1061/0x1cf0 fs/gfs2/ops_fstype.c:815 fill_super+0x18a6/0x2550 fs/gfs2/ops_fstype.c:1149 gfs2_mount+0x4c0/0x598 fs/gfs2/ops_fstype.c:1312 mount_fs+0xa3/0x30c 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:2469 [inline] do_mount+0x113c/0x2f10 fs/namespace.c:2799 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4608aa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f0719d25a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f0719d25b20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f0719d25ae0 RBP: 00007f0719d25ae0 R08: 00007f0719d25b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040 Modules linked in: CPU: 0 PID: 31825 Comm: syz-executor.5 Tainted: G D 4.19.152-syzkaller #0 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+0x1fc/0x2fe lib/dump_stack.c:118 kobject_add_internal failed for syz:syz with -EEXIST, don't try to register things with the same name in the same directory. sysfs_warn_dup.cold+0x1c/0x2d fs/sysfs/dir.c:30 gfs2: fsid=syz:syz: error -17 adding sysfs files 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:1099 gfs2_mount+0x4c0/0x598 fs/gfs2/ops_fstype.c:1312 mount_fs+0xa3/0x30c 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:2469 [inline] do_mount+0x113c/0x2f10 fs/namespace.c:2799 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4608aa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007fbbb8096a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbbb8096b20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fbbb8096ae0 RBP: 00007fbbb8096ae0 R08: 00007fbbb8096b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. IPv6: ADDRCONF(NETDEV_UP): veth279: link is not ready netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' CPU: 0 PID: 31903 Comm: syz-executor.2 Tainted: G D 4.19.152-syzkaller #0 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+0x1fc/0x2fe lib/dump_stack.c:118 sysfs_warn_dup.cold+0x1c/0x2d 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:1099 gfs2_mount+0x4c0/0x598 fs/gfs2/ops_fstype.c:1312 mount_fs+0xa3/0x30c 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:2469 [inline] do_mount+0x113c/0x2f10 fs/namespace.c:2799 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4608aa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f114960ca88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f114960cb20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f114960cae0 RBP: 00007f114960cae0 R08: 00007f114960cb20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 kobject_add_internal failed for syz:syz with -EEXIST, don't try to register things with the same name in the same directory. R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040 IPv6: ADDRCONF(NETDEV_UP): veth280: link is not ready gfs2: fsid=syz:syz: error -17 adding sysfs files netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'. IPv6: ADDRCONF(NETDEV_UP): veth281: link is not ready ---[ end trace 28bcf2f9630e8198 ]--- RIP: 0010:set_rgrp_preferences fs/gfs2/rgrp.c:984 [inline] RIP: 0010:gfs2_ri_update+0x289/0x520 fs/gfs2/rgrp.c:1012 Code: e0 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 1c 7f 51 fe 49 8d 7f 74 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 68 RSP: 0018:ffff88802a0cf630 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000e6ab000 sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' RDX: 000000000000000e RSI: ffffffff83134d94 RDI: 0000000000000074 CPU: 0 PID: 31992 Comm: syz-executor.5 Tainted: G D 4.19.152-syzkaller #0 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+0x1fc/0x2fe lib/dump_stack.c:118 sysfs_warn_dup.cold+0x1c/0x2d fs/sysfs/dir.c:30 sysfs_create_dir_ns+0x228/0x280 fs/sysfs/dir.c:63 sysfs: cannot create duplicate filename '/fs/gfs2/syz:syz' 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 RBP: ffff88808f1c15c0 R08: 0000000000000000 R09: 0000000000000000 fill_super+0x1240/0x2550 fs/gfs2/ops_fstype.c:1099 R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001 gfs2_mount+0x4c0/0x598 fs/gfs2/ops_fstype.c:1312 R13: 0000000000000000 R14: ffff88808f1c15bc R15: 0000000000000000 mount_fs+0xa3/0x30c 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:2469 [inline] do_mount+0x113c/0x2f10 fs/namespace.c:2799 FS: 00007f0719d26700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4608aa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007fbbb8096a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 RAX: ffffffffffffffda RBX: 00007fbbb8096b20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fbbb8096ae0 RBP: 00007fbbb8096ae0 R08: 00007fbbb8096b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040 kobject_add_internal failed for syz:syz with -EEXIST, don't try to register things with the same name in the same directory. CPU: 1 PID: 31989 Comm: syz-executor.0 Tainted: G D 4.19.152-syzkaller #0 gfs2: fsid=syz:syz: error -17 adding sysfs files 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+0x1fc/0x2fe lib/dump_stack.c:118 sysfs_warn_dup.cold+0x1c/0x2d 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 kobject_add_internal failed for syz:syz with -EEXIST, don't try to register things with the same name in the same directory. gfs2_sys_fs_add+0x18e/0x440 fs/gfs2/sys.c:659 gfs2: fsid=syz:syz: error -17 adding sysfs files fill_super+0x1240/0x2550 fs/gfs2/ops_fstype.c:1099 gfs2_mount+0x4c0/0x598 fs/gfs2/ops_fstype.c:1312 mount_fs+0xa3/0x30c 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:2469 [inline] do_mount+0x113c/0x2f10 fs/namespace.c:2799 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4608aa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f31dcdf2a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f31dcdf2b20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f31dcdf2ae0 RBP: 00007f31dcdf2ae0 R08: 00007f31dcdf2b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040 CR2: 00007fa3be2e3000 CR3: 000000009d747000 CR4: 00000000001406e0 kobject_add_internal failed for syz:syz with -EEXIST, don't try to register things with the same name in the same directory. DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 gfs2: fsid=syz:syz: error -17 adding sysfs files DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.4'.