loop0: detected capacity change from 0 to 128 ------------[ cut here ]------------ kernel BUG at fs/buffer.c:622! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2528 Comm: syz.0.950 Not tainted 6.1.134-syzkaller-00012-g646380b087a5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:mark_buffer_dirty_inode+0x308/0x310 fs/buffer.c:622 Code: 74 08 4c 89 f7 e8 f8 8b e8 ff 4d 89 2e 48 8b 7d a8 e8 9c e7 23 03 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a8 38 a4 ff <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 fb bf RSP: 0018:ffffc90000c6f808 EFLAGS: 00010287 RAX: ffffffff81cbae28 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc900011f9000 RSI: 000000000000217d RDI: 000000000000217e RBP: ffffc90000c6f860 R08: dffffc0000000000 R09: fffff940008a9a99 R10: fffff940008a9a99 R11: 1ffffd40008a9a98 R12: dffffc0000000000 R13: ffff888114ecd200 R14: 1ffff110229d9a5d R15: ffff888114ecd2e8 FS: 00007f2d41c7a6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa1797a5f98 CR3: 0000000131036000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fat_remove_entries+0x1a6/0x420 fs/fat/dir.c:1050 vfat_rename fs/fat/namei_vfat.c:992 [inline] vfat_rename2+0x153f/0x1c10 fs/fat/namei_vfat.c:1174 vfs_rename+0xbc4/0x10d0 fs/namei.c:4873 do_renameat2+0x7ed/0xf60 fs/namei.c:5026 __do_sys_rename fs/namei.c:5072 [inline] __se_sys_rename fs/namei.c:5070 [inline] __x64_sys_rename+0x86/0x90 fs/namei.c:5070 x64_sys_call+0x300/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2d40d8e969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2d41c7a038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f2d40fb5fa0 RCX: 00007f2d40d8e969 RDX: 0000000000000000 RSI: 0000200000000a00 RDI: 0000200000000180 RBP: 00007f2d40e10ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2d40fb5fa0 R15: 00007ffd0e6f5b18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:mark_buffer_dirty_inode+0x308/0x310 fs/buffer.c:622 Code: 74 08 4c 89 f7 e8 f8 8b e8 ff 4d 89 2e 48 8b 7d a8 e8 9c e7 23 03 48 83 c4 30 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 a8 38 a4 ff <0f> 0b 66 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 b8 fb bf RSP: 0018:ffffc90000c6f808 EFLAGS: 00010287 RAX: ffffffff81cbae28 RBX: 0000000000000000 RCX: 0000000000080000 RDX: ffffc900011f9000 RSI: 000000000000217d RDI: 000000000000217e RBP: ffffc90000c6f860 R08: dffffc0000000000 R09: fffff940008a9a99 R10: fffff940008a9a99 R11: 1ffffd40008a9a98 R12: dffffc0000000000 R13: ffff888114ecd200 R14: 1ffff110229d9a5d R15: ffff888114ecd2e8 FS: 00007f2d41c7a6c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2ee7b3 CR3: 0000000131036000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400