loop4: detected capacity change from 0 to 4096 ------------[ cut here ]------------ kernel BUG at fs/buffer.c:2106! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 PID: 10519 Comm: syz.4.738 Not tainted 6.10.0-rc6-syzkaller-00223-gc6653f49e4fd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__block_write_begin_int+0x19a7/0x1a70 fs/buffer.c:2106 Code: 31 ff e8 cc 9c 7a ff 48 89 d8 48 25 ff 0f 00 00 74 27 e8 dc 97 7a ff e9 c6 e7 ff ff e8 d2 97 7a ff 90 0f 0b e8 ca 97 7a ff 90 <0f> 0b e8 c2 97 7a ff 90 0f 0b e8 8a a6 61 09 48 8b 5c 24 08 48 89 RSP: 0018:ffffc900030f7760 EFLAGS: 00010283 RAX: ffffffff821b8ef6 RBX: 0000000000006159 RCX: 0000000000040000 RDX: ffffc9000ec67000 RSI: 0000000000001425 RDI: 0000000000001426 RBP: ffffc900030f78c8 R08: ffffffff821b7723 R09: 1ffffd40002bf050 R10: dffffc0000000000 R11: fffff940002bf051 R12: 00fff0000000493d R13: 0000000000000000 R14: 0000000000001000 R15: 0000000000006159 FS: 00007f4bea01e6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4bdee1f000 CR3: 000000006cc52000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nilfs_prepare_chunk fs/nilfs2/dir.c:86 [inline] nilfs_set_link+0xc5/0x2a0 fs/nilfs2/dir.c:416 nilfs_rename+0x5b2/0xaf0 fs/nilfs2/namei.c:416 vfs_rename+0xbdb/0xf00 fs/namei.c:4893 do_renameat2+0xd94/0x13f0 fs/namei.c:5050 __do_sys_renameat2 fs/namei.c:5084 [inline] __se_sys_renameat2 fs/namei.c:5081 [inline] __x64_sys_renameat2+0xd2/0xf0 fs/namei.c:5081 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4be9175bd9 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:00007f4bea01e048 EFLAGS: 00000246 ORIG_RAX: 000000000000013c RAX: ffffffffffffffda RBX: 00007f4be9303f60 RCX: 00007f4be9175bd9 RDX: 0000000000000006 RSI: 00000000200001c0 RDI: 0000000000000006 RBP: 00007f4be91e4aa1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000200 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f4be9303f60 R15: 00007ffffb03b658 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__block_write_begin_int+0x19a7/0x1a70 fs/buffer.c:2106 Code: 31 ff e8 cc 9c 7a ff 48 89 d8 48 25 ff 0f 00 00 74 27 e8 dc 97 7a ff e9 c6 e7 ff ff e8 d2 97 7a ff 90 0f 0b e8 ca 97 7a ff 90 <0f> 0b e8 c2 97 7a ff 90 0f 0b e8 8a a6 61 09 48 8b 5c 24 08 48 89 RSP: 0018:ffffc900030f7760 EFLAGS: 00010283 RAX: ffffffff821b8ef6 RBX: 0000000000006159 RCX: 0000000000040000 RDX: ffffc9000ec67000 RSI: 0000000000001425 RDI: 0000000000001426 RBP: ffffc900030f78c8 R08: ffffffff821b7723 R09: 1ffffd40002bf050 R10: dffffc0000000000 R11: fffff940002bf051 R12: 00fff0000000493d R13: 0000000000000000 R14: 0000000000001000 R15: 0000000000006159 FS: 00007f4bea01e6c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe06df2c48 CR3: 000000006cc52000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400