Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.18' (ECDSA) to the list of known hosts. syzkaller login: [ 27.755357] gfs2: fsid=gfs2 : Trying to join cluster "lock_nolock", "gfs2 " [ 27.764234] sysfs: cannot create duplicate filename '/fs/gfs2/gfs2 ' [ 27.772243] sysfs: cannot create duplicate filename '/fs/gfs2/gfs2 ' [ 27.777489] sysfs: cannot create duplicate filename '/fs/gfs2/gfs2 ' [ 27.788753] ------------[ cut here ]------------ [ 27.793525] WARNING: CPU: 1 PID: 7976 at fs/sysfs/dir.c:30 sysfs_warn_dup.cold+0x17/0x26 [ 27.796474] gfs2: fsid=gfs2 : Now mounting FS... [ 27.801742] Kernel panic - not syncing: panic_on_warn set ... [ 27.801742] [ 27.801749] CPU: 1 PID: 7976 Comm: syz-executor994 Not tainted 4.14.302-syzkaller #0 [ 27.801753] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 27.801756] Call Trace: [ 27.801770] dump_stack+0x1b2/0x281 [ 27.801781] panic+0x1f9/0x42d [ 27.801789] ? add_taint.cold+0x16/0x16 [ 27.801799] ? sysfs_warn_dup.cold+0x17/0x26 [ 27.801807] ? sysfs_warn_dup.cold+0x17/0x26 [ 27.801813] __warn.cold+0x20/0x44 [ 27.801822] ? ist_end_non_atomic+0x10/0x10 [ 27.801829] ? sysfs_warn_dup.cold+0x17/0x26 [ 27.801837] report_bug+0x208/0x250 [ 27.801848] do_error_trap+0x195/0x2d0 [ 27.801856] ? math_error+0x2d0/0x2d0 [ 27.801863] ? ___preempt_schedule+0x16/0x18 [ 27.801874] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 27.801886] invalid_op+0x1b/0x40 [ 27.801893] RIP: 0010:sysfs_warn_dup.cold+0x17/0x26 [ 27.801897] RSP: 0018:ffff8880af26f728 EFLAGS: 00010282 [ 27.801904] RAX: 0000000000000038 RBX: ffff8880b1c89d90 RCX: 0000000000000000 [ 27.801911] RDX: 0000000000000000 RSI: ffffffff878bd020 RDI: ffffed1015e4dedb [ 27.817996] ------------[ cut here ]------------ [ 27.821879] RBP: ffff888095738400 R08: 0000000000000038 R09: 0000000000000000 [ 27.831227] WARNING: CPU: 0 PID: 7980 at fs/sysfs/dir.c:30 sysfs_warn_dup.cold+0x17/0x26 [ 27.833776] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880b0f48380 [ 27.837376] Modules linked in: [ 27.840544] R13: ffff8880b1d01180 R14: ffff8880b1c89d98 R15: ffff88809544dd58 [ 27.840565] ? sysfs_warn_dup.cold+0x17/0x26 [ 27.848890] sysfs_create_dir_ns+0x16f/0x1d0 [ 27.853270] CPU: 0 PID: 7980 Comm: syz-executor994 Not tainted 4.14.302-syzkaller #0 [ 27.856791] kobject_add_internal+0x28b/0x930 [ 27.861080] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 27.865466] kobject_init_and_add+0xde/0x120 [ 27.869059] task: ffff8880b56b6540 task.stack: ffff8880b36b8000 [ 27.872923] ? kobject_create_and_add+0x200/0x200 [ 27.876695] RIP: 0010:sysfs_warn_dup.cold+0x17/0x26 [ 27.881076] ? vsnprintf+0x260/0x1340 [ 27.885898] RSP: 0018:ffff8880b36bf728 EFLAGS: 00010282 [ 27.889332] gfs2_sys_fs_add+0x184/0x3f0 [ 27.894320] RAX: 0000000000000038 RBX: ffff88809544dd50 RCX: 0000000000000000 [ 27.899659] ? recover_store+0x100/0x100 [ 27.906947] RDX: 0000000000000000 RSI: ffffffff878bd020 RDI: ffffed10166d7edb [ 27.914194] ? snprintf+0xa5/0xd0 [ 27.918918] RBP: ffff8880b404a300 R08: 0000000000000038 R09: 0000000000000000 [ 27.926174] ? strscpy+0x94/0x280 [ 27.934365] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880b0f48380 [ 27.934371] R13: ffff8880b1e39480 R14: ffff88809544dd58 R15: ffff888095bd9d18 [ 27.941620] fill_super+0x118b/0x2310 [ 27.944782] FS: 000055555656f300(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 [ 27.952032] ? vsnprintf+0x260/0x1340 [ 27.956408] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 27.960795] ? gfs2_online_uevent+0x1b0/0x1b0 [ 27.968644] CR2: 00007fff7bf47c10 CR3: 00000000aafb9000 CR4: 00000000003406f0 [ 27.973136] ? pointer+0x9e0/0x9e0 [ 27.982464] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 27.986853] ? snprintf+0xa5/0xd0 [ 27.992882] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 27.997701] ? vsprintf+0x30/0x30 [ 28.002684] Call Trace: [ 28.006464] ? set_blocksize+0x125/0x380 [ 28.011800] sysfs_create_dir_ns+0x16f/0x1d0 [ 28.015834] gfs2_mount+0x439/0x510 [ 28.023076] kobject_add_internal+0x28b/0x930 [ 28.027111] ? fill_super+0x2310/0x2310 [ 28.034361] kobject_init_and_add+0xde/0x120 [ 28.037801] ? alloc_pages_current+0x15d/0x260 [ 28.045036] ? kobject_create_and_add+0x200/0x200 [ 28.048464] ? __lockdep_init_map+0x100/0x560 [ 28.055711] ? vsnprintf+0x260/0x1340 [ 28.062958] mount_fs+0x92/0x2a0 [ 28.066737] gfs2_sys_fs_add+0x184/0x3f0 [ 28.074942] vfs_kern_mount.part.0+0x5b/0x470 [ 28.078713] ? recover_store+0x100/0x100 [ 28.084570] do_mount+0xe65/0x2a30 [ 28.089037] ? snprintf+0xa5/0xd0 [ 28.096372] ? do_raw_spin_unlock+0x164/0x220 [ 28.099893] ? strscpy+0x94/0x280 [ 28.107136] ? copy_mount_string+0x40/0x40 [ 28.110563] fill_super+0x118b/0x2310 [ 28.117815] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 28.121242] ? vsnprintf+0x260/0x1340 [ 28.123799] ? copy_mnt_ns+0xa30/0xa30 [ 28.127832] ? gfs2_online_uevent+0x1b0/0x1b0 [ 28.132214] ? copy_mount_options+0x1fa/0x2f0 [ 28.135813] ? pointer+0x9e0/0x9e0 [ 28.140281] ? copy_mnt_ns+0xa30/0xa30 [ 28.144230] ? snprintf+0xa5/0xd0 [ 28.148611] SyS_mount+0xa8/0x120 [ 28.153164] ? vsprintf+0x30/0x30 [ 28.157978] ? copy_mnt_ns+0xa30/0xa30 [ 28.162449] ? set_blocksize+0x125/0x380 [ 28.166220] do_syscall_64+0x1d5/0x640 [ 28.169559] gfs2_mount+0x439/0x510 [ 28.173602] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 28.178064] ? fill_super+0x2310/0x2310 [ 28.182096] RIP: 0033:0x7f877b8a1a5a [ 28.185623] ? alloc_pages_current+0x15d/0x260 [ 28.189030] RSP: 002b:00007fff97ec0818 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 28.193508] ? __lockdep_init_map+0x100/0x560 [ 28.196941] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f877b8a1a5a [ 28.201150] mount_fs+0x92/0x2a0 [ 28.204921] RDX: 0000000020013400 RSI: 0000000020013440 RDI: 00007fff97ec0830 [ 28.209918] vfs_kern_mount.part.0+0x5b/0x470 [ 28.213690] RBP: 00007fff97ec0830 R08: 00007fff97ec0870 R09: 0000000000000002 [ 28.217551] do_mount+0xe65/0x2a30 [ 28.222017] R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000004 [ 28.226485] ? retint_kernel+0x2d/0x2d [ 28.229993] R13: 000055555656f2c0 R14: 0000000000000000 R15: 00007fff97ec0870 [ 28.233856] ? copy_mount_string+0x40/0x40 [ 28.344731] ? copy_mount_options+0x194/0x2f0 [ 28.349217] ? copy_mount_options+0x1fa/0x2f0 [ 28.353693] ? copy_mnt_ns+0xa30/0xa30 [ 28.357583] SyS_mount+0xa8/0x120 [ 28.361025] ? copy_mnt_ns+0xa30/0xa30 [ 28.364896] do_syscall_64+0x1d5/0x640 [ 28.368773] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 28.373946] RIP: 0033:0x7f877b8a1a5a [ 28.377639] RSP: 002b:00007fff97ec0818 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5 [ 28.385342] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f877b8a1a5a [ 28.392607] RDX: 0000000020013400 RSI: 0000000020013440 RDI: 00007fff97ec0830 [ 28.399866] RBP: 00007fff97ec0830 R08: 00007fff97ec0870 R09: 0000000000000002 [ 28.407120] R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000004 [ 28.414378] R13: 000055555656f2c0 R14: 0000000000000000 R15: 00007fff97ec0870 [ 28.421639] Code: bd ea ff ff ff e9 8f c2 9f fa 4c 89 ff e8 74 de 7a fa eb da e8 6d 1d 51 fa 4c 89 ea 48 89 ee 48 c7 c7 80 c4 95 87 e8 e5 fb fe ff <0f> 0b 48 89 ef 5d 41 5c 41 5d e9 4c b4 7a fa e8 47 1d 51 fa 4d [ 28.440826] ---[ end trace c7cfae08170f5b5d ]--- [ 28.445727] Kernel Offset: disabled [ 28.449393] Rebooting in 86400 seconds..