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 WARNING: CPU: 0 PID: 10641 at include/linux/backing-dev.h:340 inode_to_wb include/linux/backing-dev.h:340 [inline] WARNING: CPU: 0 PID: 10641 at include/linux/backing-dev.h:340 account_page_dirtied+0x8cc/0xbb0 mm/page-writeback.c:2420 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 Kernel panic - not syncing: panic_on_warn set ... do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f0597f0960a 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:00007f0596479f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00000000000124e8 RCX: 00007f0597f0960a RDX: 00000000200124c0 RSI: 0000000020000040 RDI: 00007f0596479fe0 RBP: 00007f059647a020 R08: 00007f059647a020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00000000200124c0 R13: 0000000020000040 R14: 00007f0596479fe0 R15: 0000000020000000 CPU: 0 PID: 10641 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 kobject_add_internal failed for syz:syz with -EEXIST, don't try to register things with the same name in the same directory. gfs2: fsid=syz:syz: error -17 adding sysfs files __warn.cold+0x20/0x5a kernel/panic.c:541 kobject_add_internal failed for syz:syz with -EEXIST, don't try to register things with the same name in the same directory. report_bug+0x262/0x2b0 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 gfs2: fsid=syz:syz: error -17 adding sysfs files invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:inode_to_wb include/linux/backing-dev.h:340 [inline] RIP: 0010:account_page_dirtied+0x8cc/0xbb0 mm/page-writeback.c:2420 Code: 88 01 00 00 be ff ff ff ff 48 8d 78 70 e8 ec e1 ca ff 31 ff 89 c3 89 c6 e8 f1 b3 e2 ff 85 db 0f 85 39 f9 ff ff e8 74 b2 e2 ff <0f> 0b e9 2d f9 ff ff e8 68 b2 e2 ff 4c 89 e6 4c 89 ef e8 9d b3 2d RSP: 0018:ffff88804f42f430 EFLAGS: 00010046 RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffc90006e69000 RDX: 0000000000040000 RSI: ffffffff817fd2fc RDI: 0000000000000005 RBP: ffff88808fff65a0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffffea00025b6900 R13: ffff88808fff6418 R14: ffff888096f096c8 R15: ffffea00025b6908 __set_page_dirty+0x7f/0x3e0 fs/buffer.c:582 mark_buffer_dirty+0x424/0x5c0 fs/buffer.c:1111 gfs2_unpin+0xd6/0xe80 fs/gfs2/lops.c:108 buf_lo_after_commit+0x140/0x210 fs/gfs2/lops.c:512 lops_after_commit fs/gfs2/lops.h:67 [inline] gfs2_log_flush+0x9fa/0x1ef0 fs/gfs2/log.c:831 gfs2_inplace_reserve+0x1733/0x3210 fs/gfs2/rgrp.c:2146 gfs2_iomap_begin_write fs/gfs2/bmap.c:1053 [inline] gfs2_iomap_begin+0x151e/0x18f0 fs/gfs2/bmap.c:1120 iomap_apply+0xd2/0x290 fs/iomap.c:67 iomap_file_buffered_write+0x14e/0x1e0 fs/iomap.c:894 gfs2_file_write_iter+0x3cb/0xb30 fs/gfs2/file.c:847 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fbec24a70d9 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:00007fbec0a19168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fbec25c6f80 RCX: 00007fbec24a70d9 RDX: 000000000f642e7e RSI: 0000000020000200 RDI: 0000000000000004 RBP: 00007fbec2502ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd308527ff R14: 00007fbec0a19300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..